If I want to have x levels of detail, Does that mean I have to allocate x times more memory than I don't use a LOD method? That'll be a large burden to the memory. Is there any method to optimize this situation?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge Lages Sent: Wednesday, May 24, 2006 8:02 PM To: osg users Subject: Re: [osg-users] looking for help---osg::LOD On 5/24/06, Shuxing Xiao <[EMAIL PROTECTED]> wrote: > For example: I want to attain the following effect: > I can use the method osg::TessellationHints:: setDetailRatio to adjust the > "numSegments" when drawing a sphere, how can I set different "numSegments" > for spheres in different levels? > > Do I have to create a LOD group node and add some spheres of different > "numSegments" to this LOD node. I mean, do I have to add several nodes > containing several spheres to a lod node to simulate one sphere? > Yes, it's the way LOD works, you add to the LOD node for exemple 5 spheres, the first one is not detailed, the second one more detailed... And the last one is the most detailed. The LOD node will choose the best sphere to render depending on the viewer distance. -- Serge Lages http://www.magrathea-engine.org _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
