Replies: 1 comment
-
That would be nice. If we generalize the Texture atlas, we should think about putting it into its own package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently it's possible to scatter an image, at least in GLMakie:
You can also use a vector of images to plot different images for each marker, which then ends up getting combined into one texture in GLMakie. (Either by using a GL_TEXTURE_2D_ARRAY or by packing images into a texture atlas.) This has a few problems:
These problems could be solved by adding a user facing sprite sheet/texture atlas. Some things that would be required/useful:
The plot signature could be
scatter(positions, marker = [1, 3, 7, 3, 4], atlas = my_texture_atlas)
.It might also be useful to extend this to
meshscatter
for scattering meshes with varying textures more easily.Beta Was this translation helpful? Give feedback.
All reactions