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/

Reply via email to