PDA

View Full Version : Implicit suface rendering Optimisations



Auto
04-20-2002, 01:27 PM
Hi,

Can anyone suggest the fastest methond for drawing Marching cubes derived triangles?
To clarify: geometry is as GL_TRIANGLES, and changes every frame... is it worth creating a display list for every frame or is this going to cost me more that immediate mode drawing? - Also Is it possible to do vertex arrays with a dynamic number of elements? - as the triangle count varies frame to frame also....

Thanks.

Bob
04-21-2002, 05:45 AM
Creating displaylists once per frame is bad, and will most certainly not improve anything compared to immediate mode. And yes, it's possible to create vertex arrays with dynamic number of vertices. After all, OpenGL doesn't care about how large block of memory you allocated, only the number of vertices you tell it to draw. Just make sure you keep your block of memory large enough to hold the vertices you want to draw.

Auto
04-22-2002, 02:18 AM
Thanks http://www.opengl.org/discussion_boards/ubb/smile.gif