Hi Alex, On Thu, Aug 27, 2009 at 5:46 PM, Alex Malhao<franciskovi...@gmail.com> wrote: > I suppose that: > > > Code: > osg::Vec3 LookFrom, LookAt, Up; > > LookFrom = osg::Vec3(10,0,1); > LookAt = osg::Vec3(10,0,1); > Up = osg::Vec3(0,0,1); > > viewer.setHomePosition( LookFrom, LookAt, Up ); > > viewer.home(); > > > > will do the job. No?
Almost... have a re-read of my first reply for the tiny change required to the setHomePosition line. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org