From 850388bcaabf057beed8f126002b7b663183b2d8 Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 20 Feb 2026 12:08:34 +0100 Subject: feat(sequence): port Scene1Effect + fix seq_compiler absolute time bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- src/gpu/demo_effects.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpu/demo_effects.h') diff --git a/src/gpu/demo_effects.h b/src/gpu/demo_effects.h index 2825891..f746326 100644 --- a/src/gpu/demo_effects.h +++ b/src/gpu/demo_effects.h @@ -26,6 +26,7 @@ #include "effects/peak_meter_effect.h" #include "effects/placeholder_effect.h" #include "effects/rotating_cube_effect.h" +#include "effects/scene1_effect.h" // TODO: Port CNN effects // #include "../../cnn_v1/src/cnn_v1_effect.h" // #include "../../cnn_v2/src/cnn_v2_effect.h" -- cgit v1.2.3