Re: [osg-users] Help with Positiong a Camera

2008-11-06 Thread Robert Osfield
Hi Allan, Do you want use the standard camera manipualators but with a set home position, or are you looking for completely custom management of the camera's view position? If you want the later than you'll want to not bother with any camera manipualtor and just set the viewer's master camera's o

Re: [osg-users] Help with Positiong a Camera

2008-11-05 Thread Dusten Sobotta
http://stderr.org/doc/openscenegraph-doc/openscenegraph/classosg_1_1Camera.htmlprovides the method for doing just that void setViewMatrixAsLookAt(const osg::Vec3

[osg-users] Help with Positiong a Camera

2008-11-05 Thread Allen
Hi, I'm new to OSG and am in need of assistance with how to position a camera in a scene. I am using OSG 2.6.1 on linux (centos4). Here's my setting: 1) I've setup my scene (only one node - terrain). 2) I've setup my 1 and only 1 camera in my only viewer by calling: setProjectionMatrixAsPersp