|
发表于 2011-6-13 21:09:27
|
显示全部楼层
目前,我的是通过这种方式:
d.makeLookAt(boundingSphere._center+osg::Vec3( 0.0,0.0f,3.5f * boundingSphere._radius),boundingSphere._center,osg::Vec3(0.0f,1.0f,0.0f));
mViewer->getCameraManipulator()->setByInverseMatrix(d);
俯视图。其他的可类推。 |
|