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® MotionBuilder® / Open Reality / How can I get a per frame deformed vertex array?
  RSS 2.0 ATOM  

How can I get a per frame deformed vertex array?
Rate this thread
 
51964
 
Permlink of this thread  
avatar
  • petitbas
  • Posted: 02 February 2011 12:57 PM
  • Total Posts: 1
  • Joined: 22 August 2006 12:16 PM

Used to be you could just use:

HFBGeometry lGeometry = pModel->Geometry;
int lVertexCount = lGeometry->VertexCount();
HFBFastTessellator lTessellator = lGeometry->FastTessellatorStrip;
float* lVertexArray = lTessellator->GetPositionArray();

To get the deformed vertex array for the current frame (at least in motionbuilder 7.5). Does anyone know how to do this in 2011?



Replies: 0
avatar
  • KxL
  • Posted: 20 February 2011 08:30 AM

I dont have way to test this now, but can you please try with FBModel.TessellatedMesh ?



Replies: 0