gpt4 book ai didi

c++ - FBX SDK 导出为旧的 fbx 文件格式

转载 作者:太空狗 更新时间:2023-10-29 20:24:07 34 4
gpt4 key购买 nike

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

关于c++ - FBX SDK 导出为旧的 fbx 文件格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29833986/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com