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.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.