Did you remove the camera manipulator for the second view?
"It is only necessary to make war with five things: with the maladies of the body, with the ignorances of the mind, with the passions of the body, with the seditions of the city, with the discords of families." - Tacitus "The desire for safety stands against every great and noble enterprise." - Tacitus "Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin "Numquam ponenda est pluralitas sine necessitate." - William of Ockham On Wed, Dec 17, 2008 at 8:25 PM, olfat ibrahim <olfat_ibra...@yahoo.com> wrote: > hello : > > i need to synchronize two view windows . > i created two views and one key switch Manipulator > > i want as i walk in one window my view synchronized in the other window with > solaly differ view. > > this is my try but it is drive in the first view but no moves happened in the > second view : > > while( !viewer.done() || !viewer1.done() ) > { > viewer.getCamera()->getViewMatrixAsLookAt(eye, center, up); > viewer1.getCamera()->setViewMatrixAsLookAt(eye, center, up); > > viewer.frame(); > viewer1.frame(); > } > > what iam doing wrong ? > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org