Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(video2scene): explain that the cloud comes from unprojected depth, not a point map
nirholas2fd7b4d04931
diff --git a/workers/model-video2scene/README.md b/workers/model-video2scene/README.mdindex 6cefd605f..d977d8cab 100644--- a/workers/model-video2scene/README.md+++ b/workers/model-video2scene/README.md@@ -8,9 +8,10 @@ world-space point cloud from a monocular video or image sequence usingpaged-KV-cache attention (FlashInfer).The worker drives the upstream repo's own entry points (`demo.load_images`,-`demo.load_model`, `demo.postprocess`), optionally removes sky pixels with-LingBot-Map's sky segmentation, fuses the per-frame world points + RGB into a-single coloured cloud, writes a binary PLY, and uploads it to Cloud Storage. The+`demo.load_model`, `demo.postprocess`), unprojects the predicted depth with the+predicted camera to get world-space points, optionally removes sky pixels with+LingBot-Map's sky segmentation, fuses those points with their per-pixel RGB into+a single coloured cloud, writes a binary PLY, and uploads it to Cloud Storage. Thethree.ws **Scene Capture** page (`/capture`) renders that PLY directly in aWebGL point-cloud viewer ([`src/pointcloud-viewer.js`](../../src/pointcloud-viewer.js)).@@ -45,6 +46,18 @@ matching `GCP_RECONSTRUCTION_KEY` and points at `GCP_VIDEO2SCENE_URL`.A finished task also reports `frames_truncated` and `sky_points_removed`.+### Where the geometry comes from++The released checkpoints have no point head: `GCTStream` is built with+`enable_point=False`, so inference returns `depth` and `depth_conf` and never a+`world_points` map. The cloud is therefore built by unprojecting each depth map+with the camera the model predicted for that frame, which is what LingBot-Map's+own viewer and GLB export do. The unprojector documents its extrinsic as+world-to-camera while `postprocess` hands back camera-to-world, so the worker+inverts before unprojecting; feeding it the wrong one puts the cloud somewhere+other than in front of the cameras. If a future checkpoint does ship a point+head, the worker uses its `world_points` directly.+### Frame budget`MAX_FRAMES` (default 512) caps a single job. Fusion holds world points,diff --git a/workers/model-video2scene/main.py b/workers/model-video2scene/main.pyindex 32d88377c..ee9522d0a 100644--- a/workers/model-video2scene/main.py+++ b/workers/model-video2scene/main.py@@ -4,9 +4,9 @@ model-video2scene: streaming video to 3D point-cloud reconstruction.Wraps LingBot-Map (Apache-2.0, github.com/Robbyant/lingbot-map), a feed-forward"Geometric Context Transformer" that reconstructs a dense world-space point cloudfrom a monocular video or image sequence. We drive the repo's own demo entry-points (load_images / load_model / postprocess), fuse the per-frame world points-+ RGB into a single coloured point cloud, write a binary little-endian PLY, and-upload it to Cloud Storage. The three.ws Scene Capture page renders that PLY+points (load_images / load_model / postprocess), unproject the predicted depth+with the predicted camera, fuse those world points + RGB into a single coloured+point cloud, write a binary little-endian PLY, and upload it to Cloud Storage. The three.ws Scene Capture page renders that PLYdirectly with a WebGL point-cloud viewer.API contract (mirrors the other three.ws model workers: triposr, hunyuan3d):