JonAllee / ColladaMorphAdjuster

Make shape key/morphers in Blender-exported Collada (.dae) available to Apple SceneKit
MIT License
60 stars 15 forks source link

Quick guide on how to use this tool #4

Open Jaol opened 6 years ago

Jaol commented 6 years ago

Hi, this is just what I need for a upcomming test of AR and SceneKIT - but im having problems figuring out how to use this tool as I have a .dea model with shape-keys/morph-targets that I would like to include in my final scenekit-file. Can you please help me out with a quick guide on how to use your fantastic tool, please ?

Br, Jakob

EDIT: Okay :-) I got it working by manipulation of the .dea. its a bit tricks at first, but when you know what to look for it relativly straight forward: 1: look for this line:

The id and the name values must be the same 2:look for this line: and change it to: Rename the instance_geometry node to instance_controller and set the url and the name på the same as you did for the controller -in my case head-morph. I wasnt able to figure out how to use this tool, so I started playing around with the values instead... You can also find a bit of info here: https://stackoverflow.com/questions/37516117/how-do-i-load-scnmorpher-targets-from-a-collada-dae-files-morph-controllers-in
johndpope commented 4 years ago

maybe this helps - https://medium.com/better-programming/exporting-a-3d-character-from-blender-2-8-to-xcode-and-implement-like-animoji-using-arkit-scenekit-3d223aa6a29f