Reputation: 1750
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?
Upvotes: 0
Views: 1243
Reputation: 13462
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.
Upvotes: 2