Merge main (layer styles, engine menu tree) into time/audio branch

Resolve conflicts; register playback.audio (Composition > Preview > Audio)
as a real frontend command replacing its stub; layer_at uses content_buf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-02 00:19:34 -04:00
co-authored by Claude Opus 5.5
58 changed files with 7925 additions and 371 deletions
+9 -1
View File
@@ -61,7 +61,7 @@ text animators and shape contents are groups in the same tree.
`Renderer::comp_frame(comp, t)` walks the layers bottom to top. For each visible layer it renders
the **source** (solid, footage frame, text, shape contents, or a nested comp), applies **masks**,
then **effects** in order, then the **transform** into comp space (with motion blur sub-samples
then **effects** in order, then **layer styles**, then the **transform** into comp space (with motion blur sub-samples
when enabled), the **track matte**, and finally **blends** into the accumulator. Adjustment layers
apply their effects to the accumulator. Runs of 3D layers are composited per pixel through the
active camera, with lights, shadows and depth of field.
@@ -81,6 +81,14 @@ the Effect > Audio effects (`effects::audio_fx`, applied per layer with a pre-ro
independent). Export and preview playback share it; the desktop app plays it through cpal and the
audio clock drives preview playback (`ui-egui::audio`).
**Layer styles** (Layer ▸ Layer Styles; `crates/render/src/styles.rs`) render in layer space and
may grow the layer's bounds. Drop Shadow and Outer Glow become separate passes composited below the
layer with their own blend modes; the interior styles, Stroke and Bevel and Emboss are baked into
the layer body. Layer opacity fades the whole stack; Knockout and the R/G/B channel switches apply
at composite time. Styled pixels are cached separately from the layer content, so editing a style
reuses the cached source/masks/effects. Global Light is one setting per comp, mirrored into every
layer's Blending Options and kept in step after each edit.
Half, Third and Quarter resolution render proportionally fewer pixels end to end.
## 5. Expressions
Binary file not shown.

After

Width:  |  Height:  |  Size: 658 KiB

@@ -0,0 +1,8 @@
asset: effectcraft-3d.png
title: EffectCraft Classic 3D
author: EffectCraft contributors
source: original work (headless render of the EffectCraft UI via crates/ui-egui/examples/snapshot.rs)
license: MIT OR Apache-2.0
license-file:
added: 2026-10-01 by Claude (agent) for Brandon Thomas
notes: Screenshot of EffectCraft only, showing procedurally generated demo content from crates/engine/src/demo.rs and built-in effects. EffectCraft Classic 3D: the demo "3D Showcase" composition in Custom View 1, showing intersecting 3D planes, spot-light shadows, the camera frustum and light wireframes.
Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

@@ -0,0 +1,8 @@
asset: effectcraft-effects.png
title: EffectCraft effects
author: EffectCraft contributors
source: original work (headless render of the EffectCraft UI via crates/ui-egui/examples/snapshot.rs)
license: MIT OR Apache-2.0
license-file:
added: 2026-10-01 by Claude (agent) for Brandon Thomas
notes: Screenshot of EffectCraft only, showing procedurally generated demo content from crates/engine/src/demo.rs and built-in effects. EffectCraft effects: a CC Particle World particle burst with Glow on a black solid, with the Effect Controls panel listing its parameters.
Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB

@@ -0,0 +1,8 @@
asset: effectcraft-graph-editor.png
title: EffectCraft Graph Editor
author: EffectCraft contributors
source: original work (headless render of the EffectCraft UI via crates/ui-egui/examples/snapshot.rs)
license: MIT OR Apache-2.0
license-file:
added: 2026-10-01 by Claude (agent) for Brandon Thomas
notes: Screenshot of EffectCraft only, showing procedurally generated demo content from crates/engine/src/demo.rs and built-in effects. EffectCraft Graph Editor: the value graph of the EFFECTCRAFT text animator Range Start keyframes with easing, and the graph editor button bar.
Binary file not shown.

After

Width:  |  Height:  |  Size: 746 KiB

@@ -0,0 +1,8 @@
asset: effectcraft-hero.png
title: EffectCraft main window
author: EffectCraft contributors
source: original work (headless render of the EffectCraft UI via crates/ui-egui/examples/snapshot.rs)
license: MIT OR Apache-2.0
license-file:
added: 2026-10-01 by Claude (agent) for Brandon Thomas
notes: Screenshot of EffectCraft only, showing procedurally generated demo content from crates/engine/src/demo.rs and built-in effects. EffectCraft main window: the demo composition "EffectCraft Intro" at 0:00:03:00 with the EFFECTCRAFT text layer selected, Properties panel (Layer Transform, Text, Paragraph, Text Animation), Project panel and Timeline.
Binary file not shown.

After

Width:  |  Height:  |  Size: 611 KiB

@@ -0,0 +1,8 @@
asset: effectcraft-render-queue.png
title: EffectCraft Render Queue panel with the demo compositions queued for H.264 and ProRes export
author: EffectCraft contributors
source: original work (headless render of the EffectCraft UI via crates/ui-egui/examples/snapshot.rs)
license: MIT OR Apache-2.0
license-file:
added: 2026-10-01 by Claude (agent) for Brandon Thomas
notes: Screenshot of EffectCraft only, showing procedurally generated demo content from crates/engine/src/demo.rs and built-in effects. EffectCraft Render Queue panel with the demo compositions queued for H.264 and ProRes export.