3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
Merge remote-tracking branch 'origin/main' into 922-ask-user-time-mark
Nguyen Xuan Anbfd187064679
diff --cc docs/mcp.mdindex 7b266c6d,800552c9..734d98c9--- a/docs/mcp.md+++ b/docs/mcp.md@@@ -223,7 -223,7 +223,7 @@@ Imported clip sampling remains availabl`scene_ask_user` is for a change the person cannot put in words. It renders the current view, opens it in their default browser on a loopback address under a random path, and waits up to `timeoutSeconds` (default 300, at most 900) for them to pin up to 16 points with a note of at most 280 characters each and press Send. Each mark comes back with its pixel, the `partId` and world `point` and `normal` the pin lands on (all `null` on empty sky), the `distance` from the camera and the part's `material`, plus the `view` camera and a PNG with the numbered pins. A cancelled or timed-out page returns `outcome` `cancelled` or `timeout` with no marks. Nothing leaves the machine and the tool takes no code or remote URL.- The page also has a lasso tool: the person draws a closed outline around a region (3 to 64 points, thinned from the pen stroke) and adds a note, so one mark can mean "these parts". Such a mark counts toward the 16 and comes back with the pin fields plus `kind` `"lasso"`, `points` and `parts`. `parts` lists the parts under the outline, most covered first, each as `{ partId, samples, coverage, material }`: the server picks a fixed 24 by 24 grid of pixels over the outline's bounding box, keeps the ones inside it (even-odd rule) and runs the same pick as a pin on each, so `coverage` is the share of those pixels a part holds (pixels on empty sky count toward no part, so the shares may add up to less than 1). `pixel`, `partId`, `point`, `normal`, `distance` and `material` are those of the most covered part, taken at the picked pixel nearest the outline's centre; `parts` is empty and `partId` `null` when the outline holds only sky. A part under 0.15 coverage carries `edge: true` and stays listed: it only grazes the outline. A part whose material is also used by parts outside the mark carries `materialSharedWith` (those part IDs, sorted, at most 8, plus `materialSharedWithMore` with the count left over): recolouring that material would change them too, so give the part its own material first. Pins are unchanged. The inline chat view and the review page take pins only. `motionTime` (0 to 3600 seconds) first seeks the scene's authored motion to that time, like `scene_look`, so a film scene can be marked at one moment: the picture shows that moment, the marks are resolved with the scene put back at it, and `view.motionTime` in the answer names it (left out for a scene with no motion). Not yet marks: dragged transforms, colours and saved views (issue #922 lists them).-The page also has a lasso tool: the person draws a closed outline around a region (3 to 64 points, thinned from the pen stroke) and adds a note, so one mark can mean "these parts". Such a mark counts toward the 16 and comes back with the pin fields plus `kind` `"lasso"`, `points` and `parts`. `parts` lists the parts under the outline, most covered first, each as `{ partId, samples, coverage, material }`: the server picks a fixed 24 by 24 grid of pixels over the outline's bounding box, keeps the ones inside it (even-odd rule) and runs the same pick as a pin on each, so `coverage` is the share of those pixels a part holds (pixels on empty sky count toward no part, so the shares may add up to less than 1). `pixel`, `partId`, `point`, `normal`, `distance` and `material` are those of the most covered part, taken at the picked pixel nearest the outline's centre; `parts` is empty and `partId` `null` when the outline holds only sky. A part under 0.15 coverage carries `edge: true` and stays listed: it only grazes the outline. A part whose material is also used by parts outside the mark carries `materialSharedWith` (those part IDs, sorted, at most 8, plus `materialSharedWithMore` with the count left over): recolouring that material would change them too, so give the part its own material first. A pin gets the same warning: the part it lands on carries `materialSharedWith` (and `materialSharedWithMore`) when other parts use its material. The inline chat view and the review page take pins only. Not yet marks: dragged transforms, colours, saved views and film times (issue #922 lists them).++The page also has a lasso tool: the person draws a closed outline around a region (3 to 64 points, thinned from the pen stroke) and adds a note, so one mark can mean "these parts". Such a mark counts toward the 16 and comes back with the pin fields plus `kind` `"lasso"`, `points` and `parts`. `parts` lists the parts under the outline, most covered first, each as `{ partId, samples, coverage, material }`: the server picks a fixed 24 by 24 grid of pixels over the outline's bounding box, keeps the ones inside it (even-odd rule) and runs the same pick as a pin on each, so `coverage` is the share of those pixels a part holds (pixels on empty sky count toward no part, so the shares may add up to less than 1). `pixel`, `partId`, `point`, `normal`, `distance` and `material` are those of the most covered part, taken at the picked pixel nearest the outline's centre; `parts` is empty and `partId` `null` when the outline holds only sky. A part under 0.15 coverage carries `edge: true` and stays listed: it only grazes the outline. A part whose material is also used by parts outside the mark carries `materialSharedWith` (those part IDs, sorted, at most 8, plus `materialSharedWithMore` with the count left over): recolouring that material would change them too, so give the part its own material first. A pin gets the same warning: the part it lands on carries `materialSharedWith` (and `materialSharedWithMore`) when other parts use its material. The inline chat view and the review page take pins only. `motionTime` (0 to 3600 seconds) first seeks the scene's authored motion to that time, like `scene_look`, so a film scene can be marked at one moment: the picture shows that moment, the marks are resolved with the scene put back at it, and `view.motionTime` in the answer names it (left out for a scene with no motion). Not yet marks: dragged transforms, colours and saved views (issue #922 lists them).#### Inline in chat apps (MCP Apps)