Hey,

On Thu, Mar 22, 2012 at 7:03 PM, Hamm, Brandon
<[email protected]> wrote:
> 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.

Thanks. This seems to be exactly what I'm looking for.

>
> Brandon Hamm


I have a general follow up question about osgText. I'd like to draw
the text along a path. I thought a good way to do this would have been
to rotate the text character by character. So I'd create an osgText
object for each character of text, and position/align them along the
path... but this doesn't seem to preserve spacing between characters
(this is expected, but I don't really know how to get around it), and
the space character itself (" ") as an individual osgText object seems
to have a width of zero (calculated with osg::Drawable::getBound()).

* Is the approach I'm taking a 'good' one? If not, what would be a
better methodology?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to