Hi, 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? > litingbaotou > 2007-06-11 > ------------------------------------------------------------------------ > > _______________________________________________ > osg-users mailing list > osg-users@openscenegraph.net > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ -- ---------------------------------------------------------------- Marcus Fritzen E-mail: [EMAIL PROTECTED] University Koblenz Mobil: +491786867360 Triererstr. 105, 56072 Koblenz, HIWI FB4 Herr Jackel ---------------------------------------------------------------- _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/