View Full Version : How to draw an Arc?
12-11-2005, 12:40 PM
Hi all, I am new to openGL having only used GDI+ before. It appears that the way to draw an Arc is to break it up in small line segments, is this the correct way?
May be there is a method that I have missed, I am programming a 3D cad system.
12-12-2005, 01:06 AM
OpenGL does not have support for circles or arcs, even though GLU has some support for disks and so on.
One way is as you say to break it up in smaller line segments yourself, and if you just want an arc that is probably the best way, another way is to use the bezier/spline curves in GLU to render your arc.
12-12-2005, 05:33 AM
Thanks for clearing up this situation
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.