ios 如何在 SceneKit 中将 .dae 转换为 .scn 文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31627965/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to convert .dae to .scn files in SceneKit
提问by potato
This is a screenshot from Apple's Fox sample code. As you can see, they use .scn file format for graphics object. They explicitly state in the wwdc2015 video that this was done by an artist. So far I only worked with .dae and was until recently convinced that this is the only supported format. My question is, how do I export objects stored in .dae file to .scn file?
这是来自 Apple 的 Fox 示例代码的屏幕截图。如您所见,它们使用 .scn 文件格式作为图形对象。他们在 wwdc2015 视频中明确指出这是由一位艺术家完成的。到目前为止,我只使用 .dae 并且直到最近才确信这是唯一支持的格式。我的问题是,如何将 .dae 文件中存储的对象导出到 .scn 文件?
EDIT: this is what I get if go to Editor-> Convert to SceneKit scene file format (.scn)
编辑:如果转到编辑器-> 转换为 SceneKit 场景文件格式 (.scn),这就是我得到的
采纳答案by l'L'l
回答by mnuages
open your DAE file in the SceneKit scene editor, then go to the Editor menu and click "Convert to scn file format".
在 SceneKit 场景编辑器中打开您的 DAE 文件,然后转到编辑器菜单并单击“转换为 scn 文件格式”。
Your artist won't be able to export a scn file from their favourite tool. You'll have to use Xcode to convert a DAE to SCN.
您的艺术家将无法从他们最喜欢的工具中导出 scn 文件。您必须使用 Xcode 将 DAE 转换为 SCN。