Skip to content

3D draw order incorrect with transparent surfaces #3410

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

Closed
slishak opened this issue Jan 7, 2019 · 3 comments
Closed

3D draw order incorrect with transparent surfaces #3410

slishak opened this issue Jan 7, 2019 · 3 comments

Comments

@slishak
Copy link

slishak commented Jan 7, 2019

https://codepen.io/anon/pen/pqVVyz

Setting all trace opacities in the above codepen to 1, all surfaces and scatter3ds are drawn in the correct order (when looking from above I can only see the blue surface, when looking from below only the red surface).
image

Setting the opacities to 0.999, the draw order seems solely determined by the order in which the traces were defined (so the red surface, which is defined first, is always occluded by the blue surface and all scatter3ds).
image

Transparent lines with opaque surfaces seem to be drawn correctly.

@etpinard
Copy link
Contributor

etpinard commented Jan 7, 2019

Essentially a duplicate of #3243

Thanks for the very clear report!

@slishak
Copy link
Author

slishak commented Jan 7, 2019

Ah sorry, didn't find that open issue! :)

@etpinard
Copy link
Contributor

etpinard commented Jan 7, 2019

No worries!

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

No branches or pull requests

2 participants