View Full Version : Complex line style (2D graphics)
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
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.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.