Hi there, I've experimented with the simplifier, but am not using it.
I found the setSampleRatio() method affects how coarse or fine a result you get. The simplification with a sample ratio less that 1.0 appears to be destructive (i.e. Geometry out does not equal Geometry in). So far I've not found the right settings to be beneficial for my needs (which is reduction of memory consumption while keeping the mesh the same or similar). Another way of reducing the vertex count in your scene is to use the Optimizer. Here I have found that using the Optimizer with the options MERGE_GEOMETRY, CHECK_GEOMETRY and TRISTRIP_GEOMETRY can significantly reduce the number of vertices/primitives in each Geometry object, while giving you essentially the same mesh out. On Mon, Sep 21, 2009 at 10:10 AM, Vincent Bourdier < [email protected]> wrote: > Up ? > > No one does osg simplifications ? > > Thanks, > Vincent. > > 2009/9/17 Vincent Bourdier <[email protected]> > > Hi all, >> >> Using the osg simplifier on a geometry, I'm just surprised to see that >> there is no way to set a level of simplification or something like that. >> Maybe I didn't saw it, but for the moment I just found >> >> _sm->setDoTriStrip(true); //what for ? do triangle strip are more >> optimized ? >> _sm->setSampleRatio(?); //what does it mean ? what does it changes ? >> ... >> >> How can I control the simplification level ? >> Is this simplifier a destructive one ? (can deform the geometry) >> >> Thanks. >> >> Regards, >> Vincent. >> >> >> > > _______________________________________________ > 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

