With Scene Transitions (or Transition Scenes), Ventuz can seamlessly blend two Scenes or Templates. The Transition Scene holds the current on-air Scene, and the cued Scene in a Scene Port. Because of this, it is possible to blend the two Scenes together to enable Ventuz to make both Scenes visible at the same time.
To use Transitions, every Template in Director has a tab with Transition, to add a built-in Transition or custom Transitions. The Transition is always added to the cued Template and will be placed between the (default) Layout Scene and the Template Scene when cued. Because the Scene Transition holds both Scenes, the engine has to validate and render both. When both Templates are in the same Scene, the Scene is loaded twice to perform the Transition.
Please Note: during a transition, Ventuz will render both Scenes at the same time; Please ensure that all systems that will be using these transitions can handle the extra load of two scenes running simultaneously
The following HowTo is a guide to build a custom Transition Scene to blend or animate between two Scenes inside of Ventuz Director. For more details about Scene Transitions click Here
The Transition Scene is placed between the Layout Port and the Scene when it's cued with a Template/Scene. When the animation or Transition is complete, the Transition Scene is released and only the active Scene is rendered in the Program Pipe. This enables Ventuz to blend or animate between these two Scenes in any way. As both Scenes are rendered in at the same time when a Transition Scene is cued, the machine needs to have enough resources for both. Keep this in mind when using performance-heavy Scenes and make sure to test.
While there are many built-in Transitions, it's also possible to create custom Transitions for your project. Here's how you create your own customized Transition:
In Ventuz Designer, there is a menu that has preset Scenes to make getting started easier:
Click File -> New From Preset -> Scene Transistion.
In this preset Scene, you will see the base requirements for a Transition Scene:
By default, the Template Scene Transition uses the Mixer Layer which helps to blend between two Layers. This is a very useful tool for nice blends, but it is not mandatory for the custom Transition to work.
For this HowTo we will create a simple cross-fade between the two Scenes. A cross-fade is one of the simplest Transitions and is also included in the internal default Transitions in the Director. It is an easy start to demonstrate the workflow of a custom Transition.
The Scene in the Preview Pipe (Scene Port To) should be increased in opacity over time and the Program Pipe (Scene Port A) decreased. The Begin State of our Animation should only show the first Scene Port (current Program Pipe) and the Present State should only show the second Scene Port (Preview Pipe). When the transition has completed, the Scene will automatically go to the Program Pipe and release the Preview Pipe for its next use.
First, we need content in the Scene Port to Transition From and To:
Thanks to the Mixer Layer, the cross-fade between two Layers is very easy. The default setting of the Mixer Layer is to Mix between both ports with the input Property Progress.
Add the Progress input to the Main Animation and animate it:
(Note: When using the Template Transition Scene this step and the following animation is already done.)
You will find a Begin and a Present State and a connection between these two. The drawn rectangle in the middle of the connection represents the data of the Transition. click on the rectangle to edit the Transition name and the displayed name for the Director UI. You can also use a description and a category. Similar to the Templates, Thumbnails can be added at the bottom of the Property editor.
Since the connection between these two States represents our Transition, all our blending and animating has to be done here. We switch to the Timeline tab. (simply press T)
Note: It might be necessary to activate the Monitor Timeline and Value switch in the top-right corner of the Animation Editor, to see your timeline cursor moving.
There are already two channels in the Timeline. By default, these are bound to the Transition Info Node to control the audio level in the Scene Ports during the transition.
For the cross-fade, simply animate the Progress channel from 0 on From to 100 on To click on the keyframe of From and set 0 and navigate with the timeline cursor to To and set 100.
In general, we always want From be solely visible on the beginning of the Transition and To solely at the end. This is necessary to have a issue-free Cue and Take process.
With space-bar you can trigger the playback of the timeline and see your animation. Alternatively you can move around with the cursor to manually watch the animation.
The general duration is defined by the length of the connection between the two States. Per default, it is set to 1 second. You will see To at the time marker of 1s or 10.0 (depending on your Timeline settings) To change the default duration, move the To (Present State). The timing also can be changed in the Director.
Okay our basic cross-fade animation is done now.
The Scene Ports must be empty before saving and switching to Director.
The work in Designer is done now, so we can switch to Director.
To use a custom Transition the .tranz.vzs scene has to be part of the Project directory of the Director Show.
When Ventuz Runtime is up and running and your Configuration is setup correctly, you should see now two blank windows and be able to cue a Template by double-clicking on the icon in the Templates window.
To add a Transition from one Template to another:
The Transition is always added to the cued item and defines how the Template comes in. So the Transition is always applied to the current content in the Program Pipe and the cued Template with the Transition.
The Duration property of the Transition overwrites the default timing. It simply stretches or squeezes the animation between the first and second State of your Transition. If you cue your Template or any item from the Asset Browser, like an image or video, and add your Custom Transition, you can see your Transition in action and have successfully built a custom Transition Scene!
Here are some design tips for building more complex Scenes:
If you're having difficulty cueing a template, here is a brief list to troubleshoot:
These steps should bring the Configuration to a default basic setup. In general, you can use the Transition Scenes with the same setups you are used to in Director.