OpenCOLLADA icon indicating copy to clipboard operation
OpenCOLLADA copied to clipboard

DAE fails to keep morph animation when imported to scenekit/xcode

Open samyH opened this issue 7 years ago • 3 comments

Exported animated file from 3DS Max 2017 which has both bone animation (for limbs) and morph animation (for mouth). Everything, but the morph animation comes into scenekit. It seems the target array is empty??

<controller id="geom-mouth002-morph1"> <morph source="#geom-mouth002" method="NORMALIZED"> <source id="geom-mouth002-morph1-targets"> <IDREF_array id="geom-mouth002-morph1-targets-array" count="0"/> <technique_common> <accessor source="#geom-mouth002-morph1-targets-array" count="0" stride="1"> <param name="MORPH_TARGET" type="IDREF"/> </accessor> </technique_common> </source> <source id="geom-mouth002-morph1-weights"> <float_array id="geom-mouth002-morph1-weights-array" count="0"/> <technique_common> <accessor source="#geom-mouth002-morph1-weights-array" count="0" stride="1"> <param name="MORPH_WEIGHT" type="float"/> </accessor> </technique_common> </source> <targets> <input semantic="MORPH_TARGET" source="#geom-mouth002-morph1-targets"/> <input semantic="MORPH_WEIGHT" source="#geom-mouth002-morph1-weights"/> </targets> </morph> </controller>

samyH avatar Jul 24 '17 13:07 samyH

Same issue. Any update forthcoming?

drewster99 avatar Apr 26 '18 17:04 drewster99

It’s the wrong place to post if this is an import issue. If you think you have a valid document that does not import correctly in SceneKit, you need to report this issue to Apple.

Regards -- Rémi

On Apr 26, 2018, at 1:54 PM, Andrew Benson [email protected] wrote:

Same issue. Any update forthcoming?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

RemiArnaud avatar Apr 26 '18 18:04 RemiArnaud

I reported this to Apple for the Maya export to collada. they determined that the animation was referencing the blend shape targets incorrectly and so it was a bug in the exporter.

drewster99 avatar May 03 '18 18:05 drewster99