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

marching_cubes with color from array #427

Closed
sTamaroTum opened this issue Aug 3, 2023 · 4 comments
Closed

marching_cubes with color from array #427

sTamaroTum opened this issue Aug 3, 2023 · 4 comments
Assignees

Comments

@sTamaroTum
Copy link

Hi, is it possible to give a color to the iso surfaces that come out of k3d.marching_cubes(A) based on an array with the same dimensions as A? Right now I could only set a uniform color. Thanks.

@artur-trzesiok
Copy link
Collaborator

I like that idea :)

@artur-trzesiok
Copy link
Collaborator

image
Will be available in next release :) - thanks for inspiration!

@artur-trzesiok
Copy link
Collaborator

@sTamaroTum
Copy link
Author

Hi! Thanks a lot for implementing this, it is a nice feature. When I tried it I was a bit confused, since the velocity colors seem to be on different coordinates than what I expected.

To double-check, I tried marching cubes on an array with a certain level x, and then I asked for a color attribute using the same array. I would expect the color to be uniform and equal to x, but, it is not. Could this be? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants