PDA

View Full Version : how to draw a piece of pizza?



jyoung77
11-21-2005, 06:09 PM
Hi,

Can someone show me how to draw a piece of pizza? gluPartialDisk() seems to only draw the top (or bottome) face of a pizza, i.e. a piece of pizza without thickness. How to extrude the 2-D piece of pizza into 3-D, which has thickness? Thanks for any advise.

Tony

11-21-2005, 06:16 PM
If it were me, and I needed an extruded slice in a hurry, I'd just whip out the geometry myself. Like, create a 45 degree arc of a circle, and with the origin, duplicate the whole thing, move them apart by the desried thickness, then stitch the two sides together with a triangle strip. :)