PDA

View Full Version : Extruding gluPartialDisk()



aurora
02-28-2002, 08:05 AM
I'm trying to create a pie graph that displays wedges as the pie slices. I currently use gluPartialDisk() to do this. But now I want to give it a slight 3d look by extruding the wedge up and scaling the cap down a bit. Since gluPartialDisk() uses a quadratic formula to calc the polygon I am not sure how or if I can extrude it. Does anybody know a way to do so.
If not I created an alg. to create a mulitfaceted polygon based wedge which I can extrude but I would like to use glu if possible.

TIA
Aurora.