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
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
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
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()
4 matches
Mail list logo