View Full Version : Complex line style (2D graphics)

11-18-2004, 07:59 PM
I need to draw lines/curves using complex line style (pattern). Pattern is defined as bitmap. If someone knows how to do it, please help. Thanks.

11-19-2004, 12:32 AM
Hi !

If you can't use glLineStipple there isn't much you can do unless you want to render it yourself using line segments/points.


11-19-2004, 07:37 AM
you can enable texture mapping and map the texture onto the line. If you needed a dotted line for example your bitmap would have alpha samples of value 0 where the line should dissapear.