[osg-users] Related to osg lines

Robert Osfield robert.osfield at gmail.com
Tue Apr 18 02:26:41 PDT 2017


On 18 April 2017 at 10:22, Rambabu Repaka <ramboram488 at gmail.com> wrote:
> 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 ?

The OSG does not have any class called LineSymbol, so I can't see how
it's related ot the OSG.



More information about the osg-users mailing list