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
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
2 matches
Mail list logo