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 / Softimage Units
  RSS 2.0 ATOM  

Softimage Units
Rate this thread
 
43505
 
Permlink of this thread  
avatar
  • jdolan
  • Posted: 22 May 2010 07:36 AM
  • Total Posts: 42
  • Joined: 14 December 2008 09:59 PM

This might not be the right forum for this, but basically we found recently that artists trying to import assets from Softimage come in at the wrong scale. At first everything was incredibly tiny due to Softimage just having some weird unit size so we tried importing an FBX file made with Max into Softimage and then exporting again.

So a box with bounds ((-1,-1,-1),(1,1,1)) when imported and immediately exported from Softimage comes out ((-0.393701,-0.393701,-0.393701),(0.393701,0.393701,0.393701)) which to me seems a bit weird.

My FBX import code does the following to get native units…

KFbxSystemUnit fbxOurSystemUnit   KFbxSystemUnit::m// meters...
KFbxSystemUnit fbxSceneSystemUnit fbxScene.GetGlobalSettings().GetSystemUnit()
if(fbxSceneSystemUnit
.GetScaleFactor() != fbxOurSystemUnit.GetScaleFactor())
{
  fbxOurSystemUnit
.ConvertScene(&fbxScene)
}

...which assuming that is working as intended (and it appears to, at least for files generated by Max and Maya) seems like its not the problem. So its probably just the way Softimage loads and/or saves the file thats bunk.

So, does anyone have any tricks on detecting files exported from Softimage and fixing up units?



Replies: 0