Trajce Nikolov NICK wrote:
> 
> since you dont need manipulator for the map view you can only set the 
> viewmatrix. Something like
> 
> view->getCamera()->setViewMatrixAsLookAt(....) and you make a top down view
> 


Thanks Nick,
but I think I have to copy/paste part of the 
CameraManipulator::computeHomePosition(const osg::Camera *camera, bool 
useBoundingBox) code then, at least to calculate eye and center in the correct 
way. It would have been nice to have that code available without a manipulator. 
Anyway I solved that problem, thanks again.

Gianni

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





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

Reply via email to