Hi J-S,

On 23/09/11 19:40 , Jean-Sébastien Guay wrote:
> You don't attach a camera manipulator to a camera, but to an osgViewer::View. 
> So the trick
> is to tell the right camera to respond to user input, and the other(s) not to.
> 
>   camera->setAllowEventFocus(true or false);
> 
> This may only work with slave cameras, perhaps not with in-scene-graph RTT 
> cameras, I
> don't know. I've used it with slave cameras, where the RTT camera would 
> respond to input,
> and the final draw camera (which draws a quad with the texture and shaders) 
> would not.

Thanks for the hint.  I did discover the 'setAllowEventFocus' but that didn't 
quite do it
with the in-scene camera.

I'll try with a slave camera instead.

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

Reply via email to