Sigmmma / Blendkrieg

Halo Model importer and exporter for Blender.
GNU General Public License v3.0
11 stars 3 forks source link

Animation import #12

Open ShellyHerself opened 5 years ago

ShellyHerself commented 5 years ago

Make it so that animations can be properly imported from the jma class. Also have compressed animations only import the frames that are actually keyed.

marcospampi commented 4 years ago

I made progress in my fork, though the armature generation must be reworked

ShellyHerself commented 4 years ago

I'll check out your progress soon. The armature generation is hard because of some constraints posed by Halo's format. Mainly the issue where Blender bones have their children parented to their tail rather than their head. I'm open to suggestions for that

marcospampi commented 4 years ago

Yep, the way to achieve this would be to just discard the armature adjustment and leave it like nodes: Schermata del 2020-08-23 19-46-13

ShellyHerself commented 4 years ago

I'd have to see how possible this is. I also want to see if armatures can possibly be saved. Because from my knowledge you can't skin a mesh to objects, only to armature bones.

ShellyHerself commented 4 years ago

Actually. I know exactly how this could work with armatures with just a tiny bit of math. Keep doing what you're doing when the time comes we'll work together to get it more in line with the other code and have it work with armatures.