how to convert .dae to .scn files in SceneKit

限于喜欢 提交于 2019-11-27 00:14:13

问题


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?

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


回答1:


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

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




回答2:


open your DAE file in the SceneKit scene editor, then go to the Editor menu and click "Convert to scn file format".

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.



来源:https://stackoverflow.com/questions/31627965/how-to-convert-dae-to-scn-files-in-scenekit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!