How can I render points in 3D such that they correctly occlude each other

2 views (last 30 days)
When I use plot3() to render points (using the OpenGL renderer, in hardware mode, with full hardware support), the occlusion of points by others doesn't correctly reflect their depth. In fact, by shifting the camera viewpoint slighlty, I can even get the occlusion to reverse, so points which were previously hidden become visible (example images attached). How can I get the figure rendering to respect the depth ordering of the points?

Answers (0)


Find more on Graphics Performance in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by