View Full Version : 3-D Pie Chart
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?
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.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.