ws-3d3: model/3ds (Autodesk 3D Studio) read + write

Meshes (smoothing-group normals, uvs, mesh matrix, per-face materials), Phong
materials with texture maps (uri), cameras, lights, the keyframer (hierarchy,
pivots, instances, dummies, position / rotation / scale / camera tracks ->
one animation). Writer: objects, materials, cameras, lights, keyframer.
Tested against assimp (test models, its 3DS exporter, and reading our files).
This commit is contained in:
4DBug committed 2026-10-31 14:19:08 -05:00
1 parent de4f14a343
commit a43d81538e
10 files changed
+2921 -2

No files matched your search

+12
View File
@@ -362,6 +362,18 @@ local list: { Entry } = {
return require("@formats/video/y4m")
end,
},
{
name = "3ds",
category = "model",
path = "model/3ds",
extensions = { "3ds" },
mime = { "application/x-3ds", "image/x-3ds" },
deps = { "core/Err", "core/Bytes", "Types", "codecs/model/Mat4", "codecs/model/MeshFlatten" },
caps = { decode = true, encode = true, materials = true, textures = true, animation = true, cameras = true, lights = true, instancing = true },
load = function()
return require("@formats/model/3ds")
end,
},
{
name = "3mf",
category = "model",