• Advertisement

Archived

This topic is now archived and is closed to further replies.

3D Pie Slice's

This topic is 5506 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I need to create a program which draws a 3D pie chart, how can i create 3D Pie slices using OpenGL? I''ve tried using gluPartialDisk but the disk is flat, could i extrude this is any way?? Help me please as this is for a uni project which i need to pass!! Thanks, Fimble McCheese;

Share this post


Link to post
Share on other sites
Advertisement
If you wanted to do it using quadrics, you can use a cylinder with a series of either partial disks or a triangle fan on top of it.

Hope that helps a little.

Share this post


Link to post
Share on other sites

Thanks for the help,
I forgot to mention though that i would like to change the height for each slice of the pie to show increase, decrease.

Fimble McCheese;

Share this post


Link to post
Share on other sites

  • Advertisement