Thomas Alton
03-24-2009, 12:47 PM
I would like to draw a 3-D pie chart in OpenGL.
Do anybody know of any good tutorials on how to do it? Does it exist any free libraries that do this?
Ilian Dinev
03-24-2009, 01:57 PM
In a modeler, draw a pie-chart. See the coordinates of vertices, construct some simple funcs to create such coordinates. Choose a nice camera-position to start from, use gluLookAt that looks at vec3(0,0,0). Use the glBegin() way for starters to draw the triangles, with coordinates returned from that simple func that you created.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.