On Tue, 2008-04-22 at 20:35 -0400, Lucas Goss wrote:
> I must be blind, but I can't figure out what is wrong with this small
> text example (attached). I wanted to load 3 fonts side by side to
> compare them, but the viewer only shows that last font that was
> loaded. I compared the code to the osgtext.cpp example and even
> stripped it down to just font loading and it worked fine, but it looks
> almost exactly like mine (which doesn't work, only shows one font).
> 
> The text example that is attached loads 3 different fonts, but it
> doesn't matter which font you use (you can use three of the same or
> even the null font it still only shows one line of text instead of 3).
> I just want to know, why does only one show up?

You're only calling ->setText on text, not on textSe and textMono.

On a related note: why not just use osgWidget and not worry about all
this placement stuff? :)

> Thanks,
> Lucas
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to