[osg-users] camera/cameraview questions

Robert Osfield robert.osfield at gmail.com
Wed Aug 29 02:25:13 PDT 2007


On 8/29/07, Carsten Scharfe <dragonblk at versanet.de> 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()
method - note this might pass back multiple matrices as the OSG
supports nodes with multiple parents.

Robert.


More information about the osg-users mailing list