Load uncompressed collada file using iOS Scene Kit

佐手、 提交于 2019-11-28 11:48:00

问题


I need to load a collada file I downloaded on iOS, I intend to use Scene Kit to do it. But reading the documentation I found out that XCode compresses the collada files on compilation time, and Scene Kit can only load the compressed files.

After some research I ran into this article where the author was able to find the scripts XCode uses and compress the files using them. The problem is that I'm not being able to run them on my server.

So my question is: Is there any other way to load collada files using scene kit? Or is there somewhere where I can find an algorithm to do the compression myself?


回答1:


if you can't upload compressed files on your server and cannot convert them on the fly on the server, I'm afraid that you will have to manually parse the Collada files and instantiate all the SceneKit objects yourself.



来源:https://stackoverflow.com/questions/27015580/load-uncompressed-collada-file-using-ios-scene-kit

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