View Full Version : get vertices from gluSphere

David Doria
10-24-2008, 08:12 AM
Is there anyway to get the vertices that gluSphere would draw instead of having it actually draw the sphere?



10-24-2008, 09:01 AM
good question. but probably cant. it sends data to gpu inside the call itself.

10-24-2008, 09:11 AM
It is possible, but it would be probably easier to write a sphere generation routine yourself :) The source implementation for GLU is freely available, feel free to inspire yourself

10-24-2008, 01:27 PM
Zengar: It is possible ...

would be good to know how this magic works.