summaryrefslogtreecommitdiff
path: root/workspaces
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 23:33:53 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 23:33:53 +0100
commit3b2bee705cfe5a250bb6049a90b5d734d3125f73 (patch)
treef6c7151b6b9c6eecdf7a3a750c4c57e5c528cc0e /workspaces
parent0585a596e2fc77239912bd6437ea76b1af5ad0d5 (diff)
fix: port Hybrid3D effect to sequence v2 architecture
Hybrid3D was calling Renderer3D::render() which creates its own command encoder, bypassing the sequence system. Now uses renderer_.draw() with the passed encoder. Also adds texture blit support for RotatingCube compositing. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'workspaces')
-rw-r--r--workspaces/test/assets.txt1
-rw-r--r--workspaces/test/timeline.seq8
2 files changed, 5 insertions, 4 deletions
diff --git a/workspaces/test/assets.txt b/workspaces/test/assets.txt
index 68d0ab3..79f5e43 100644
--- a/workspaces/test/assets.txt
+++ b/workspaces/test/assets.txt
@@ -74,6 +74,7 @@ SHADER_POSTPROCESS_INLINE, NONE, ../../common/shaders/postprocess_inline.wgsl, "
SHADER_PASSTHROUGH_V2, NONE, ../../common/shaders/passthrough.wgsl, "Passthrough Shader"
SHADER_GAUSSIAN_BLUR_V2, NONE, ../../common/shaders/gaussian_blur.wgsl, "Gaussian Blur Shader"
SHADER_HEPTAGON_V2, NONE, ../../common/shaders/heptagon.wgsl, "Heptagon Shader"
+SHADER_ROTATING_CUBE_V2, NONE, ../main/shaders/rotating_cube.wgsl, "Rotating Cube Shader"
SHADER_FLASH, NONE, shaders/flash.wgsl, "Flash Shader"
# --- Test Assets (for test_assets.cc) ---
diff --git a/workspaces/test/timeline.seq b/workspaces/test/timeline.seq
index 98000f0..9f698fe 100644
--- a/workspaces/test/timeline.seq
+++ b/workspaces/test/timeline.seq
@@ -3,10 +3,10 @@
# BPM 120 (set in test_demo.track)
SEQUENCE 0.0 0 "MainLoop"
-EFFECT + RotatingCube source -> temp1 0.00 4.00
+EFFECT + Hybrid3D source -> temp1 0.00 4.00
EFFECT + GaussianBlur temp1 -> sink 0.00 4.00
SEQUENCE 4.0 0 "MainLoop"
-EFFECT + Flash source -> temp1 0.0 16.0
-EFFECT + GaussianBlur temp1 -> temp2 2.0 16.0
-EFFECT + PeakMeter temp2 -> sink 0.0 16.0
+EFFECT + Heptagon source -> temp1 0.0 16.0
+#EFFECT + RotatingCube temp1 -> temp2 2.0 16.0
+EFFECT + PeakMeter temp1 -> sink 4.0 16.0