Hi Terry,
After some more searching I found that there is already a BOUNDINGBOX
draw mode in osgText::Text. It draws an outline around the block of
text. It looks unfinished, though, because it can only draw with
colorMultiplier as the color and it has no extra margin. It's easy to
adapt this
l.com
www.reallyslick.com / www.mogumbo.com
>
> Message: 7
> Date: Tue, 21 Jul 2009 21:04:04 -0400
> From: Jean-S?bastien Guay
> Subject: Re: [osg-users] rectangle behind osgText
> To: OpenSceneGraph Users
> Message-ID: <4a666584.4080...@cm-labs.com>
> Content-Typ
Hi Terry,
Does OSG have any sort of convenience routine for drawing a
semi-transparent rectangle behind a block of osgText? This would make
text a little easier to read against distracting background imagery.
Not that I know of, but you're right, it's something that I have often
needed to do
Does OSG have any sort of convenience routine for drawing a
semi-transparent rectangle behind a block of osgText? This would make
text a little easier to read against distracting background imagery.
--
Terry Welsh / mogumbo 'at' gmail.com
www.reallyslick.com / www.mogumbo.com
_
4 matches
Mail list logo