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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to