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
Last updated
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
Last updated
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:
Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder
Go to Window and search for Composure (video)
Right-click inside the Composure window and Create New Comp (video)
Open ALL CLASSES in the pop up window
Search and select the BP_CT_2L_Composition
Right-click on the Composition you just created (video)
Select the Add Layer Element
Open ALL CLASSES in the pop up window
Search and select the BP_CT_InputStreamElement
Right-click again on the Composition (video)
Select the Add Layer Element
Select the common CG Layer
Make sure that inside the Transform Passes of the composition under the TransfromPass_0->Input Elements (video) :
The media label has the name of the input stream composition layer (default: layer_element1)
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.
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:
Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder
Add a Plane actor to your level via Shapes->Plane (video)
Set the Material of the Plane Actor to M_CT_InputStream (video)
Add a Live Link Controller component to the Plane Actor (video)
With the CameraTwin - Live Link Source connected (video)
Select the Video Stream Subject in the Live Link Controllers
Select the Live Link Camera Twin Mesh Controller in the Role Controllers
This is a typical setup workflow designed for chroma-keying setups.
Prepare your virtual setting in Unreal Engine
Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder
Setup the 2 layer composition
[Optional] setup your Sequence
Connect to your CameraTwin Source via the Live Link window
Select your composition output and start streaming via the CameraTwin Composition Streamer output, which will create and NDI source, or open the preview window
You are now ready to shoot!
This is a typical setup workflow for Augmented Reality (AR) compositions.
In the Project Settings got to PostProcessing -> Enable alpha channel support in post processing (experimental) and set it to “Allow through tonemapper”
Prepare your virtual setting in Unreal Engine
Add a BP_CT_CameraActor to your Level using QuickPlace or from the Plugin's Content Folder
Setup the 2 layer AR composition similar to the normal 2 layer composition setup
[Optional] setup your Sequence
Connect to your CameraTwin Source via the Live Link window
Select your composition output and start streaming via the CameraTwin Composition Streamer output, which will create and NDI source, or open the preview window
You are now ready to shoot!