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® FBX® / FBX SDK / Smooth Meshes
  RSS 2.0 ATOM  

Smooth Meshes
Rate this thread
 
54379
 
Permlink of this thread  
avatar
  • Total Posts: 585
  • Joined: 18 February 2008 07:25 PM

I have a model that uses “smooth meshes” (not NURBS or patches) so I need to recreate the subdivisions that Maya uses to reproduce the model in my application. 

What is the algorithm for making smooth meshes?

The smoothness parameters are retrieved using these calls:

KFbxMesh::EMeshSmoothness lSmoothness lSmoothness pMesh->GetMeshSmoothness();
  
int meshPreviewDivisionLevels pMesh->GetMeshPreviewDivisionLevels() ;
  
int meshRenderDivisionLevels pMesh->GetMeshRenderDivisionLevels() ;
  
bool bDisplaySubdivisions pMesh->GetDisplaySubdivisions() ;

lSmoothness eFINE
meshPreviewDivisionLevels 
2;
meshRenderDivisionLevels 2;
bDisplaySubdivisions false;

Thanks.



Replies: 0
avatar
  • pakiman
  • Posted: 12 April 2011 01:14 PM

I would guess it’s some form of Catmull-Clark subdivision.



Replies: 2
/userdata/avatar/3yvwf23us_doug100x100.png

I think you are correct.  I hope that Autodesk is willing publish the evaluation code.

Author: Doug Rogers

Replied: 12 April 2011 01:30 PM  
/userdata/avatar/3yvwf23us_doug100x100.png

*dup

Author: Doug Rogers

Replied: 12 April 2011 03:03 PM