Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / exporting mesh animations
  RSS 2.0 ATOM  

exporting mesh animations
Rate this thread
 
30198
 
Permlink of this thread  
avatar
  • def87
  • Posted: 13 May 2009 10:27 AM
  • Total Posts: 4
  • Joined: 03 May 2009 01:47 PM

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.



Replies: 0
avatar
  • def87
  • Posted: 14 May 2009 10:31 AM

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.



Replies: 0