Marcus Fritzen wrote: > for me osgDB::writeNodeFile( std::string name ) works fine. How do you > attach the texture to your node? With a stateset?
> litingbaotou schrieb: >> I use OSG V1.0. I want to write a node as an osg file, I tried >> osgDB::Registry::instance()->writeNodeImplementation(), >> osgDB::Registry::instance()->writeNode() and osgDB::writeNodeFile(), >> and it can not wirte the textures. So when I read the exported osg >> file, it has no textures. >> I want to write a node with textures, how can I do? The osg file format does not inline textures if that's what you want. AFAIK only the .ive format supports inlined textures. /Ulrich _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
