Skip to content

v0.4.0

Choose a tag to compare

@DmitriyGolub DmitriyGolub released this 22 Mar 20:48
· 8 commits to main since this release

What's New

Annotated Screenshots

Take a screenshot with smart object labels automatically placed in the scene. Groups duplicate instances (tree ×42), spreads clustered labels, skips bones and origin containers.

Annotated screenshot

In-Browser Overlay

A built-in devtools panel with live FPS, draw calls, triangle count, interactive scene graph, material editor, light inspector, and 3D object preview. Auto-activates on scene load or toggle via toggle_overlay tool.

Overlay

Scene Discovery Reliability

Fixed intermittent "scene not found" issues — the bridge now caches the last known good scene and prefers populated scenes over stale references during React re-renders.

Accurate Type Resolution

InstancedMesh, SkinnedMesh, Points, Sprite etc. now correctly identified via Three.js is* flags instead of unreliable obj.type / constructor.name.

All Changes

  • Annotated screenshot (annotated_screenshot) — labeled scene capture with smart grouping and anti-overlap
  • In-browser overlay (toggle_overlay, overlay_selected) — live devtools panel with 3D preview
  • Scene discovery fix — cache last known good scene, prefer scene with most descendants
  • Type resolution — resolveType() uses isInstancedMesh, isSkinnedMesh etc.
  • Material fallback — set_material_property now accepts object name, not just material name
  • Shader patch recipe — run_js tool description includes step-by-step guide for runtime shader patching
  • Camera capture — intercept renderer.render() to capture camera in vanilla Three.js apps
  • Token optimization — Copy for Agent uses plain text (2-3x fewer tokens than JSON)
  • Docs restructure — streamlined README with images, detailed docs moved to docs/
  • 52 tools total

Full Changelog: v0.3.0...v0.4.0