• Advertisement

Archived

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

Making pie

This topic is 5505 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

What is a good way to plot a 2D pie. Is there any part of OpenGL that can make this easier for me?

Share this post


Link to post
Share on other sites
Advertisement
if i were you, i''d create a triangle fan and set the
vertex colors accordingly

-eldee
;another space monkey;
[ Forced Evolution Studios ]


::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

Share this post


Link to post
Share on other sites
Great idea. I should have thought of that. The only problem is that I want 20 divisions, and I''d have to draw a circle with 20 straight lines, otherwise a triangle fan would probably look a little weird in a circle that is more detailed than it.

Share this post


Link to post
Share on other sites

  • Advertisement