On 9/15/2011 3:15 AM, Martin Haffner wrote:
Hi,thanks for your answer. "noRotation" works, but for some reason he always makes tri strips, which I want to avoid. I tried this: Code: osgDB::ReaderWriter::ReaderWriter::Options* options = new osgDB::ReaderWriter::ReaderWriter::Options; options->setOptionString("noRotation noTriStripPolygons"); But he still uses tri strips. Is it correct to pass all options (separated by spaces) to setOptionString()? Anyone has an idea why he still uses tri strips?
Separated by a space should work, I'd think, but how the option string is parsed is plugin-specific.
Why don't you set a breakpoint in src\osgPlugins\obj\ReaderWriterOBJ.cpp and see what happens for it checks for this option? Search the source to find the appropriate line for your breakpoint.
-Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

