Hi,

 

I've made a scene in 3ds-max and exported the scene to osg with OsgExp. It
works fine except for that the camera is not use when running the scene.

If I open the osg file I see that the camera transformation is in there. I
load the scene like this.

 

osg::Group* root = new osg::Group();

osg::Node* model = osgDB::readNodeFile("test.osg");

root->addChild(model);

viewer.setSceneData( root );

viewer.run()

 

Is there some special care that needs to be taken to make it use the camera
in the osg file?

 

Thanks,

Tomas

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to