Tutorials

This page provides practical guides, step-by-step tutorials, and insightful tips designed to help both beginners and advanced users with VP workflows you can achieve using CameraTwin

CameraTwin Video Tutorial Series

Examples

Typical 2 Layer Composition Setup

This is a common setup of a 2 layer composition. The first layer has the Camera Input stream which is masked by chroma-keying and is rendered on top of the second layer, the CG layer, which renders the virtual world based on the Camera Component of BP_CT_CameraActor. While this example focuses on a 2 layer composition, you can create compositions with multiple layers by adding more layers and altering the Main Composition material to support them.

Steps:

  1. Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder

  2. Go to Window and search for Composure (video)

  3. Right-click inside the Composure window and Create New Comp (video)

    1. Open ALL CLASSES in the pop up window

    2. Search and select the BP_CT_2L_Composition

  4. Right-click on the Composition you just created (video)

    1. Select the Add Layer Element

    2. Open ALL CLASSES in the pop up window

    3. Search and select the BP_CT_InputStreamElement

  5. Right-click again on the Composition (video)

    1. Select the Add Layer Element

    2. Select the common CG Layer

  6. Make sure that inside the Transform Passes of the composition under the TransfromPass_0->Input Elements (video) :

    1. The media label has the name of the input stream composition layer (default: layer_element1)

    2. The cg label has the name of the CG Layer (default: cg_element1)

The setup explained above can also be found in the Plugin’s Content folder and specifically in the level Examples/Composition Example.

Plane - Static Mesh Setup

An alternative approach, to the composition setup, would be to add a Plane or any StaticMesh Actor and use it as a projection plane or surface for the incoming video stream. For simplicity the steps below will assume that a Plane is used as the projection surface.

Steps:

  1. Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder

  2. Add a Plane actor to your level via Shapes->Plane (video)

  3. Set the Material of the Plane Actor to M_CT_InputStream (video)

  4. Add a Live Link Controller component to the Plane Actor (video)

  5. With the CameraTwin - Live Link Source connected (video)

    1. Select the Video Stream Subject in the Live Link Controllers

    2. Select the Live Link Camera Twin Mesh Controller in the Role Controllers

Chroma-key Setup

This is a typical setup workflow designed for chroma-keying setups.

  1. Prepare your virtual setting in Unreal Engine

  2. Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder

  3. Setup the 2 layer composition

  4. [Optional] setup your Sequence

  5. Connect to your CameraTwin Source via the Live Link window

  6. Select your composition output and start streaming via the CameraTwin Composition Streamer output, which will create and NDI source, or open the preview window

  7. You are now ready to shoot!

AR Composition Setup

This is a typical setup workflow for Augmented Reality (AR) compositions.

  1. In the Project Settings got to PostProcessing -> Enable alpha channel support in post processing (experimental) and set it to “Allow through tonemapper”

  2. Prepare your virtual setting in Unreal Engine

  3. Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder

  4. Setup the 2 layer AR composition similar to the normal 2 layer composition setup

  5. [Optional] setup your Sequence

  6. Connect to your CameraTwin Source via the Live Link window

  7. Select your composition output and start streaming via the CameraTwin Composition Streamer output, which will create and NDI source, or open the preview window

  8. You are now ready to shoot!

Last updated