Hi, Terry there are OVERRIDE flag when setting state attributes for this use case
Cheers. 23.01.2013, 00:10, "Terry Welsh" <[email protected]>: > Thanks for the reply, Farshid. In my case, I sometimes apply > osg::Materials higher in my scene and the osg::Materials in my > exported models get in the way. I'll just keep using a modified > version of OSG Exp so I can export osg::Textures without > osg::Materials. > - Terry > >> Message: 3 >> Date: Tue, 22 Jan 2013 10:31:17 -0800 >> From: Farshid Lashkari <[email protected]> >> To: OpenSceneGraph Submissions >> <[email protected]> >> Subject: Re: [osg-submissions] OSGExp export texture without material >> Message-ID: >> <CALqoK0dVRj6iVBw0BeNm5wyv_+GSysFq9=4oj2wtg_0j7xe...@mail.gmail.com> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Hi Terry, >> >> Thanks, I've committed the c_str() fix. I did not commit your other change >> however. The export materials option is actually referring to 3ds Max >> materials (i.e. osg::StateSet), not osg::Material objects. So your change >> would break the expected behavior of that option. If you need textures and >> other stateset related attributes exported, then you should leave the >> export materials option enabled. I realize the name of this option is quite >> misleading. It should probably be made more clear in the export dialog. >> >> Cheers, >> Farshid > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
