Hi Michael, On 20 October 2012 09:59, michael kapelko <korn...@gmail.com> wrote: > Does OSG have some sort of material files that can be applied to the same > mesh? > So far I've looked into osgt files and they store both mesh and > material inside one file.
The OSG doesn't have a specific "material" file, and there isn't a formal "material" concept in the OSG. The closest equivilant is the OSG mapping to OpenGL state that is encapsulated on osg::StateSet. I guess you could write an an osg::StateSet to ascii file and read this back in using the osgDB::writeObjectFile(..) and osgDB::readObjectFile(..) functions. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org