PDA

View Full Version : Rendering Numerous Quadric Help



Jedimaster
03-18-2008, 01:00 AM
Hi, everyong , I want to render numerous quadric in opengl, I have own the radius, and area, the normal of each quadric, so how can I draw these quadrics efficiently? Because the number is very large, at least 800,000, so the immediately mode is useless, I prepare to hack the GLU library to see how it generate quadirc mesh. But this seems that it's a worst choose...

So How can I ? Thanks for your advice!

eggzcape
03-18-2008, 04:55 AM
You should try to use a display list, or a vertex array.

-NiCo-
03-18-2008, 05:22 AM
You can take a look at the pseudo instancing (http://http.download.nvidia.com/developer/SDK/Individual_Samples/3dgraphics_samples.html) demo from Nvidia.