Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Merge origin/main into feat/775-spatial-audio

Nguyen Xuan Anc5d32a41e273
diff --cc README.md
index d8016a84,a6c49b51..0ad929fb
--- a/README.md
+++ b/README.md
@@@ -139,8 -139,9 +139,10 @@@ Each addon is a separate import, so a p
| Vehicles | `67js/addons/vehicle` | [Wheeled vehicles on a path](https://67js.codepawl.com/vehicle.md) |
| Physics | `67js/addons/physics` | [Rapier contacts and joints](docs/physics.md) recorded into a timeline |
| Live games | `67js/addons/runtime` | [Game loop](docs/runtime.md) with fixed or variable steps and pluggable systems |
+ | Live games | `67js/addons/streaming` | [Streaming](docs/streaming.md): loader plugins, distance and request loading, a byte budget with LRU eviction and LOD with hysteresis |
| Live games | `67js/addons/input` | [Input](docs/input.md): keyboard, mouse, gamepad and custom sources mapped to named actions and axes |
+| Live games | `67js/addons/audio` | [Spatial audio](docs/audio.md): sounds on nodes, played from contacts, markers and input, with buses and a limiter |
+ | Live games | `67js/addons/animation-graph` | [Animation graph](docs/animation-graph.md): states, 1D and 2D blend spaces, parameter transitions with crossfades and masked layers for any rig |
| Live games | `67js/addons/player` | [Player](docs/player.md): character controller, follow, first-person and top-down camera rigs, swappable at runtime |
| Modeling | `67js/addons/mesh`, `67js/addons/modeling`, `67js/addons/sculpt` | [Mesh editing](docs/mesh.md), [modeling](docs/modeling.md) and [sculpt brushes](https://67js.codepawl.com/sculpt.md) |
| Offline light | `67js/addons/path-tracer`, `67js/addons/light-bake` | [Path-traced stills](https://67js.codepawl.com/path-tracer.md) and [baked lightmaps](https://67js.codepawl.com/light-bake.md) |
diff --cc package.json
index 319863db,9bfa7975..52e39a51
--- a/package.json
+++ b/package.json
@@@ -42,8 -42,9 +42,10 @@@
"docs/modeling.md",
"docs/physics.md",
"docs/runtime.md",
+ "docs/streaming.md",
"docs/input.md",
+ "docs/audio.md",
+ "docs/animation-graph.md",
"docs/player.md",
"docs/scene-query.md",
"docs/user-passes.md",
@@@ -121,8 -123,9 +124,10 @@@
"./addons/texture-update": "./build/texture-update.js",
"./addons/cloth": "./build/cloth.js",
"./addons/runtime": "./build/runtime.js",
+ "./addons/streaming": "./build/streaming.js",
"./addons/input": "./build/input.js",
+ "./addons/audio": "./build/audio.js",
+ "./addons/animation-graph": "./build/animation-graph.js",
"./addons/player": "./build/player.js",
"./addons/update-part-vertices": "./build/update-part-vertices.js",
"./package.json": "./package.json"
diff --cc scripts/prepare-release.mjs
index d042c870,2328c902..5b0c8991
--- a/scripts/prepare-release.mjs
+++ b/scripts/prepare-release.mjs
@@@ -53,7 -53,7 +53,7 @@@ const sourceDocuments =
'vehicle.md',
'vegetation.md', 'terrain.md', 'grass.md', 'clutter.md', 'light-bake.md', 'path-tracer.md', 'gaussian-splats.md',
'camera-path.md', 'lighting.md', 'volumetric.md', 'film-physics.md',
- 'runtime.md', 'input.md', 'player.md', 'audio.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',
- 'runtime.md', 'streaming.md', 'input.md', 'player.md', 'animation-graph.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',
++ 'runtime.md', 'streaming.md', 'input.md', 'player.md', 'audio.md', 'animation-graph.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',
];
for (const name of sourceDocuments) {
await copyFile(resolve(root, 'docs', name), resolve(root, 'public', name));
diff --cc vite.lib.config.js
index cfc31ea7,9cb64faa..c94f7bd3
--- a/vite.lib.config.js
+++ b/vite.lib.config.js
@@@ -107,8 -108,9 +108,10 @@@ export default defineConfig(
cloth: 'src/cloth.js',
runtime: 'src/runtime.js',
input: 'src/input.js',
+ audio: 'src/audio.js',
+ 'animation-graph': 'src/animation-graph.js',
player: 'src/player.js',
+ streaming: 'src/streaming.js',
'update-part-vertices':'src/update-part-vertices.js',
'replace-textured-parts': 'src/replace-textured-parts.js',
// Page of the MCP preview. It imports the engine chunks above instead of bundling its own copy.