Benjamin GODIN wrote:
In Fact, I have different objects in my scene and each geode has his own
PositionAttitudeTransform as his parent.
At t+1 time, each PositionAttitudeMatrix gets a new translation vector. To do
this, I'm using the NodeVisitor.
I have a table containing each translation vector for each geode for each
timestamp. But in the NodeVisitor, I don't know which geode refers to which
line in my table. So I needed a reference between the two. :)
You could just store the address of the PAT in the table, then you could just
iterate over the table and avoid the overhead of a NodeVisitor.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org