I have an OSG app that can display city names @ a given lat/lon on an ellipsoid model of the earth created with osgdem. I want to extend this a bit in two ways. First, I want to control when a given city pops up into view. Second I want to fade the text in when that threshold has been reached.
First question: How do I trigger text to show or hide? I've considered using the camera altitude above the earth as the reference point and fade a given city name in when the camera reaches this altitude. Sound reasonable? Second question: How do I fade the text in? Do I use a node callback?
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
