[osg-users] camera/cameraview questions

2007-08-28 Thread Carsten Scharfe
hi there, do i understand the functionality of the cameraview node correct? i assume, that cameraview is used to position the camera (and animate, of course) within the scene, without having to manipulate view matrices directly. but then how do i retrieve the actual viewing matrix, if the camer

Re: [osg-users] camera/cameraview questions

2007-08-29 Thread Robert Osfield
Hi Carsten, The CameraView node is meant to be placed within the scene graph as a leaf node, the accumulated transform matrix down to the CameraView provides its final position in space just like any other node. CameraView is a passive object, effectively a marker that you put into the scene graph

Re: [osg-users] camera/cameraview questions

2007-08-29 Thread Carsten Scharfe
hi robert, thanx for your answer. it helped me out. but how do i accumulate the matrix efficiently? cheers, carsten Zitat von Robert Osfield <[EMAIL PROTECTED]>: > Hi Carsten, > > The CameraView node is meant to be placed within the scene graph as a > leaf node, the accumulated transform matrix

Re: [osg-users] camera/cameraview questions

2007-08-29 Thread Robert Osfield
On 8/29/07, Carsten Scharfe <[EMAIL PROTECTED]> wrote: > hi robert, > > thanx for your answer. it helped me out. > but how do i accumulate the matrix efficiently? In include/osg/Transform you'll find computeWorldToLocal(NodePath) method, or go to the node in question and use the getWorldMatrices()