ws-3d3-b: model/iqm (Inter-Quake Model v2 read + write: meshes, every vertex array format, joints -> skin, poses / frames / anims -> channels, bounds; writer merges skins, samples and quantizes animations); new codecs/model/Sampler (channel evaluation STEP / LINEAR + slerp / CUBICSPLINE, animation poses at a time) with tests
mrfixit.iqm matches assimp and an independent Python IQM reader (its skinning reproduces the bounds the IQM tool stored; ours matches it to 1e-4); round trips and glTF skinned models written by us are skinned identically by the Python reader.
This commit is contained in:
1 parent
4f05c89f01
commit
51daa00a67
11 files changed
+1953
No files matched your search
@@ -410,6 +410,18 @@ local list: { Entry } = {
|
||||
return require("@formats/model/gltf")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "iqm",
|
||||
category = "model",
|
||||
path = "model/iqm",
|
||||
extensions = { "iqm" },
|
||||
mime = { "model/x-iqm" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "codecs/model/Mat4", "codecs/model/Rig", "codecs/model/Sampler" },
|
||||
caps = { decode = true, encode = true, materials = true, skins = true, animation = true, vertexColors = true },
|
||||
load = function()
|
||||
return require("@formats/model/iqm")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "lwo",
|
||||
category = "model",
|
||||
|
||||
Reference in new issue
Block a user