|
Hi,
I am successfully exporting mesh data with my own C++ plugin.
Exporting multiple mesh definitions from an animated mesh (any animation kind) does not work so far.
How do I get a geometry accessor to update correctly? I am using the playctrl property to go to a specific (current frame) frame number.
For some reason the mesh data does not seem to be updated after changing the current frame.
Is this the right way to do this?
Thanks.
|
|
|
|
Solved it.
I was expecting to get an updated mesh when calling [I]GetGeometryAccessor[/I] instead one has to call [I]XSI::Primitive.GetGeometry()[/I] to get a new mesh representation.
Here you can also specify the frame number so no [I]PlayControl[/I] is nedded at all.
|
|
|