Robert Osfield пишет:
Hi Dmitry,
You can share nodes, drawables and state between different subgraphs,
for you aircraft you'll want seperate transform nodes, and this will
naturally require the parents to also be seperate, but the children of
these transforms can all be safely shared.
Thank you for such a fast reply!
But it effectively means, that if our model has 300 moving parts, we
will have N graphs with transform nodes.
It sounds not very efficient. In our previous engine, per-instance node
have compact state representation (a float per moving part, indicating
animation phase)
and node matrices were calculated right before actual rendering. Can it
be done with OSG?
Regards,
Dmitry.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/