严重注意!!!以下设置必须在viewer.realize();之后,否则不起作用!!!! 设置相机的位置,可以通过CameraManipulator(一般是osgGA::TrackballManipulator)设置, 可以使用setTransformation设置 设置相机的其他参数,ViewMatrix,ProjectionMatrix,Viewport osg::Camera* c=viewer.getCamera(); c.setViewMatrix.... c.setProjectio