why geode==null,please read my following codes.Thanks。

Xiao Han xhgis at 163.com
Mon Nov 16 20:37:12 PST 2009


Hi,everyone,

Please why gn==null in following codes?

"
                osgViewer::Viewer* viewer=new osgViewer::Viewer();
	osg::Group*root= new osg::Group();
	osg::Node*node=new osg::Node();
	node=osgDB::readNodeFile("road_demimg.ive");//cow.osg");
	osg::Geode* gn=dynamic_cast<osg::Geode*>(node);
"
Thank you!

Cheers,
Xiaohan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19660#19660







More information about the osg-users mailing list