On 6/20/2011 8:44 PM, Nilton Paulo wrote: > Hi, everybody: > Into my code, I am trying to set sample ratio as half, for example, same as > written bellow: > osg::ref_ptr<osg::Node> model3ds = > osgDB::readNodeFile("C:\\OpenSceneGraph-2.8.0\\Z_File_To_Test\\Casa_Pronta.3DS"); > osgUtil::Simplifier simplifier; > simplifier.setSampleRatio(0.5); > model3ds->accept(simplifier); > viewer.setSceneData(model3ds); > But it stays in loop into the line "model3ds->accept(simplifier);" and does > not return... > Does anybody have used "accept(simplifier)" and could help me undertanding > what is happening?
http://www.rozengain.com/blog/2011/02/16/openscenegraph-level-of-detail-management/ Have you tried it on a known-good model like cow.osg? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org