Hi,

I have used osgText::FadeText for displaying some GIS lables.


I also want to use osg::Lod for displaying the FadeText in a certain distance 
away from viewer.


osg:OD* lod = new osg:od;
lod->setRangeMode(osg:OD:ISTANCE_FROM_EYE_POINT);
lod->addChild(textGeod,0,3000*1000);  //textGeod already attacting a FadeText 
which set fixed size to the screen.
root->addChild(lod.get());


I can not see the FadeText ,then I set

lod->addChild(textGeod,0,10000*1000); 


the FadeText is visible,but it is meaningless.


Do not know why,need help.

Thank you!

Cheers,
Lv

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41968#41968





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to