Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect rendering of image/interpolated heatmap in 3D #3066

Open
ffreyer opened this issue Jul 14, 2023 · 0 comments
Open

Incorrect rendering of image/interpolated heatmap in 3D #3066

ffreyer opened this issue Jul 14, 2023 · 0 comments
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. rendering typically backend specific

Comments

@ffreyer
Copy link
Collaborator

ffreyer commented Jul 14, 2023

Same issue as #2889, but with image/interpolated heatmaps. This does not get solved by #2959.

 f, a, p = image(-2..2, -1..1, rand(100, 100); axis = (; type = LScene))

With interpolation we need to apply an image to a rectangle mesh. This works fine in Cairo as long as no perspective projection is present. If perspective projection is included we can no longer encode the transformation in a CairoMatrix (a 2x3 matrix which can include translation, scaling, rotation and sheering).

This is effectively the same problem as we have with textured meshes and lighting in CairoMakie. (Is there no issue for this?) The solution will probably to either support #1880 better or, more likely, to write a small CPU rasterizer for meshes.

@ffreyer ffreyer added bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. labels Jul 14, 2023
@ffreyer ffreyer added the rendering typically backend specific label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. rendering typically backend specific
Projects
None yet
Development

No branches or pull requests

1 participant