[vtkusers] Cluster of Points and Depth Pealing

Barth, Sebastian sebastian.barth at iosb.fraunhofer.de
Fri Jul 9 07:40:52 EDT 2010


Hello vtkusers,

I have a cluster of 2,000,000 points displayed by one actor and two other actors that display two planes (vtkPlaneSource) that cross that cloud of points. All actors are translucent.

To get a correct order of rendering (otherwise the cloud is rendered behind the planes), I have tried to use VTKs Death Pealing and the vtkDepthSortPolyData class. But both are too slow when rendering 2 million points.

Is there a faster way to solve my translucent order problem?
Where is the problem, modern computer games are doing it much faster?

The curious for me is that the actors are getting rendered correctly, if all are opaque or only the cloud actor is translucent. Then its points are in front or behind the opaque planes as expected.

I've attached three screenshots that show the problem (the difference is the opacity of the planes). The points are reduced to 100,000.

Hope you can help me.


Thank you and best regards,

Sebastian Barth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: almostInvisible.jpg
Type: image/jpeg
Size: 36976 bytes
Desc: almostInvisible.jpg
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100709/788ce9c8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: almostOpaque.jpg
Type: image/jpeg
Size: 28601 bytes
Desc: almostOpaque.jpg
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100709/788ce9c8/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Opaque.png
Type: image/png
Size: 75300 bytes
Desc: Opaque.png
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100709/788ce9c8/attachment.png>


More information about the vtkusers mailing list