Ok, i must have missed that.

Thank you for all the help and keep up the good work!

regards,
David

On 5/15/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
On 5/15/06, David Johansson <[EMAIL PROTECTED]> wrote:
> Roger, Hi!
>
> Sorry about the long time to my response!
>
> I have tried osg::CameraNode, and it works, havent figured it out
> completley yet.
> What i need to find out is how to get them to use diffrent viewmatrix's..
> I want to be able to view different parts of a scenegraph in diffrent
> "windows"..
> When i use CameraNode it uses the "main-windows" viewMatrix, and if
> you apply a viewMatrix to the CameraNode that will just translate from
> the mainViewMatrix.
>
> Is there a way to make the cameraNode independent from the main
viewMatrix?
>

 All osg::Transform nodes have a ReferenceFrame parameters, and this
includes osg::CameraNode, the ReferenceFrame can be set to ABSOLUTE_RF or
RELATIVE_RF (the default).  If you want the CameraNode to be independent of
the main camera then set it ABSOLUTE_RF.  See the example which contain
osg::CameraNode's.

 Robert.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to