hi all,
    When the secne is zoomed in or out ,I want to get the zoom scale.I do it 
like this:
    osg::Camera* camera= viewer.getCamera();
    osg::Matrix vm=camera->getViewMatrix();
    osg::Vec3 scale=vm.getScale();
 
    the result is that scale always equals to (1,1,1).What does this mean and 
how can I get the reall scale of the scene?
 
    thanks
 
best regards
 
forest
 
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to