Files
effectcraft/crates/engine/src/tests.rs
T
arnav-hiwarkar 39a3b565d8 #3487, #3488, #3489, #3490, #3491: Levels (Individual Controls): levels and gamma take After Effects' ranges
Input/Output Black and White of every channel take -10000..10000 and Gamma
goes down to 0 (it keeps its wider maximum, 10), After Effects' recorded
valid ranges in the same units (the .aep mapping is Conv::Plain). Defaults
and the 0..1 / 0.1..3 sliders are unchanged.

Gamma 0 renders as the existing 0.01 floor, an exponent of 100, so an HDR
value a few times Input White would overflow f32 and an infinite curve
times an empty output range is NaN. The curve is now bounded at +-1e6 on
the CPU (Lv::apply) and the GPU (fxt_lv), so the output stays finite over
the whole range; values below the bound are unchanged.

The engine regression (tests/effect_ranges.rs) sets both ends of each row
through prop.set, checks undo/redo, save and reopen, and that a project
saved with the narrower ranges opens with the new ones and its values.
2026-11-12 15:11:21 +05:30

70 lines
1.1 KiB
Rust

mod add_item_options;
mod aep_export;
mod aep_import;
mod anim_presets;
mod anim_tools;
mod aux_footage;
mod blender;
mod camera_track;
mod codec_options;
mod color_view;
mod crypto_pick;
mod delete_keys;
mod disk_cache;
mod display_pass;
mod effect_ranges;
mod effects;
mod essential;
mod essential_more;
mod export_overwrite;
mod face;
mod fidelity;
mod frame_export;
mod fuzz_open;
mod history;
mod import_project;
mod instance3d;
mod key_metadata_order;
mod key_time;
mod keyframe_text;
mod keylight;
mod legacy_analysis_keys;
mod limits;
mod lottie;
mod lut_files;
mod m137;
mod m145;
mod markers;
mod mask_reveal;
mod mask_warp;
mod menu_cmds;
mod model3d;
mod models;
mod motion_blur_depth;
mod paint;
mod panels;
mod project_items;
mod proxy;
mod quick_offset;
mod render_overwrite;
mod replace_source;
mod rig3d;
pub(crate) mod roto;
mod scale_comp;
mod sequence;
mod session;
mod settings;
mod shared_layers;
mod shortcut_cmds;
pub(crate) mod stubs;
mod styles;
mod tail;
mod text;
mod text_edit;
mod three_d;
mod timeline;
mod timeline_interchange;
pub(crate) mod track;
mod vector_import;
mod viewer;