View Full Version : sphere generate with out glu how

06-08-2005, 12:20 AM
how can i make a sphere with out using any of those toolkits ??? i found a tutorial but it was for directx i dont understand directx

06-08-2005, 02:39 AM
... but you could take out the math and draw the sphere with opengl.

Assume the sphere center at cx, cy, cz and a radius r.

a valid sphere point p(x, y, z) satisfies the condition

r = x + y + z

use this to draw a sphere.