summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-20 12:08:34 +0100
committerskal <pascal.massimino@gmail.com>2026-02-20 12:08:34 +0100
commit850388bcaabf057beed8f126002b7b663183b2d8 (patch)
treef55fad742d99dc91d2bf32ad54a27f95e8a183f3 /tools
parent1030807a58c8f4315d209c3756a9f98d8dc6bd91 (diff)
feat(sequence): port Scene1Effect + fix seq_compiler absolute time bug
- Add Scene1 effect: raymarching cube+sphere+ground (reflections, shadows) - Fix scene1.wgsl: binding 0→2, CommonUniforms→UniformsSequenceParams - Replace Heptagon+Placeholder stub in heptagon_scene with Scene1 - Fix seq_compiler.py: emit seq.start_time+effect.start/end (absolute times) so dispatch_render active check works correctly for all sequences Bug: effects in sequences starting after t=0 were never active because local times (e.g. 0-8) never satisfied params.time<end for absolute time 20+. 34/34 tests passing. handoff(Gemini): seq_compiler now emits absolute effect times. All existing sequences affected — verify visual output across the full timeline. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/seq_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/seq_compiler.py b/tools/seq_compiler.py
index 18d5a1f..2e51574 100755
--- a/tools/seq_compiler.py
+++ b/tools/seq_compiler.py
@@ -437,7 +437,7 @@ class {class_name} : public Sequence {{
.effect = std::make_shared<{effect.class_name}>(ctx,
std::vector<std::string>{{{inputs_str}}},
std::vector<std::string>{{{outputs_str}}},
- {effect.start}f, {effect.end}f),
+ {seq.start_time + effect.start}f, {seq.start_time + effect.end}f),
.input_nodes = {{{inputs_str}}},
.output_nodes = {{{outputs_str}}},
.execution_order = {effect.execution_order}