diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 23:54:15 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 23:54:15 +0100 |
| commit | 340dd11c44077ac121f9da27752ae97b3b7566e8 (patch) | |
| tree | b19052b760b379718fc10497c41fa2e175ac7d96 /workspaces/test/timeline.seq | |
| parent | 3b2bee705cfe5a250bb6049a90b5d734d3125f73 (diff) | |
fix: correct Heptagon effect rendering and SDF implementation
- Change draw call from 21 to 3 vertices (fullscreen triangle)
- Replace broken folding-based SDF with IQ's atan-based regular polygon formula
- Simplify test timeline to render Heptagon directly to sink
- Reduce heptagon radius from 0.5 to 0.3 for better visibility
The effect was not visible due to incorrect vertex count and broken SDF
returning negative values everywhere (showing only fill color).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'workspaces/test/timeline.seq')
| -rw-r--r-- | workspaces/test/timeline.seq | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/workspaces/test/timeline.seq b/workspaces/test/timeline.seq index 9f698fe..2ae7e8e 100644 --- a/workspaces/test/timeline.seq +++ b/workspaces/test/timeline.seq @@ -7,6 +7,4 @@ EFFECT + Hybrid3D source -> temp1 0.00 4.00 EFFECT + GaussianBlur temp1 -> sink 0.00 4.00 SEQUENCE 4.0 0 "MainLoop" -EFFECT + Heptagon source -> temp1 0.0 16.0 -#EFFECT + RotatingCube temp1 -> temp2 2.0 16.0 -EFFECT + PeakMeter temp1 -> sink 4.0 16.0 +EFFECT + Heptagon source -> sink 0.0 16.0 |
