EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Merge GPU blur/transition/generate effects into M12.7
Brandon Thomas79d3d65478be
diff --cc crates/effects/src/lib.rsindex f6278cf9c,4f3472316..1ebecb977--- a/crates/effects/src/lib.rs+++ b/crates/effects/src/lib.rs@@@ -69,8 -67,12 +69,14 @@@ use effectcraft_project::build::Idsuse effectcraft_project::{GroupKind, ParamUi, PropGroup, Property};pub use effectcraft_raster::{AuxChannels, Image};pub use misc::{INVERT_ALPHA, INVERT_CHANNELS};+pub use sim::particle_state;+pub use sim3::playground_state;+ // CPU helpers the GPU kernels share (effectcraft-gpu).+ pub use blur2::camera_lens_spans;+ pub use generate::gen_mode;+ pub use generate2::pattern_kind as cell_pattern_kind;+ pub use noise::GrainLook;+ pub use transition::place_layer;/// Effect categories in Effects & Presets order.pub const CATEGORIES: &[&str] = &[@@@ -650,17 -647,20 +656,31 @@@ pub const GPU_EFFECTS: &[&str] = &"ec.color.exposure","ec.channel.invert","ec.distort.transform",+ "ec.distort.turbulentdisplace",+ "ec.distort.displacementmap",+ "ec.distort.wavewarp",+ "ec.distort.ripple",+ "ec.distort.twirl",+ "ec.distort.bulge",+ "ec.distort.cclens",+ "ec.distort.meshwarp",+ "ec.stylize.mosaic",+ "ec.stylize.findedges",+ "ec.stylize.emboss",+ // Blur, transition and generate family (effectcraft-gpu `fx_generate`).+ "ec.blur.radial",+ "ec.blur.cameralens",+ "ec.blur.ccradialfast",+ "ec.transition.venetian",+ "ec.transition.linearwipe",+ "ec.transition.radialwipe",+ "ec.transition.gradientwipe",+ "ec.generate.cellpattern",+ "ec.generate.checkerboard",+ "ec.generate.grid",+ "ec.generate.fourcolor",+ "ec.noise.noise",+ "ec.noise.addgrain",];/// Effects whose output depends on [`EffectCtx::time`] directly (not only through animateddiff --cc crates/gpu/src/lib.rsindex 4038afe5c,2da1af203..603877f05--- a/crates/gpu/src/lib.rs+++ b/crates/gpu/src/lib.rs@@@ -161,6 -150,4 +161,8 @@@ mod tests_adjust#[cfg(test)]mod tests_adv3d;#[cfg(test)]+mod tests_fx_distort;+#[cfg(test)]+mod tests_particles;++#[cfg(test)]+ mod tests_fx_generate;