RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.44k stars 252 forks source link

[glTF2] Allow model import options similar to the old Maya export plugin #705

Open RobertBeckebans opened 1 year ago

RobertBeckebans commented 1 year ago

This is necessary to fight all kinds of quirks with models exported from Blender. Some armatures that had a scale can't be fixed easily within Blender sometimes. It might also happen that the modeller used mocap data and a model that walks into the -Y direction instead of +X. We need at least scaling and rotation options but bone renaming and automatic root bone adding can be also very handy.

It is applied everytime the .glb model is changed.

HarrievG commented 1 year ago

I propose to add

https://github.com/HarrievG/d3wasm/commit/b14b6d79fcc25ad1bc33cba1fdc476ef5684b30b

And replace the md5 export commands with gltf2 ones.

Other functionality normally controlled during export can be changed/added too; y-up for example.