JonAllee / ColladaMorphAdjuster

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

Armature (skeleton) with blend shapes #2

Open pionl opened 6 years ago

pionl commented 6 years ago

Hi,

thank you for the tool, works perfectly until I tried to use model which uses skeleton. instance_controller references the armature, not the geometry where morph are set (with my model it's last controller). SceneKit will not load blend shapes. After I fixed the url value all works well.

Best regards, Martin

enzyme69 commented 6 years ago

Hi, I think I have similar issue, but not quite sure how to fix. So if I just have a head with shapekeys, it works. But with armature, it does not modify the correct node.

Can you explain what url you change? How?

pionl commented 6 years ago

The armature must link to morph controller, currently it connects to geometry. Change the <skin id attribute to reference a controller with morph.

snimek obrazovky 2018-01-22 v 14 41 37

workhardupc commented 5 years ago

I has the same problem, skeleton has no problem. There has blend shapes, but has no effect when set one of the blend shape.

According to @pionl , the setting is right.

Anyone kown how to fix this?

`

geometry50 geometry54 geometry58 geometry62 geometry66 geometry70 geometry74 geometry78 geometry82 geometry86 geometry90 geometry94 geometry98 geometry102 geometry106 geometry110 geometry114 geometry118 geometry122 geometry126 geometry130 geometry134 geometry138 geometry142 geometry146 geometry150 geometry154 geometry158 geometry162 geometry166 geometry170 geometry174 geometry178 geometry182 geometry186 geometry190 geometry194 geometry198 geometry202 geometry206 geometry210 geometry214 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.541667 0 0 0 0 0 0 0 0 0 0 0

1 0 0 4.410744e-08 0 1 0 -4.231929e-08 0 0 1 1.430512e-08 0 0 0 1 SID_8 SID_9 SID_10 SID_11 SID_12 SID_13 `