Romulion / LMD_Animation_Loader

Animation loader script for Blender
8 stars 5 forks source link

Pokemon animations is not loading #6

Open SuadSeen opened 3 years ago

SuadSeen commented 3 years ago

I am trying to import a pokemon animation but is not loaded. But when i import a trainer Animation it’s working. Whenever i tried to import a pokemon animation it says, Lmd Problem

Romulion commented 2 years ago

Is this model from pokemon masters? (didnt see it on mega) And what animation you trying to export?

SuadSeen commented 2 years ago

Yes, this model is from Pokemon masters ex. You can found pokemon models and animation of Pokemon Masters Ex from here https://mega.nz/folder/fOYCUDgb#PYMT02T-o2SC6328uivPcw. The trainer model animations are importing with your awesome plugin @Romulion, but the pokemon animations aren't working

Romulion commented 2 years ago

Animation has different rotaion mode - 2 vec3 arrays, probably euler angle, but still cant get it look good. Traslation part works well but has extra array with unknown purpose. Althought it has UV animation and GRP (dont know what is this but it mostly packet whith zeros).

I`ll put it for later, and continue when something come to mind

PlasteredCrab commented 2 years ago

Animation has different rotaion mode - 2 vec3 arrays, probably euler angle, but still cant get it look good. Traslation part works well but has extra array with unknown purpose. Althought it has UV animation and GRP (dont know what is this but it mostly packet whith zeros).

I`ll put it for later, and continue when something come to mind

Any news on this at all? I am working on a full fledged Blender pack of all characters and pokemon setup with textures and animations to be released to the community and it would be nice to have animations for the pokemon working :)

So far I am 40% done with the pack for the characters, but haven't done the pokemon yet

PlasteredCrab commented 2 years ago

Animation has different rotaion mode - 2 vec3 arrays, probably euler angle, but still cant get it look good. Traslation part works well but has extra array with unknown purpose. Althought it has UV animation and GRP (dont know what is this but it mostly packet whith zeros).

I`ll put it for later, and continue when something come to mind

image

I found this math which will likely help. I believe these pokemon animations use data from the Sun/Moon/ORAS games so this is the code that tools for converting those game's data to DAE format for animations so this might work!

Link to the tool and the page mentioned with the math in it: https://github.com/gdkchan/SPICA/blob/master/SPICA/Math3D/Vector.cs

PlasteredCrab commented 2 years ago

image

This has been my current marking up of voltorbs animation file since it is so small and simple.

PlasteredCrab commented 2 years ago

image

This is what is figured out so far

Romulion commented 2 years ago

I found this math which will likely help. I believe these pokemon animations use data from the Sun/Moon/ORAS games so this is the code that tools for converting those game's data to DAE format for animations so this might work!

Link to the tool and the page mentioned with the math in it: https://github.com/gdkchan/SPICA/blob/master/SPICA/Math3D/Vector.cs

I dont see any use of this methods

This is what is figured out so far

It was the first thing came to my mind, but give unsatisfying result

I'm still bothered by extra data For example Bulbasaur Feeler bone first 7 frames from pm0001_00_ba10_waitA01 animation image

PlasteredCrab commented 2 years ago

ezgif com-gif-maker (83) So far there is a working Pokemon Animation script created by user SleepyZay as of recently that works very well! Though it is in 3DS Max only right now

PlasteredCrab commented 2 years ago

SleepyZay_pokemon_masters_animation_2.zip This is what SleepyZay has figured out so far! Guy is wicked smart and deserves all credit for this file I attached. I am sure some of the offsets and data being read can be converted to Blender scripts somehow

Romulion commented 2 years ago

Thanx, it will greatly help, ill fix script tomorow

Romulion commented 1 year ago

Pokemon animation is ready (translation, rotation and scale).

PlasteredCrab commented 1 year ago

Awesome! I will test it out!

PlasteredCrab commented 1 year ago

Pokemon animation is ready (translation, rotation and scale).

image I am getting the animations coming in upside down haha

PlasteredCrab commented 1 year ago

Nevermind! I reimported a fresh model and it works great!