3D engine that AI agents drive
Merge branch 'worktree-agent-ad41e39cd189721ca' into feat/scene-kits
Nguyen Xuan Ane0925811d71f
diff --cc .gitignoreindex 6b80c54a,4f69fd34..85fc6d88--- a/.gitignore+++ b/.gitignore@@@ -18,7 -18,7 +18,8 @@@ public/mesh-query.mpublic/primitives.mdpublic/shrinkwrap.mdpublic/spume.md+public/retarget.md+ public/vehicle.mdpublic/scene-graph.mdpublic/modeling.mdpublic/animation-curves.mddiff --cc README.mdindex 1eca958b,e524b170..349b418f--- a/README.md+++ b/README.md@@@ -210,8 -210,9 +210,10 @@@ Compatible results can become relativeThe source [Spume addon](docs/spume.md) plays back liquid baked by the [Spume](https://github.com/codepawl/spume) GPU solver, with whitewater, through `renderer.replaceParts`.The solver runs offline; the browser only reads the compact cache.+The source [retarget addon](docs/retarget.md) transfers humanoid clips between rigs (Mixamo, VRM, Unreal, Rigify names) and offsets crowds deterministically. Mixamo files need the owner's Adobe login to download.+ The source [vehicle addon](docs/vehicle.md) drives wheeled vehicles along a path deterministically: wheel spin, steering, body roll and pitch, and ground following, for parts, scene-graph nodes or imported GLBs.+The current source adds [surface attachments](docs/surface-attachment.md) for rigid accessories following a selected triangle through morphing and skinning.The retained frame uses world-space clearance and samples three bound vertices without rebuilding a BVH every frame.This addon is available from version `0.4.1`. It does not certify clearance over an accessory's entire footprint.diff --cc package.jsonindex 28f18d47,e2ee638b..b2b7b448--- a/package.json+++ b/package.json@@@ -76,10 -77,9 +77,11 @@@"./addons/surface-attachment": "./build/surface-attachment.js","./addons/physics": "./build/physics.js","./addons/spume": "./build/spume.js",+ "./addons/retarget": "./build/retarget.js",+ "./addons/vehicle": "./build/vehicle.js","./addons/agent-scene": "./build/agent-scene.js","./addons/agent-asset": "./build/agent-asset.js",+ "./addons/hdri": "./build/hdri.js","./package.json": "./package.json"},"scripts": {diff --cc scripts/prepare-release.mjsindex fd676167,15929f0a..d6c01cab--- a/scripts/prepare-release.mjs+++ b/scripts/prepare-release.mjs@@@ -40,7 -40,7 +40,8 @@@ const sourceDocuments ='scene-graph.md', 'modeling.md', 'animation-curves.md', 'animation-mixer.md','gltf-morph.md', 'morph-targets.md', 'skinning.md', 'physics.md','export-glb.md', 'sculpt.md', 'surface.md', 'mesh-query.md', 'primitives.md', 'shrinkwrap.md', 'spume.md',+ 'retarget.md',+ 'vehicle.md','camera-path.md', 'lighting.md', 'volumetric.md', 'film-physics.md','surface-attachment.md', 'agent-scene.md', 'mcp.md', 'agent-look.md', 'agent-asset.md', 'agent-render-jobs.md', 'agent-motion.md', 'agent-character-motion.md', 'agent-review.md',];diff --cc skills/build-67js-scene/SKILL.mdindex 928bd013,c4158d77..82b0191d--- a/skills/build-67js-scene/SKILL.md+++ b/skills/build-67js-scene/SKILL.md@@@ -23,8 -22,8 +23,9 @@@ Use `simplify-code` and `engineering-wo- A skeletal asset uses `src/skinning.js`, `src/gltf.js` and the checkout's `docs/skinning.md`.- Relative facial or shape deformation uses `src/morph.js` and the checkout's `docs/morph-targets.md`. Check source versus published support first.- Recorded contacts or articulated physics use optional `src/physics.js` and the checkout's `docs/physics.md`.+- Humanoid clips moved between rigs, or crowds of skinned characters, use optional `src/retarget.js` and the checkout's `docs/retarget.md`. Mixamo downloads need the owner's Adobe login.- Baked liquid (jets, geysers, torrents, whitewater) uses optional `src/spume.js` and the checkout's `docs/spume.md`. Bake with the Spume solver first; never fake it with displaced primitives.+ - Wheeled vehicles driving a path (wheel spin, steering, body roll and pitch, ground following) use optional `src/vehicle.js` and the checkout's `docs/vehicle.md`.- A flat scene or axis view uses `src/canvas2d.js`, `src/camera.js` and `src/view2d.js`.- A GLB asset viewer uses the optional `src/gltf.js` addon and `src/asset-viewer.js`.- Static brush sculpting uses optional `src/sculpt.js` and the checkout's `docs/sculpt.md`.diff --cc vite.lib.config.jsindex d4a015f7,715cbf4c..c78cba94--- a/vite.lib.config.js+++ b/vite.lib.config.js@@@ -26,10 -26,9 +26,11 @@@ export default defineConfig('surface-attachment': 'src/surface-attachment.js',physics: 'src/physics.js',spume: 'src/spume.js',+ retarget: 'src/retarget.js',+ vehicle: 'src/vehicle.js','agent-scene': 'src/agent-scene.js','agent-asset': 'src/agent-asset.js',+ hdri: 'src/hdri.js',},formats: ['es'],fileName: (_, entry) => entry === 'core' ? '67.module.js' : `${entry}.js`,