Repository navigation
Highlights
TRELLIS.2 image-to-3D — a new backend, and the new default (#966, PR #968)
qtmesh generate3d photo.png -o out.glb now runs Microsoft TRELLIS.2 (MIT code + weights) whenever its runtime is installed — the highest-quality image-to-3D tier QtMeshEditor has shipped, with real PBR attributes (base color / roughness / metallic) generated by the model rather than guessed from the diffuse.
-
Two interchangeable runtimes, discovered automatically. The trellis.cpp C++/GGML runtime — including the first TRELLIS.2 runs on Apple Silicon Metal, via our upstreamed port (pwilkin/trellis.cpp#44, #45 merged) with GGUF weights mirrored at fernandotonon/QtMeshEditor-trellis2-gguf — or the Python CUDA sidecar (
ai/trellis2/install.py, Linux + NVIDIA). -
QtMeshEditor owns the whole asset pipeline — deliberately WITHOUT NVIDIA nvdiffrast/nvdiffrec (research-only license). The runtime hands over raw geometry + a sparse voxel attribute volume; everything after — weld, debris cull, winding unification, simplification, xatlas UVs, multi-channel PBR bake (basecolor RGBA / roughness / metallic / tangent-space detail normal) — is native C++. A CI gate (
scripts/check-trellis2-restricted-deps.sh+ a guard test) keeps the prohibited libraries out permanently; the full dual-license audit lives indocs/trellis2-dependencies.md(upstream's CC-BY-NC rembg model is never downloaded — background matting uses our own U²-Net). -
The full-resolution generation is preserved as a
.qtm3dsidecar next to the export, so you can re-bake textures or re-target triangle budgets later without paying inference again.
![]() |
![]() |
|---|---|
![]() |
![]() |
![]() |
![]() |
Game-ready pass for every image-to-3D backend
The long-standing "decimating a TripoSR/TripoSG result turns it into a blob and skins badly" problem is fixed by doing what game pipelines do: simplify hard, keep the detail in textures. --target-tris N (CLI), target_tris (MCP) and the GUI Mesh dropdown (Game Low ~10k / Medium ~25k / High ~50k) now run weld → debris cull → winding fix → capped QEM on any backend, then re-bake the dense source's diffuse and bake its relief into a tangent-space detail normal map on the simplified mesh. Verified end-to-end: a 4.9M-triangle TRELLIS decode lands at 25k triangles with a 4-channel bake in under 30 seconds on an M-series laptop.
Fixes along the way
- TRELLIS.2 models arrive standing upright (Z-up → Y-up rotation baked into positions + normals).
- Fuzzy subjects (fur, hair) no longer render with dark "pepper" speckle or lace holes: tiny wisp islands are re-oriented against the dominant surface, an optional Taubin pre-smooth cleans sub-voxel noise before simplification, and the interchange reader is hardened against malformed files (overflow-checked manifests, coordinate validation, checked writes).
- The runtime-flavor helper text is gone from the GUI when everything is working — the ⚠ hint appears only when a runtime is missing.
Full changelog: 3.35.0...3.36.0





