Repository navigation
fix(effects): CC Particle World / Systems II replace their layer; Time effects see earlier effects - #1111
Merged
Conversation
…particles The particles were composited with the original layer by the Transfer Mode, so the solid an artist applies them to stayed visible. After Effects 2026 frames show no trace of it: SceneYard "Burnout matchstick" (a red rectangle around the flame), "Documentary Man Falling" (a black block over the light), "Task Preparation UI" (black solids under fireworks). The Transfer Mode now only sets how the particles meet each other. Mean abs error vs AE: Burnout matchstick 0.0191 -> 0.0130, Documentary Man Falling 0.1177 -> 0.0937 (Task Preparation also needs the next commit). (cherry picked from commit 3eb3b99) (cherry picked from commit 729638710e63f4da10711fc5e6a1f7ddc42c37aa) (cherry picked from commit 0833321) (cherry picked from commit 338421d)
Echo, Posterize Time and the other Time effects read the layer at other times with none of its effects. After Effects renders them with the effects before them: SceneYard "Task Preparation UI" applies Echo after CC Particle Systems II on black solids, and AE shows the echoed fireworks over a white page where we echoed the black solids and blacked it out (Posterize Time after Turbulent Displace, the usual stop-motion setup, depends on the same). The host already bounds the count to the effects before the one rendering. Mean abs error vs AE: Task Preparation UI 0.1855 -> 0.0071, Lightbulb Idea 0.0126 -> 0.0102; the 15 other corpus projects with a Time effect after another effect are pixel-identical. (cherry picked from commit 4687045) (cherry picked from commit 334d102582e5a64db32e2f3e55836d55ac96bdaa) (cherry picked from commit 734da3e) (cherry picked from commit 87a733e)
3eb3b99 makes the particles replace their layer as in AE, so their 112 pinned CPU hashes change intentionally; no other effect changed. (cherry picked from commit 9900eae) (cherry picked from commit 7aa27c0dd7c24b9f24591bb144a95951dc0ec510) (cherry picked from commit 73377e8) (cherry picked from commit f07497d)
eliasx45
added a commit
to eliasx45/effectcraft
that referenced
this pull request
Oct 12, 2026
…told#858); reply 858 has PR numbers
Member
|
Merged. Thank you for the contribution, @eliasx45! It landed on This landed alongside #1117, which fixed part of the same thing. Your PR is the superset, so we took it. The re-pinned golden hashes pass on Linux x86_64 here; the aarch64 macOS ones will be confirmed by the macOS job. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two effect fixes found comparing against After Effects 2026 renders:
composited over the original layer by the Transfer Mode, so the solid they're applied to stayed
visible (a red rectangle around a flame, black blocks over light). The Transfer Mode now only
sets how particles meet each other. Their 112 pinned CPU golden hashes change on purpose (re-pinned
in its own commit); no other effect changed.
effects read the layer at other times without its earlier effects; After Effects renders them
with those effects (e.g. Echo after CC Particle Systems II, Posterize Time after Turbulent
Displace). The host already bounds the count to the effects before the one rendering.
Why
Mean absolute error vs After Effects on test projects: 0.0191 → 0.0130, 0.1177 → 0.0937, and
0.1855 → 0.0071 for one using both; 15 other projects with a Time effect after another effect are
pixel-identical. Split out of #858 as asked.
How tested
crates/render/src/tests_time.rs(new case) andcrates/effects/tests/particle_golden.rs(re-pinned); written with the changes, not re-run on this branch.
rustfmt --checkandcargo check --all-targetson the affected crates on current upstreammain.