问题描述
我收到了来自几种不同 3D 创作工具(Rhino、Blender、Cinema4D 等)的 Collada (DAE) 文件,并且发现有时无法加载模型.当模型加载失败时,Xcode 不提供任何信息.它只是显示一条警告,提示无法打开文件."
I have received Collada (DAE) files from several different 3D authoring tools (Rhino, Blender, Cinema4D, etc) and have found that sometimes the models fail to load. Xcode does not provide any information when a model fails to load. It simply shows an alert that says "The file couldn't be opened."
在为我导出 DAE 文件时,我的 3D 设计师是否应该注意任何要求——特定的 DAE 版本、有限的功能子集等?
Are there any requirements -- specific DAE version, limited subset of features, etc -- that my 3D designer should be aware of when exporting a DAE file for me?
当然,我搜索了 Apple 的文档,但没有找到任何有关 DAE 要求的信息.
I have, of course, searched Apple's docs without finding any information on DAE requirements.
推荐答案
避免使用 Collada 1.5 版(据我所知,默认情况下只有 Cinema4D 导出到 1.5,但它有一个导出 1.4 的选项).SceneKit 不支持 Collada 1.5.然后,根据我使用 Maya 和 3DSMax 的经验,openCollada"导出器(免费插件)比内置导出器提供更好的结果.
Avoid Collada version 1.5 (as far as I know only Cinema4D exports to 1.5 by default but it has an option to export 1.4). Collada 1.5 is not supported by SceneKit.Then, in my experience with Maya and 3DSMax, the "openCollada" exporter (free plugin) gives better results than the built-in exporters.
这篇关于在 SceneKit 中支持 Collada/DAE 模型有哪些要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!