mogaika / god_of_war_browser

https://discord.gg/u6x3Z9v6Ed
42 stars 25 forks source link

Animation exporting #3

Open mogaika opened 4 years ago

mogaika commented 4 years ago

Find better format for mesh extraction. Implement exporting

mogaika commented 4 years ago

@HawreUnity I implemented own renderer similar to one which game uses to be able to debug animation parsing. Because it's much harder to debug parser and exporter simultaneously. Plan was to make parsing working and then implement exporter. And currently parser still works bad on meshes with "multiple joints weights per vertex" parts. This affects kratos model. Reply if you need other animated models (but not kratos one), it will not take long to implement exporting, but I would like to fix this annoying bug first. Actually I forgot that in any case you always can fix skinning problems by hand in editor, so yeah, probably next update will add animation exporter. I stil comparing fbx and collada and I would like to hear you opinion, since I am not a 3d modeller at all. It would be better if format can support uv animation, flipbook texture animation and multilayer materials. I know that developers used Maya for entire development, so it's format must support them all. But in that case it will be easier to implement Maya importer instead of exporter, since Maya format hard as f.

HawreUnity commented 4 years ago

Hello thank you for your responseI've been thinking about how to extract the God of War for 12 years, but no tools were found until I was able to help and succeed with the tools you built, and I'm very grateful for your efforts and proud of you.I'm an Iranian and I don't know much English, I work with Unity Engine and I want to make a game like God of War and I desperately need Cretus animations. I look forward to updating your tools one day to extract the animations.Unity supports FBX format so it can be very interesting to extract animations in FBX format.  One question is why models fail after extraction?https://www.mediafire.com/view/ovdzmksmsh66qwy/0001.jpg/fileI also have a suggestion for this tool if you can1 - Make it possible for the tool to change the color of the selected item and find out which item we chose, such as the photo belowhttp://www.mediafire.com/file/69i0w42irxvxisq/01.png/file2- The scene scene showing our model Try to be standard like all graphical software like Unity or Max or Maya controls.For example, rotate the model with the mouse or mouse, or focus on the model with the F button And finally again, thank you very much for your hard work and thank you very much if you succeed in extracting the animations and let me know

On Sunday, December 29, 2019, 07:40:39 PM GMT+3:30, Vladimir Jigulin <notifications@github.com> wrote:  

@HawreUnity I implemented own renderer similar to one which game uses to be able to debug animation parsing. Because it's much harder to debug parser and exporter simultaneously. Plan was to make parsing working and then implement exporter. And currently parser still works bad on meshes with "multiple joints weights per vertex" parts. This affects kratos model. Reply if you need other animated models (but not kratos one), it will not take long to implement exporting, but I would like to fix this annoying bug first. Actually I forgot that in any case you always can fix skinning problems by hand in editor, so yeah, probably next update will add animation exporter. I stil comparing fbx and collada and I would like to hear you opinion, since I am not a 3d modeller at all. It would be better if format can support uv animation, flipbook texture animation and multilayer materials. I know that developers used Maya for entire development, so it's format must support them all. But in that case it will be easier to implement Maya importer instead of exporter, since Maya format hard as f.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.

mogaika commented 4 years ago

Progress: fbx exporter for mesh+mdl+txr+mat https://github.com/mogaika/god_of_war_browser/commit/c2020f5dabf3ec9795e1d0b1338140f6e3508a81

mogaika commented 4 years ago

Progress: mesh joint weights parser fixed (YAY!) 9dc3b87299fc596e8417dcf9711683148b52d4c6

mogaika commented 3 years ago

As part of https://github.com/mogaika/god_of_war_browser/commit/49b5a17fb49a8d81c80f3a9d3ccd783ba603a3cc animation exporting implemented for most objects position+rotation

leonifc331 commented 3 years ago

One question is why models fail after extraction?

the faces are inverted, you can solve this easily with the blender, as the characters do not have so many polygons, this is very fast and practical ...

2021-02-05 (4)

2021-02-05 (3)

Inori commented 1 year ago

Hi mogaika, I'm trying to export the animation of gow2018, after some debugging/disassembling the game, I found it's pretty hard to analyze the anime files this way, there so many middle results cached everywhere making it difficult to trace the calculation steps towards the final matrix.

Do you have any suggestions on doing this?