Preet,

Take a look at the osgtext example.  There's a setBackdropType() member
function of osgText::Text that you can call to set a backdrop type of
osgText::Text::OUTLINE.  You can specify the color of the outline using
the member function setBackdropColor.

Brandon Hamm


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Preet
Sent: Thursday, March 22, 2012 4:44 PM
To: OpenSceneGraph Users
Subject: [osg-users] Creating an 'outline' effect in osgText?

Hey all,

I'm trying to create an outline effect with osgText. Here's an example
of what I'm trying to accomplish:
http://gimpology.com/uploads/3_8_8.png

How can I get a similar effect?


Regards,

Preet
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to