I think you can use osgViewer slave cameras for this, with an identity
for the camera offsets. Then both slave cameras would be identical to
the master camera.
Examples of setting up slave cameras can be found in the osgViewer
source, as osgViewer::Viewer sets up slave cameras when attempting to
support multiple displays.
-Paul
David Glenn wrote:
Greetings All!
This I hope will be more straight forward and easier to answer than the first
question I asked.
BTW: Thanks!
Basically I have a window with two overlapping views. Both have there own tree.
one has some terrain on it and on top of that I have a view that has a tree
with all of the objects (plains, trains, etc that move around) the two views,
since they both appear as like one scene, have a camera that are at the same
spot in space and when I move the cameras around I want them to be able to move
together in sync like they where sharing the same camera manipulator.
If there where any examples if this in sample code, I must have missed it!
Can someone give me any guidance to do this?
...
Thank you!
Cheers,
D Glenn
------------------------
D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your
Desk!
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24313#24313
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org