Hi YT, This type of feature is a little complicated to implement. FadeText has to track the bounding boxes in eye space of the text then sort then and look for overlapping boxes then signal fading in/out accordingly. I'm afraid the source will be the best place to learn about how to do it.
Robert. On Thu, Aug 19, 2010 at 5:34 AM, Yun-Ta Tsai <[email protected]> wrote: > Hi, > > I am trying to figure out a best practice to implement such feature: > displaying flickr oictures on the Earth globe according to their geo > locations. When the globe turns / zoom, it will reveal or occlude the images > with fade-in/out effect. > > I am trying to follow look for the solution, yet only FadeText example seems > to be close. What would be the best way to do it? My first though is to have > bunch of Quad/Billboard drawable and pin on the Ellipsoid coordinate. Then > assign ClusterCullingCallback to each drawable. For fade-in/out, perhaps > MultiTextureControl would be the best way to go, but I am not sure how to > trigger it when culling happens. > > Thanks for your help. > -YT > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=30911#30911 > > > > > > _______________________________________________ > 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

