Shuxing Xiao 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?
The way I did it a while ago was to create one Shape (say a Sphere) and then create multiple ShapeDrawables with different TessellationHints settings and add those to a LOD. /ulrich _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
