c – FBX SDK导出为较旧的fbx文件格式

默认情况下,FBX SDK 2016.0以新格式写入FBX文件,与以前的SDK版本不兼容.自述文件中有一个注释:

Updated file format to 7.5 (compatible with 2016+ products) which now
uses 64bit integers in the binary block headers to allow for large file
support (>2GB). These new FBX files will NOT import in older products
(2015 or less), so make sure you set the right export format if you need
to target these older products.

但我找不到在我的代码中“设置正确的导出格式”以导出为先前格式的方法.

在我的导出设置代码中尝试了这个没有运气:

fbx_manager_->GetIOSettings()->SetIntProp( 
    EXP_FBX_EXPORT_FILE_VERSION, FBX_FILE_VERSION_7400 );

请求使用旧格式版本保存的正确方法是什么?

解决方法:

我可能迟到了,但我找到了解决方案:
有一个方法FbxExporter :: SetFileExportVersion(),它将一个字符串常量作为参数. Constats可以在fbxio.h中找到,看起来像FBX_2014_00_COMPATIBLE

上一篇:大数据处理平台与案例


下一篇:osg qt fbx ifc bim osg ive 3ds max rvt