Views
No views yet
qtmesh generate3d, the Inspector's AI: Image → 3D
section, and the generate_mesh_from_image MCP tool — local inference via
ONNX Runtime, with surface extraction done by a native marching-cubes
implementation (upstream's torchmcubes is torch/GPU-only).The files QtMeshEditor downloads at runtime live in the sharedfernandotonon/QtMeshEditor-modelsrepo undertriposr/. This repo is the standalone model card + mirror.
| file | role |
|---|---|
triposr_encoder.onnx | fp32 encoder (best quality, ~1.7 GB): image [1,3,512,512] → scene_codes [1,3,40,64,64] (triplane) |
triposr_encoder_int8.onnx | int8 encoder tier (~430 MB, slight quality loss) |
triposr_decoder.onnx | per-point field decoder: scene_codes + points [1,P,3] → density [1,P,1], color [1,P,3] |
[0,1], subject isolated (upstream composites
over gray-128 and re-pads the foreground to a 0.85 ratio; QtMeshEditor uses
U²-Net for background removal first).res³ grid up front
OOMs at high resolutions.density − threshold at iso 0, threshold 25.0,
within radius 0.87. The field is inside-positive; emit flipped winding
(v0,v2,v1) to keep faces outward.scripts/export-triposr-onnx.py in the QtMeshEditor repo (one-time, offline;
transformers==4.35.0, torchmcubes stubbed, frozen ViT positional
encoding; emits the int8 variant unless --no-quant).