this pr implements an mvp of .mdl to .gltf export, found in the Models tab of the advanced mod editor.
it supports
resolving common skeleton paths for the selected model
exporting available vertex data:
position
normal
tangent
uv1
uv2 (if present)
color
blend indices
blend weights
exporting shape keys
as an mvp, some features have been put aside, and will be added/improved at a later date.
it does not currently support
models that use .est-driven skeletons, such as faces, hair, and some equipment
exporting composed materials with diffuses
big shout out to all of the contributors to the Xande project, which was a non-trivial input into the research and implementation of this! this pr actually implements a few improvements over xande's behavior (at least, i think) - i'll be bringing those up with those lot some time in the next few days to make sure everyone benefits from them.
effectively requires https://github.com/Ottermandias/Penumbra.GameData/pull/10 - though primarily because any release of penum without that will cause issues on model resave, whoops.
this pr implements an mvp of .mdl to .gltf export, found in the Models tab of the advanced mod editor.
it supports
as an mvp, some features have been put aside, and will be added/improved at a later date. it does not currently support
big shout out to all of the contributors to the Xande project, which was a non-trivial input into the research and implementation of this! this pr actually implements a few improvements over xande's behavior (at least, i think) - i'll be bringing those up with those lot some time in the next few days to make sure everyone benefits from them.