Re: [osg-users] Setting camera Viewmatrix with TrackBallManipulator Matrix gives nothing but black screen

2010-12-16 Thread Trajce (Nick) Nikolov
if this is your code (with all the comments) then here is what you should do: - forget about your osg::Camera* camera = new Camera; // there is already a Camera attached to the View - use view.getCamera()->setProjectionMatrixAsPerspective(45,1,1,1000); - no need to attach any CameraManipulator if

[osg-users] Setting camera Viewmatrix with TrackBallManipulator Matrix gives nothing but black screen

2010-12-15 Thread Bart Jan Schuit
Hi, I'm trying to setup some cameras without a manipulator. When I assign a Trackballmanipulator on the vies, I get the cow projected on the screen. But as soon as I manually setup the cameras, I get a completely black screen. I extract eye, center and up from Tman (Trackballmanipulator) by Tma