Hi Patrick, On 11/02/2011 01:33 PM, Patrick Hartling wrote: > > Our current need is to be able to apply borders to the glyphs in order to > improve readability. I haven't been able to figure out how to do that with > OSG::TextTXFFace, but I may not have looked at the code thoroughly enough. > Borders are our starting point, and we may need to manipulate the glyphs > further in the future.
There is nothing built-in for that. The two usual tricks are to have the same text in a slightly bigger font and black right behind it, or to use a shader that samples around the point for points that are not in the font to define borders. >> As far as FTGL is concerned I'm somewhat indifferent about it, a downside >> is that is manages its own OpenGL state so is somewhat doing it's own >> thing besides OpenSG. Then again I don't know it well and it may have >> features that easily compensate for this? > > I see that as a downside as well. I don't yet know just how much of a problem > that will be. It's a definite downside. Another one is that FTGL is not a very widely used lib, so support for linux distros might be spotty. I've messed with FTGL in the past to make it less intrusive, but newer versions removed the interfaces that I needed for that (I didn't want to change the source). Not sure when I have the time to see if there are other ways to do it. Just my $.02 Dirk ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users