Hi Dieter,
On 6/21/07, Dieter Pfeffer <[EMAIL PROTECTED]> wrote:
I would like to switch from osgProducer::Viewer to osgViewer::Viewer (or
CompositeViewer).
I need three adjacent camera views with a 40 degree view offset (done before
- with Producer::camera::setOffset); and I need three independent camera
views with different scenes - therefore I thought to use CompositeViewer.
However I don't know how to set the three adjacent camera views.
In a next step I would like to use in one independent camera view the output
of the three adjacent cameras (render to texture).
Any hint how I can configure the three adjacent camera views ?
Is the osgprerender example a good starting point for rtt?
The osgcompositeviewer example has various code paths that illustrate
all of the above save for the RTT.
For RTT have a look at the osgdisortion example to see one can set up
the viewer to do RTT, or preprerender to RTT done within then scene
graph.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/