Hi YangXiao, This is basic debugging... is model_geode a NULL??
Also why the word geode in the ptr, readNodeFile returns Node* not Geode*. Most scene graphs will not have a Geode at the top of the scene graph. Since you don't supply the offending code we can't really guess at what mistakes you've actually made. Robert. 2008/11/9 YangXiao <[EMAIL PROTECTED]>: > Hi everyone > I write a test.osg file and use osgviewer test.osg .It's OK. > But When i osgDB::readNodeFile read a *.osg file and -> > viewer->setSceneData(model_geode); > return viewer->run(); > It's a runtime error Below. > > Best Regards. > YangXiao > > > > > ________________________________ > 雅虎邮箱,您的终生邮箱! > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

