Viz Artist User Guide

Version 5.2 | Published March 20, 2024 ©

Use Cases for Unreal Integration

The following lists typical use cases and describes the correct setup of them. All of these use cases refer to the Viz Engine Render Pipeline.

Note: Be sure that Postprocessing Preview is turned on when using the Design mode in Viz Artist.

Unreal Engine as Backdrop in Virtual Studio

Unreal Engine is used to render the backdrop within a Virtual Set. Viz Engine is used to compose the backdrop and the keyed camera signal. The camera is tracked by Tracking Hub and the internal Precision Keyer is used.

Render Sequence

Virtual Studio

Background Asset

Backdrop rendered in Unreal

images/download/attachments/85903646/image2020-9-10_13-45-46.png

Foreground Asset

Live tracked Camera Signal

images/download/attachments/85903646/image2020-9-10_13-44-2.png

Scene Graphics

Not necessarily required.
Can be added either as Overlay (requires Key plug-in) or behind the anchor.

Scene must have a matte scene definitions.

Can support Talent reflection.

Notes

Camera must be set to Remote.
Live in must be chroma-keyed.
Lens deformation and Render scale must be set.

Result

The final result (no Viz Graphics).

images/download/attachments/85903646/image2020-9-10_8-55-7.png

To add an additional layer as a front scene, such as a lower third, you need to assign a GFX channel as Classic Scene and as a full frame DVE effect in front of the foreground asset:

images/download/thumbnails/85903646/image2022-9-26_11-12-19.png

images/download/attachments/85903646/image2020-9-11_11-54-41.png

It is important that this DVE GFX channel is in front of the FOREGROUND layer.
The GFX Scene needs to have a correct key applied. When used in combination with a Matte scene (e.g. for external Keying) you might not want the foreground key to be blended with the matte key signal, it should be added to the existing key signal.

Key Signal blended with additional GFX Frontlayer (INCORRECT)

images/download/attachments/85903646/image2022-9-26_12-9-46.png

Key Signal added with additional GFX Frontlayer (CORRECT)

images/download/attachments/85903646/image2022-9-26_12-10-3.png

To change the way how the of DVE layers are blended, you need to manually change the blending mode to ADD. This is currently implemented as command only and will be accessible via GUI in a later version. Type the following on your console window:

send MAIN_SCENE*GLOBALS*DVE*KEY_COMBINE_MODE SET ADD

This renders the key correctly.

Note: These settings are only available if a Scene has been defined as DVE layer.

Unreal Engine as AR Object

  1. Viz Engine is used to compose an AR object rendered by Unreal Engine into a live signal. The Camera is tracked by Viz Tracking Hub. Ensure that Unreal creates valid key information by enabling Enable alpha channel support in your Unreal Project Settings > Rendering. It should be set to Allow through tonemapper.

  2. Verify the key input on Viz Engine.

    Render Sequence

    External AR

    Background Asset

    Live tracked Camera Signal

    images/download/thumbnails/85903646/image2020-9-10_13-44-26.png

    Foreground Asset

    AR graphics rendered in Unreal

    images/download/attachments/85903646/image2020-9-10_15-52-37.png

    Sample Key Signal from Unreal in Viz Engine
    images/download/attachments/85903646/image2020-9-11_10-8-44.png

    Scene Graphics

    Not necessarily required.

    Notes

    Camera must be set to Remote.
    Lens deformation and Render scale need to be set.

    Effects like Glowing, Bloom, Reflections on the Unreal Object require additional alpha information and are NOT supported.

    Casting shadows also requires an "invisible" Floor matching your real floor in Unreal and a material that casts shadows only and renders alpha information.

    Result

    images/download/attachments/85903646/image2020-9-11_8-41-22.png

Virtual Camera Flights

To use a Real camera and transition to a position in your Virtual Set and start an animation, the camera delay can be adjusted.

The number of fields the camera data gets delayed can be configured in the configurations settings in section Unreal Engine:

images/download/attachments/85903646/image2022-9-26_12-14-10.png

Information: The camera delay is automatically enabled/used when the aux_rendering option is selected.

Talent Reflection

Information: This feature requires Viz Engine 4.3.1 or higher.

Talent reflection can be set up to allow an more realistic looking Virtual Studio and tighter integration between Viz Engine components and the Unreal Engine backdrop rendering. Make sure your integration is working as described in the previous sections. The reflection itself is an effect that is rendered on Viz Engine and composed on top of the Unreal rendering.

Asset

Description

images/download/attachments/85903646/image2021-10-21_12-42-9.png

Unreal Engine backdrop rendered and sent to Viz Engine via SHM channel.

images/download/attachments/85903646/image2021-10-21_12-44-2.png
images/download/attachments/85903646/image2021-10-21_12-46-42.png
images/download/attachments/85903646/image2021-10-21_12-47-44.png

  • Live Video Input.

  • Precision Keyer applied.

  • Talent Reflection applied.

images/download/attachments/85903646/image2021-10-21_13-3-45.png

Final rendered result with masking applied.

Note: The images are not taken from a production set, it has been built for demonstration purposes only.

Follow the following steps to setup a Talent reflection with an Unreal Backdrop:

  • Add your Unreal SHM Output as Background.

  • Rendersequence needs to be External VS.

  • Put your Live Input as Foreground.

  • On the LiveInput Media Asset Properites, make sure the Chroma Keyer is set to Precision:

    images/download/attachments/85903646/image2022-12-5_14-59-51.png
  • Setup the following container:

    images/download/attachments/85903646/image2022-9-26_12-20-47.png


    • reflection: The container that finally renders the Talent Reflection. It needs to have a Planar Viz Engine Reflection plug-in assigned.

    • talentPosition: The container that reads the detected position of the talent from Precision Keyer. The two sub containers:

      • debug: For debugging purposes. If the sphere appears on the shoe of the talent, the talent position tracking works correctly.

      • cameraAlignment: The position that is used by the Reflection plug-in. It has a Look At plug-in assigned to have a billboarded orientation to the camera. It should be set to Billboard - XY Screen.

  • It is important that the reflection container holds a Key plug-in. Otherwise it is not visible.

  • The rectangle on the reflection container should match the floor position in Unreal.

  • The settings for the Planar Viz Engine Reflection plug-in are the following:

    images/download/attachments/85903646/image2021-10-21_15-29-30.png


    • The important settings are the Reflection Texture, this is the one the Precision Keyer is using and the Reflection Container, this is the container that holds the detected person position. Please use the Screenspace Reflection option (the textures for Normal map and Roughness are optional).

Once these settings have been applied, the talent should now reflect now on the virtual floor. To finetune your look, you can simulate rough surfaces using a normal and/or roughness map.

Tip: If you have different areas like in our example above, you can use some mask geometry to mask out such surfaces.

Asset

Description

images/download/attachments/85903646/image2021-10-21_15-38-57.png

Masking areas.
A basic geometry that matches the floor structure in the Unreal Scene.

images/download/attachments/85903646/image2021-10-21_13-3-45.png

Mask applied. This shows the effect only on the "wet part" of the floor.
Mask Source plug-in on the Geometry.
Mask Target plug-in on the reflection container.

Unreal Engine as the Compositor

Starting from version 5.0 of the VizrtMedia plug-in, it's possible for the Unreal Engine to act as a Keyer and compositor, receiving video input from the Viz Engine. Please refer to Precision Keyer + Compositing on Unreal Engine 5.

Acknowledgements

The Broadcast Studio Set shown in this guide is the property of Warren Marshall. The dragon is part of the Quadruped Fantasy Creatures Pack and is the property of PROTOFACTOR INC. Thanks to Steffi Mair.