View Full Version : draw with opengl
how are you draw semicircle bei defining starpoint and endpoint or just a simple one
plasmonster
04-27-2004, 09:32 PM
Vivi,
this is one of those questions that seems easy to answer... at first. Questions: Is this in 2D or 3D? Does the winding order matter (cw or ccw)? Do the end points define the complete semi-circle?
In any case, there are quite a few steps involved in solving this one.
-NiCo-
04-29-2004, 11:22 AM
You might want to take a look at the GLU specification. You can find it at
http://www.opengl.org/documentation/specs/glu/glu1_3.pdf
It provides a simple implementation for drawing semi circles using gluPartialDisk.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.