Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Merge origin/main

Nguyen Xuan And1ae57b4cac3
diff --cc src/agent-scene-modules.js
index 49f51ee9,90da1272..dec824ba
--- a/src/agent-scene-modules.js
+++ b/src/agent-scene-modules.js
@@@ -31,7 -31,7 +31,8 @@@ const MODULE_LOADERS =
lineArt: () => import('./line-art.js'),
viewTransform: () => import('./view-transform-shader.js'),
coplanar: () => import('./coplanar-overlap.js'),
+ floorSky: () => import('./floor-sky-visibility.js'),
+ userPass: () => import('./user-pass.js'),
};
const loadedModules = {};
@@@ -71,8 -71,7 +72,9 @@@ const MODULE_MARKERS =
viewTransform: ['"viewTransform":"agx"', '"viewTransform":"neutral"', '"look":"'],
// The coplanar-overlap warning in scene_inspect appears only once this is loaded, which loadAllAgentSceneModules does; a recipe with resolveCoplanar needs it.
coplanar: ['"resolveCoplanar"'],
+ // A closed room a sun lights gets the floor sky trace by default. The recipe text can not say whether a room is closed, so a recipe that names its sun loads it and the module skips an open scene.
+ floorSky: ['"keyColor"', '"keyIntensity"'],
+ userPass: ['"postPasses"'],
};
/** Whether a recipe, operation list or edit list contains a boolean edit, which needs loadMeshBooleans() first. */