|
I am using SDK 2011.3 and export files with:
//////////////
; FBX 7.1.0 project file
; Copyright (C) 1997-2010 Autodesk Inc. and/or its licensors.
; All rights reserved.
; ----------------------------------------------------
FBXHeaderExtension: {
FBXHeaderVersion: 1003
FBXVersion: 7100
//////////////
in the top of the file.
Customers with MB2010 cannot open these files unless they user the Converter Program.
Can I write out 6100 version of the FBX format which 2010 can read. I tried
lExporter->SetFileExportVersion("6100", KFbxSceneRenamer::eNONE);
but it didn’t make any difference.
Simon
|
|
|
|
Hello Simon,
Please try the followings:
For Binary:
int lFormat = pSdkManager->GetIOPluginRegistry()->FindWriterIDByDescription("FBX 6.0 binary (*.fbx)"); lExporter->Initialize(pFilename, lFormat, pSdkManager->GetIOSettings()); lExporter->Export(pScene);
For Ascii:
int lFormat = pSdkManager->GetIOPluginRegistry()->FindWriterIDByDescription("FBX 6.0 ascii (*.fbx)"); lExporter->Initialize(pFilename, lFormat, pSdkManager->GetIOSettings()); lExporter->Export(pScene);
You may also take a look at public sample ConvertScene, which shows how to export files with different format.
Jiayang Xu
Maya Data Platform
Autodesk
|
|
|