Cinder 0.9 => How to use glLineStipple() and GL_LINE_STIPPLE

Hello everyone, I am a beginner. I am learning this example.

cinder 0.9, how to use glLineStipple () and GL_LINE_STIPPLE?

http://www.cowlumbus.nl/forum/Polyline2TriMeshTest.zip

https://forum.libcinder.org/topic/smooth-thick-lines-using-geometry-shader

thank you very much…

Hi, and welcome!

GL_LINE_STIPPLE is deprecated OpenGL. There is no way to do this in Cinder v0.9. That’s not Cinder’s fault, by the way, it’s a choice made by the Khronos Group.

Drawing lines is hard. Drawing stippled lines is even harder. You can try using a (1D) texture.

-Paul