The comments in Text.cpp say "for linear interpolation to look
correct for colors and imitate what OpenGL does, we need to convert
over to Hue-Saturation-Value and linear interpolate in that space."
It's possible this is in the OpenGL spec, but I've never heard of it
and I've never seen an OpenGL implementation actually do this. I
think we should simplify things and just interpolate in RGB space,
which is probably the correct way to go.
Alternatives are:
1. to never specify a color that is exactly gray and give it a little
of the same hue as your other color.
2. to make Text.cpp a little smarter in computing the hues if one or
more of the specified colors are gray.
Thoughts? I think I can fix up the code pretty fast once we agree on
a solution.
--
Terry Welsh / mogumbo 'at' gmail.com
www.reallyslick.com / www.mogumbo.com
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org