Thanks  Robert.
   I confirm model_geode a not NULL,When i convert my model.osg-->model.IVE   
return viewer->run() is OK. Why?
   
  

Robert Osfield <[EMAIL PROTECTED]> 写道:
  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 :
> 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


       
---------------------------------
 雅虎邮箱,您的终生邮箱!
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to