Hi Paul,

The OSG doesn't have an observer system for matrix transforms, so you
can't watch something and get informed of changes to it.

To find out whether the inherited matrices have changed you'll either
need to cache their values yourself, or cache the result of
getWorldMatrices() and use a delta in this to determine if it's
changed.

Robert.

On Sat, Oct 11, 2008 at 9:54 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> Hi Robert and all -- How can my app be notified if a specific
> Node's local-to-world transform changes due to a change in some
> parent/ancestor node?
>
> I see that I can call Node::getWorldMatrices() to get a list of matrices
> that transform a specific Node from local to world, but I'm not sure how
> I would be notified if any of those transforms change. If anyone knows how,
> please let me know, and thanks in advance.
>
> Paul Martz
> Skew Matrix Software LLC
> http://www.skew-matrix.com
> +1 303 859 9466
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to