gpt4 book ai didi

java - 如何以编程方式创建 .sfa snd .sfb 文件

转载 作者:行者123 更新时间:2023-12-01 23:28:34 28 4
gpt4 key购买 nike

我想通过代码以编程方式将 .obj 文件转换为 .sfa.sfb 文件。有人可以帮我解决这个问题吗?

请注意:我不需要 Unity3D 或虚幻引擎中的代码。我想要原生 Android (Java) 中的代码。

最佳答案

检查这个link 。目前没有选项可以在运行时将 .obj 转换为 .sfa.sfb 文件。

只有glTFglb可以在运行时加载而无需转换:来自 arcore documentation :

3D models stored as glTF or glb files can be loaded at runtime without conversion. This greatly improves the flexibility of the models rendered in your application, but the trade-off is the model is read at runtime and does not benefit from the optimization that is done during build time conversion to sfb.

关于java - 如何以编程方式创建 .sfa snd .sfb 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58299191/

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