just found where the problem is:
Viewer.cpp, line 1023:  inside viewer.updateTraversals

  if (_cameraManipulator.valid())
    {
        setFusionDistance( getCameraManipulator()->getFusionDistanceMode(),
                            getCameraManipulator()->getFusionDistanceValue() );

        _camera->setViewMatrix(_cameraManipulator->getInverseMatrix());
    }

So, at each frame the camera's matrix is overwritten by a new matrix which is 
taken from MatrixManipulator.

I still wonder why viewer doesn't render anything at all (black image) if no 
MatrixManipulator is set.

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





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

Reply via email to