gregdavisd / DAEBlend

Plugin script to export Collada DAE files from Blender.
GNU General Public License v3.0
36 stars 4 forks source link

Exported DAE with a very basic skeletal animation is completely broken, but works fine in 'Better Collada' exporter #5

Closed chuckhacker closed 3 years ago

chuckhacker commented 7 years ago

This low poly Blender3D model with a skeletal walking animation is completely broken when exporting to DAE with DAEBlend. However, it works perfectly fine in 'Better Collada' exporter:

You can see a MKV video of the resultant broken animation in the DAE file generated by your exporter here in my attached ZIP file, along with everything you need to repro this issue -- original example problematic .blend model used, PNG texture for said model, DAE output file:

broken_dae.zip

We are experiencing this issue with Blender version 2.78c (but we expect it to be a problem with other versions as well).

What draws me to your exporter over Better Collada is that yours ostensibly supports multiple animations per file, whereas Better Collada does not.

Hope that helps, thanks!

gregdavisd commented 7 years ago

Hello Chuck, I've been trying to reproduce the problem and found a few issues:

I tested the animation using ASSIMP 3.3.1 viewer. I had to remove the material texture because Assimp gave an error about the texture URL, probably an incompatibility with Assimp. Here is the animation in Assimp viewer after deleting the texture,normalizing the vertex weights and exporting with DAEBlend:

https://www.youtube.com/watch?v=LlxrGeoxeLk

Hope that helps.

gregdavisd commented 7 years ago

I've uploaded changes to add a drop down box to select Three.js compatibility.

To default to three.js compatibility you can change line 148 of init.py to: default='THREE',

that way it won't have to be set every time in blender.

yeti-compat-fix.zip Regards, Greg.