[osg-users] Related to osg lines

龚来恩 8802661 at qq.com
Tue Apr 18 02:37:24 PDT 2017


Hello,
    I saw these codes in OSGEarth project.

Glen



8802661 at qq.com
 
From: Robert Osfield
Date: 2017-04-18 17:26
To: OpenSceneGraph Users
Subject: Re: [osg-users] Related to osg lines
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.
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170418/e3a8523e/attachment-0002.htm>


More information about the osg-users mailing list