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

Meshes rotating with camera #444

Closed
kephale opened this issue May 30, 2023 · 4 comments · Fixed by #500
Closed

Meshes rotating with camera #444

kephale opened this issue May 30, 2023 · 4 comments · Fixed by #500
Labels
1.0.0 1.0.0 release
Milestone

Comments

@kephale
Copy link
Member

kephale commented May 30, 2023

The meshes in Show Segmentations demo seem to rotate with the camera

image

After rotating a little bit

image
@kephale kephale added the 1.0.0 1.0.0 release label Jun 10, 2023
@kephale
Copy link
Member Author

kephale commented Jun 13, 2023

IIRC, @skalarproduktraum we had this issue before

@kephale
Copy link
Member Author

kephale commented Jun 14, 2023

This one really confuses me. Why does this only happen for the meshes from Show Segmentations but not CREMI?

image image

@skalarproduktraum
Copy link
Member

Hah! This is a fun one! There's nothing wrong here with transformations - the objects just have the wrong vertex order, so inside is outside. And as they are round, it looks like they're turning when you're moving around. Nice huh? 😂

@skalarproduktraum
Copy link
Member

Can be solved btw by setting isoSurfaceMesh.material().setCullingMode(Material.CullingMode.Front); in the demo.

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

Successfully merging a pull request may close this issue.

3 participants