如何在SceneKit中将.dae转换为.scn文件 [英] how to convert .dae to .scn files in SceneKit

查看:335
本文介绍了如何在SceneKit中将.dae转换为.scn文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是Apple Fox示例代码的屏幕截图.如您所见,它们将.scn文件格式用于图形对象.他们在wwdc2015视频中明确声明这是由艺术家完成的.到目前为止,我只使用.dae,直到最近才确信这是唯一受支持的格式.我的问题是,如何将存储在.dae文件中的对象导出到.scn文件?

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?

这是我得到的,如果转到编辑器->转换为SceneKit场景文件格式(.scn)

this is what I get if go to Editor-> Convert to SceneKit scene file format (.scn)

推荐答案

无需导出.dae;您可以将对象直接放置到.scn文件中:

Exporting the .dae is unnecessary; you can place the object directly into a .scn file:

.scnassets文件夹中创建新的.scn文件,然后将.dae文件拖到场景中.

Create the new .scn file in the .scnassets folder, then drag the .dae file into the scene.

这篇关于如何在SceneKit中将.dae转换为.scn文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆