Jump to content
  • Advertisement
Sign in to follow this  
korobkin

OpenGL Stippled curves - 2D

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

Hello, dudes! My question is how to draw a curve in openGL using a stippling pattern. More specifically: i write an app that presents 2D graphs that consist of short line segments. And i wish to present multiple graphs on the same plot using different line patterns. The problem is that the segments are shorter than the pattern (hence use of glLineStipple does not help me)and i do not wish to reduce the number of segments in order not to screw up the smoothness of the curve. When Matlab plots a curve using a dot-dash pattern - the dashes are curved themselves. That's, actually what i want. Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!