[osg-users] Related to osg lines

Rambabu Repaka ramboram488 at gmail.com
Tue Apr 18 02:22:42 PDT 2017

Hi,Iam drawing lines using the following code in osg 
     LineSymbol* line = style.getOrCreate<LineSymbol>();
     line->stroke()->color() = Color(Color::Black, 0.5f);
     line->stroke()->width() = 4.5f;
     line->tessellationSize() = 5;
     line->stroke()->widthUnits() = Units::METERS;
How to add texture image to these Lines ?


Thank you!


Read this topic online here:

More information about the osg-users mailing list