Hi Peterakos,

The bulk of the OSG loaders assume that world coordinates have +ve Z
upwards, +ve Y north and +ve X to the east.

The majority Camera Manipulators assume the world has Z up as well,
then set up Camera's view matrix so the Z up aligns with vertical
access of the screen, +ve Y into screen and +ve X to right.

You can change the default viewing position in the camera manipulators
if you wish by use the setHomePosition(..) method, or avoid the use of
Camera manipulators and just set the viewer's Camera's view matrix
directly using any of the Camera::setUpView*() method.

Robert.

On 28 December 2012 20:06, Peterakos <hay...@gmail.com> wrote:
> Hello.
>
> Osg uses a coordinate system in which the +y axis goes into the screen
> and +z axis goes up.
> Does this default matrix affects the model matrix of each object on
> the scene or the view matrix of all the cameras ?
> I wish i could remove this behavior.
>
> thnx.
> _______________________________________________
> 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

Reply via email to