Just curious... are the GLU objects (sphere, disk, etc.) accelerated via display lists, or as vertex buffer objects, or anything? I've been using them in several cases, but was wondering if I'm suffering for it or not.
Thanks.
Very good question, I am curious myself. What I have been doing is putting the GLU objects in a display list myself, as follows:
GL11.glNewList(GL_ENEMY, GL11.GL_COMPILE);
sphere.setTextureFlag(true);
sphere.draw(radius, 8,8);
GL11.glEndList();
This will for sure put the objects in video memory.
Yeah, I've been wondering if I needed to do the same thing or not.
GLU is implemented in java and is part of the source that you can download. Looked at it for 2 secs and it seems it uses glVertex, glNormal etc. So it is dog slow :) Puting it in a display list is defenetly a good idee :D