This animation was done with multiple CompositorVFX
CompositorEffects are often not just a single effect, but multiple effects working together.
There is often the need to define animation parameters for fading them in and out.
That's why all RokojoriCompositorEffects have the property animationTargets, which allows
to define mappings for properties from 0 to 1.
These animationTargets are used by the CompositorVFX.
ANIMATION TARGETS
RokojoriCompositorEffectAnimationTargets are the abstract/archetype target that the RokojoriCompositorEffects
can work with. In the future, there are more planned, but for now, only one implementing type exists:
CompFXMemberCurveTarget.
It needs the name of the member and a curve to map the values. The values can be scaled
and it works for properties of the type float, int and bool.
CompositorVFX are Nodes that hold a CompositorVFXPreset and animate them via a driverValue.
A driverValue of 0 means the effect is off, while a value of 1 means it is on.
Layers & Sortation
When the a CompositorEffectLayer is specified and the target Compositor has a CompositorEffectLayerTargetSlot containing the layer, the effects are inserted
after the slot while respecting the priority value. This can be used to correctly insert and layer multiple effects
in a specific order.
Presets for Multi-Effects
A CompositorVFXPreset is an array of multiple RokojoriCompositorEffects.
It can be stored as presets and can be reused in many projects.
The Rokojori Action Library comes with a couple of built-in presets
in the directory CompositorVFXPresets
This animation was done with multiple CompositorVFX
Wipes are SequenceActions and have their own animation system.
They use WipeSettings to define the target Compositor and the WipeCompositorEffect and have
a separate variable for the duration.
Wipe
direction:Enum[In,Out] = In
duration: Duration = SecondsDuration
wipeSettings: wipeSettings = WipeSettings "Noise Wipe"
Action
triggerMode: Enum[Only_When_Processing_In_Hierarchy,Always] = Only_When_Processing_In_Hierarchy
@ToolButton "(?) Help"
@ToolButton "Trigger Action in Editor"
The direction determines whether is wiping in or out:
In: The screen will be hidden at the end Out: The screen will be visible at the end
For now, there are only three wipes to choose from, but I may add more in the future.
Let me know, if you have a good idea!