osg::ref_ptr<osg::Node> model1= osgDB::readNodeFile(path.toStdString());
model1->setDataVariance(osg::Object::DYNAMIC);
openscenegraph_3.4.1. Im curious if it works on your system.
osgDB::Options* opt = new osgDB::Options;
opt->setOptionString("noRotation");
osg::ref_ptr<osg::Node> node = osgDB::readNodeFile(pathToObjFile, opt);
repost in google group; It seems like my reply to the mailing list does not show up in google groups.
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
To answer my own question, not that I've joint the google group my replies by e-mail toshow up in the google group as well
osgDB::Options* opt = new osgDB::Options;
opt->setOptionString("DIFFUSE=0");
osg::ref_ptr<osg::Node> model1= osgDB::readNodeFile(path.toStdString(), opt);
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/424783f2-415d-4351-8bf7-83bc25d30936%40googlegroups.com.