Vertices from quadric

hello.

Is there a quick and easy way of whipping the vertices out of a gluSphere() for use by the rest of the program, or would I have to build my own sphere instead?

thankyou in advance etc etc…

Hi,

You can draw the sphere if feedback mode and read the vertice from the feedback buffer. You should use ortho mode and an identity modelview matrix and make sure the entire sphere fits the viewing frustum… Arguably it’s easier just to generate your own sphere.

-Ilkka

great. thanks a lot.