[vtkusers] fastest render method for spheres...?!

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Feb 4 13:12:34 EST 2010


On Thu, Feb 4, 2010 at 12:58 PM, Benjamin Frigan <
frigan at itap.physik.uni-stuttgart.de> wrote:

> I forgot to ask the following:
> I know that in OpenGL, when you render a large amount of objects, you
> can use something that is called "Backface Culling". Then, all faces
> that are facing away from the camera because they are always covered by
> faces that are facing towards the camera. Is this implemented in VTK by
> default or do I have to enable it somehow?
>
> I've read that VMD (apparently quite popular molecular visualizer) can
> handle thousands of molecules + connections without any problems, with
> high sphere resolution!!!
>
> VMD makes heavy use of GLSL code to accomplish that. I spent quite some
time working on Avogadro where we were very concerned about spheres and
cylinders. Using display lists/VBOs and fragment shaders you can massively
cut down the number of vertices in a scene.

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100204/5966e867/attachment.htm>


More information about the vtkusers mailing list