I am  not very familiar with but try searching for osgPango. It should have
various text effects

Nick


On Wed, Apr 16, 2014 at 6:53 PM, Peter Bako <osgfo...@tevs.eu> wrote:

> Hello!
>
> Does anyone have an idea, how to create osgText with border? for example
> white text with black border. I need this, because I want to make
> screenshots of scenes with texts but the background can be any color so the
> white text as I use it now, is not readable every time.
>
> My only idea is to create two osgText::text objects, one with normal font
> (white), one with bold (black) and put the black text a little bit behind
> the white. The problem is that the text is always facing to the camera eye
> (setAutoRotateToScreen(true)), so this wouldn't work.
> If there is no other solution, I can switch this option off.
>
> Thank you for your ideas.
>
> Cheers,
> Peter
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=58966#58966
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to