See the setCoordinateFrameCallback() and possible the setHomePosition() methods. The TrackballManipulator defaults to z up, but you can set it to be whatever you wish. -Paul
> > Hi. Does anyone know if the osgGA::TrackballManipulator > re-orient the xyz axes to be y Up, and z positive into the > screen? Through the use of some sort of hidden projection? > I can't find any documentation on this at all but when I get > the manipulator's view matrix, pull out the translation > vector and add to the Z value and finally put the rotation > matrix & the updated translation vector back together, my > scene moves up or down and NOT into or away from the scene. > When I alter the Y value, I move into or away from the scene. > X works as expected. > > This is very confusing for a newbie. Thx!!! > > -- > Sincerely, Allen > Senior Software Engineer > ITT-CAS, Inc > 111 Research Blvd > Madison, AL 35758 > Ps 34:5 "I sought the Lord, and he heard me; and he delivered > me from all my fears" > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce > negraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

