Hi Sebastien,
The Camera::setRenderOrder(RenderOrder,int) method controls the
rendering order that cameras are rendering in. If you have just one
camera active per view then you'd use something like:
v1-getCamera()-setRenderOrder(osg::Camera::PRE_RENDER);
Thanks Robert,
Using -setRenderOrder() does fix the problem, but only partially.
Now the rendering of overlapping viewports is displayed correctly, but
the mouse input events still go to the first added view.
Actually, the composite viewer process events in the order of cameras of
the
Hi Sebastien,
You can disable whether a camera allows event focus using
Camera::setAllowEventFocus
In general if you have an app that has overlapping viewports then I
would tend to think perhaps separate views is not the most appropriate
usage of the viewer, perhaps using slave cameras (that has
3 matches
Mail list logo