[PyOpenGL-Users] Fastest way to draw many spheres
Brought to you by:
mcfletch
From: Mads I. <mad...@gm...> - 2011-01-25 16:56:58
|
Hi, We are developing a molecular modeling application which basically boils down to drawing of the order 10000-60000 spheres when viewing the larger system. So far we render spheres by adding a unit gluSphere to a display list and then scaling and positioning this appropriately for each atom in the system. I am aware that display lists are old-school. So my questions boils down to this: What is the defacto fastest way of rendering a sphere in a modern OpenGL framework? Best regards, Mads -- +--------------------------------------------------------------+ | Mads Ipsen, Scientific developer | +-------------------------------+------------------------------+ | QuantumWise A/S | phone: +45-29716388 | | Nørre Søgade 27A | www: www.quantumwise.com | | DK-1370 Copenhagen K, Denmark | email: mad...@gm... | +-------------------------------+------------------------------+ |