Thanks! This clears up my documentation a little. -Paul
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Osfield > Sent: Thursday, March 29, 2007 2:09 AM > To: osg users > Subject: Re: [osg-users] osgText font resolution > > Hi Paul, > > One osgText::Font can has an internal map of font size to > glyphMap so is able to handle two different resolutions at > once. It will mean that you'll have may have two entries in > the final font textures, but only if the same character is > used. The Font class only assigns to texture what characters > and at what resolution it needs, so if the two sizes don't > overlap in characters used you won't have any overlap and no > double entries. > > Robert. > > On 3/28/07, Paul Martz <[EMAIL PROTECTED]> wrote: > > > > > > Hi folks -- > > > > Suppose I've created a Font object and set it as the font > for two Text > > objects. I assume that the two Text objects now share the same font > > texture map. > > > > Next, suppose I setFontResolution( 128, 128 ) on just one > of the Text > > objects, leaving the other Text object set to its default font > > resolution: ( 32, 32 ). > > > > When I render this, sure enough, I get one Text object with > nice crisp > > text and the other with slightly blurry text. > > > > Now here's my question: What's happening under the hood? > Are the two > > Text objects no longer sharing the same font texture map? Or is the > > texture map being regenerated twice per frame at different > > resolutions? Or is something else different happening? > > > > Thanks, > > > > Paul Martz > > Skew Matrix Software LLC > > http://www.skew-matrix.com > > 303 859 9466 > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
