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…
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.