- Metallic-roughness GGX shading, prefiltered image-based lighting with a built-in studio or
--environmentHDR/EXR, emissive materials and normal-map fallback for meshes without tangents.
- Lit output uses Reinhard tone mapping and preserves authored untextured glTF base colors unless a viewer color override is explicitly selected.
- Update wgpu and wgpu_text to 30, along with the other direct and compatible transitive dependencies. Adapt rendering, GPU readback and 3MF loading to their updated APIs.
- Offscreen RPC screenshots can write raw RGBA8 data via a
.rgbapath, and model-load responses include the rendered mesh extent asmax_dimension.
- Raise the viewer and headless renderer vertex-buffer limit to 1 GiB, bounded by the selected GPU adapter. Large meshes may now exceed the previous 256 MiB limit.
- Use Metal by default on macOS for the viewer and headless renderer; honor
WGPU_BACKENDto select a different backend. Thanks to @naieum for the fix.
- RPC screenshots are ordered render barriers and return only after PNG completion; concurrent requests no longer overwrite one another. Failed loads preserve the previous scene.
--no-vsyncselects a supported present mode; native PNG readback correctly converts BGRA to RGBA.- Alpha cutouts apply to backface diagnostics, including authored alpha with viewer color overrides.
- Static angle-only sprite sheets no longer require animation clips. Camera updates preserve orbit angles and exact pole views.
- Skinning is centered after deformation, and bind-pose bounds account for dequantization in inverse bind matrices. Arbitrary joint order and non-joint ancestors are preserved.
- Per-primitive glTF materials (bn-uhc): each primitive is drawn as its own batch with its own material instead of every primitive using the first
baseColorTexture. Applies toview,view --remote,render, and sprite sheets. doubleSidedmaterials are no longer back-face culled;alphaModeMASK(withalphaCutoff) andBLENDare honored, with blended materials drawn after opaque ones.
- Independent RPC ports (
--port, including ephemeral port 0), window labels, initial sizing, atomic camera controls and ground-shadow RPC toggles. msh servefor persistent windowless captures at exact dimensions; orderedshootbatches and integer material/backface pixel diagnostics.- Raw and position-welded topology analysis with explicit tolerance, boundary, manifold and closed-surface results.
- Simultaneous scene meshes via
--mesh all, external clips via--clips, and RPC clip/time/frame controls. - Meshopt-compressed and quantized glTF decoding, with per-texture UV transforms and decoded-size/span validation.
- Directional shadows on an invisible ground catcher, hidden from below; G toggles the shadow.
- Normal maps, metallic-roughness, and occlusion textures; vertex normals and tangents are used for lit shading (skinned along with positions).
- Hemisphere ambient fill in
litshading so PBR assets stay readable on their unlit sides. - Mipmapped, anisotropically filtered material textures.
- RPC
load_modelandscreenshotnow return structured completion results rather than queued-status strings. - Default background is now a dithered radial gradient (medium-dark cool gray center to dark gray edges) instead of solid black, in
viewandrender.--clear-color,--transparent-bg,remote set-clear-color, and--preset sprite-bakestill give a solid background.
- Mesh cleanup and simplification, projection onto a reference surface, and optional bone-weight transfer.
- GLB output and multi-mesh viewer selection.
- Skeleton & animation support: load and play back glTF skeletal animations with GPU skinning.
- BVH motion capture overlay:
--bvhflag onmsh viewmaps BVH motion data onto mesh skeletons with automatic joint name matching. - Standalone BVH viewer:
msh view file.bvhrenders skeleton motion capture files directly. - Sprite sheet rendering:
msh render --sprite-sheetcomposites animation frames and rotation angles into a single atlas PNG. - Animation frame rendering:
--frame,--frames(with optional step, e.g.0-39:4), and--anglesflags for batch rendering animation sequences. - Texture rendering: GLB
baseColorTexturewith UV mapping is now rendered. --scaleflag: uniform scale multiplier forviewandrendercommands.--no-centerflag: skip auto-centering the mesh at the origin forviewandrender.--animationflag: select animation clip by name or index forviewandrender.--angle-offsetflag: rotate all angle steps by a fixed offset in degrees.
- GLB material color detection: meshes where all materials share the same
baseColorFactornow correctly fall back to uniformbase_colorinstead of rendering with per-vertex colors. Fixes--preset sprite-bakeoverriding issue.
--camera-pos x,y,zand--camera-target x,y,zflags formsh render, enabling fixed camera angles for sprite baking.
- Headless rendering:
msh rendercommand renders to PNG without opening a window. Supports all render options (--preset,--shading,--base-color,--width,--height, etc.). - Per-face material colors: meshes with multiple materials now render with distinct colors instead of a single global base color.
- OBJ+MTL: parses
.mtlsidecar files forKddiffuse colors viausemtlgroups. - GLB/glTF: extracts
baseColorFactorfrom PBR materials per primitive. - 3MF: reads
colorgroupdefinitions with per-trianglepid/p1attributes.
- OBJ+MTL: parses
- 3MF file format support: load
.3mffiles (ZIP-archived XML) with geometry and optional per-triangle colors. --z-upflag: converts Z-up coordinates to Y-up for meshes from OpenSCAD and other CAD tools.- Render state controls: projection modes (perspective/ortho), shading modes (lit/flat/unlit), configurable clear color, base color, and light direction via CLI flags and JSON-RPC.
- Render presets:
--preset viewerand--preset sprite-bakebundle common render settings. - RPC methods:
set_projection,set_clear_color,set_shading,set_base_color,set_light_direction,apply_preset.
- Vertex buffer now includes per-vertex color attribute (position + RGBA).
- Shader uses per-vertex color when materials are present, falls back to uniform
base_colorotherwise.
- Fix remote rotation.
- Add vsync toggle.
- Cross-platform fonts.
- Migrate to wgpu rendering backend.