View Full Version : Circle in 3D space
Anish
08-17-2005, 04:55 AM
hi all,
Can any one help me to draw a circle in 3D space.
thanks,
anish
fast idea, draw a lot of points or small lines.
Draw your circle on one of the planes ((x,y) or (x,z) or (y,z)). Then you'll be able to use glTranslate and glRotate to move it.
For doing a circle, just approximate its vertices with a polygon (ex: dodecahedron with 12 edges). Needless to say, more you'll have edges and more it will look like a real circle.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.