lsalzman / iqm

Inter-Quake Model format development kit
MIT License
239 stars 73 forks source link

Blender 2.81a exported model deformed #44

Closed hemebond closed 4 years ago

hemebond commented 4 years ago

When exporting from Blender 2.81a, and the latest exporter, to use in Quake, the animations are exported but the model is deformed.

Deformed Demon

It looks and works fine in the editor, but I don't actually know if there are issues with the blend file.

demon.zip

Exported using this animation string: stand:0:13,walk:0:7,run:0:5,jump:0:10,pain:0:5,die:0:9,attack:0:13

hemebond commented 4 years ago

Tagging @q009

hemebond commented 4 years ago

Okay! If I de-select "Modifiers" when exporting it all comes out fine. Unfortunately it seems to detach the model from the skeleton in the Blender file itself.

q009 commented 4 years ago

@hemebond the mesh you export must have armature modifier disabled if you want to have modifiers. Then, to export you have to select both the mesh and then the armature. I checked it on my end and it exports fine that way, along with animations.

hemebond commented 4 years ago

@q009 Not sure what that means but I'll look into it. Thank you very much for checking this out.

shakesoda commented 4 years ago

fwiw, this is very much an exporter bug. it would have to do something to this effect to apply modifiers without the armature interfering https://github.com/excessive/iqm-exm/blob/master/blender-2.80/exm_export.py#L1127-L1141

q009 commented 4 years ago

@shakesoda cheers for the tip, just made a PR for this