[osg-users] RTT in a multichannel app

Robert Osfield robert.osfield at gmail.com
Wed Sep 26 09:05:16 PDT 2007


On 9/26/07, Dieter Pfeffer <dieter.pfeffer at nl.thalesgroup.com> wrote:
> ---- how can I set my rtt camera view matrix so that I have the same view
> offset ?

The same view offset as what?  The master camera?  One of the already
offset slaves?

For a RTT slave to have the same view matrix as the master simply use
an identity matrix.

If your RTT Camera is in the scene graph itself then just set its view
matrix to identity and then set the ReferenceFrame to RELATIVE_RF.

Robert.



More information about the osg-users mailing list