[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!

Cheers,
Rambabu

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70773#70773








More information about the osg-users mailing list