HI Guy,

By default the slave camera's view and projection matrices are set up
each from by multiplying the master camera's view matrix by and the
slave's view offset matrix, and the master cameras projection matrix
by the slaves projection offset matrix respectively.  To set the
projection matrix one typically just sets the projection offset
appropriately.  You set this value when you add the slave camera into
the view.

However, if you don't want coupling between slave camera's view and
projection matrices with the master then set the slave Camera's
ReferenceFrame to ABSOLUTE_RF, rather then the default of RELATIVE_RF.

Robert.

On Mon, May 4, 2009 at 5:15 PM, Guy Volckaert <[email protected]> wrote:
> Hi,
>
> I want to change the perspective of a slave camera but I can't seem to make 
> it work (so far). I tried changing the "master" camera but that affects ALL 
> slave cameras which is not what I want to do.  Is there a way to change the 
> perspective view of a single slave camera? Do I need to switch to a composite 
> viewer to acheive this?
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11303#11303
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to