Hello,everyone! In following tutorial,I see how to implement a mechanism for reading osg resources -- such as images, osg and ive files, fonts, etc. -- from a virtual file system. http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/VFS I finish the code according to that tutorial--ReaderPhysFS.cpp!It can be compile and run right(having two files:osgdb_physfsd.dll,osgdb_physfs.dll).But when I read file,it is wrong!!The cessna.osg is the model of OSGData. Can you tell me why??Thank you! osgDB::Registry::instance()->addFileExtensionAlias("physfs","physfs"); osg::Group* root = new osg::Group(); std::string fileName = "cessna.osg"; osg::Node* node = osgDB::readNodeFile(fileName + ".physfs");
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

