Skip to content

Official Codebase of 3DCodeVerse

Python

docs: InstancedMesh bakes to sibling Name_i meshes, a configured Blender is never swapped for PATH's, the static-shader hint no longer says scroll uv

gaoypengc4f93b0ab6b3
diff --git a/harness/codeverse3d/spatial/frame_stats.py b/harness/codeverse3d/spatial/frame_stats.py
index 4d7fd0ef..f6350110 100644
--- a/harness/codeverse3d/spatial/frame_stats.py
+++ b/harness/codeverse3d/spatial/frame_stats.py
@@ -168,7 +168,7 @@ def frame_gate(seq: SequenceStats, *, motion_expected: bool = True, gate: str =
"tone-map and clamp: col = col / (1.0 + col); keep accumulated glow sums bounded")
if seq.static and motion_expected:
add(Severity.WARN, "static", f"frames do not change over time (largest |Δ| between any two sampled frames {seq.max_diff:.4f}); the shader looks static",
- "use u_time for motion: scroll uv, rotate, animate noise offsets, move lights — the judge compares frames at t=0..6s")
+ "use u_time for motion: move what is in the scene, rotate, animate noise offsets, move lights — the judge compares frames at t=0..6s")
elif seq.n_duplicates and motion_expected:
add(Severity.INFO, "duplicate", f"{seq.n_duplicates} consecutive frame pair(s) are identical",
"make sure every sampled time differs visibly (continuous motion rather than rare jumps)")
diff --git a/harness/docs/INSTALL.md b/harness/docs/INSTALL.md
index 40e4a5b8..09d9ebf9 100644
--- a/harness/docs/INSTALL.md
+++ b/harness/docs/INSTALL.md
@@ -296,9 +296,12 @@ skip the wrapper entirely.
`Settings.resolve_blender()` (`codeverse3d/config.py`) returns the first hit of:
-1. `settings.binaries.blender` if that path exists — set it in the settings YAML
- or with `C3D_BINARIES__BLENDER=/path/to/blender`;
-2. `blender-5.0`, `blender`, `blender-5.1`, `blender-4.2` on `PATH`, in that order.
+1. `settings.binaries.blender` when it is set — in the settings YAML or with
+ `C3D_BINARIES__BLENDER=/path/to/blender`. A configured binary is never replaced
+ by one from `PATH`: if it is missing or not executable, builds raise
+ `BlenderNotFoundError` and `doctor` reports `blender FAIL`;
+2. only when nothing is configured: `blender-5.0`, `blender`, `blender-5.1`,
+ `blender-4.2` on `PATH`, in that order.
Nothing found → `3dcodeverse doctor` reports `blender FAIL` and builds raise
`BlenderNotFoundError`. Blender is always invoked `-b --factory-startup` with
diff --git a/harness/runtime_js/README.md b/harness/runtime_js/README.md
index 4df570f5..5b30a44f 100644
--- a/harness/runtime_js/README.md
+++ b/harness/runtime_js/README.md
@@ -76,7 +76,7 @@ lib/resolve_three.mjs node --import hook: bare 'three' / 'three/addons/*' resolv
on the 20.6 floor. Redirect rule stated once in lib/three_redirect.mjs
lib/node_polyfills.mjs FileReader/self shims so GLTFExporter writes binary GLB without a DOM
lib/census.mjs NaN/Infinity check naming mesh + part, world boxes, geometry triangles (node + browser)
-lib/instances.mjs bakeInstancedMeshes(THREE, root): InstancedMesh → Group of named plain meshes
+lib/instances.mjs bakeInstancedMeshes(THREE, root): InstancedMesh → sibling plain meshes Name_0.. in its place
lib/stack.mjs Error → {type,message,file,line,frames} with workspace-relative src/ paths
lib/syntax_check.mjs THE JS syntax check: every file parsed as an ES module in ONE node
(vm.SourceTextModule, never linked or run; `node --check` only for a failing