Jump to content
  • Advertisement

Archived

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

JasonDav

Drawing curves

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

Is there a simple openGl function for drawing curves on a 2D plane? I know a curve can be simulated by drawing hundreds of small lines, but this seems tedious. I know there are complicated functions for drawing bezier curves, but they are not necessary for what I am trying to do. Thanx

Share this post


Link to post
Share on other sites
Advertisement
You could try drawing a sphere. Since you are working on a 2D plane, then the sphere wouldn''t appear in 3D.

However, I am faced with an identical problem, and I have elected to go with the route of many small lines. If someone has a better way of doing this, I would love to hear it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!