Using Composure with Camera Calibration

How to use the Camera Calibration plugin with Composure.

Prerequisite Topics

In order to understand and use the content on this page, make sure you are familiar with the following topics:

On this page
  1. Go to Window > Virtual Production > Composure Compositing to open the Composure window.

    Open Composure Compositing

  2. Right-click inside the Composure window and select Create New Comp from the menu. Click the Empty Comp Shot button to create a new empty composition.

    Create a new Comp

    Create an Empty Comp Shot

  3. Right-click the composure and select Add Layer Element. Click the Media Plate button. This media plate will use the live video feed from your camera.

    Add Layer Element

    Add a Media Plate

  4. Navigate to Content Browser > Your project folder for MediaIO > and drag MediaBundle-01 into your Level.

    Click image to expand.

  5. Select the media plate in the Composure window and go to the Details panel. Scroll down to the Composure section and expand the Input category. Click the Media Source dropdown and select T_MediaBundle-01_BC from the list. You should now see the live video feed streamed on the media plate.

    Select the Media Plate

    Click image to expand.

  6. Right-click the composure and select Add Layer Element. Click the CG Layer button.

    Add a CG Layer

  7. Go to Window > Layers to open the Layers window.

    Open the Layers Window

  8. Select the BP_UE_Tracker3 and the CameraCalibrationCheckerboard Blueprints from the Outliner. Go to the Layers window then right-click and select Add Selected Actors to New Layer from the menu. Name the layer cglayer.

    Click image to expand.

    You can also find BP_UE_Tracker3 in the Content Browser under Engine content folder.

    Click image to expand.

  9. Select the cg element layer in the Composure window and go to the Details panel. Scroll down to the Composure section and click the + button to expand the Capture Actors options. Click the ActorSet dropdown and select cglayer from the list.

    Click image to expand.

  10. With the cg element layer selected, scroll down to the LensDistortion section and select the Distortion Source as the LumixLens file.

    Apply Distortion to the CG Layer

  11. Right-click in the Content Browser and select Material from the Create Basic Asset section. Name the Material M_SimpleComp.

    Create a New Material

  12. Double-click M_SimpleComp to open it. Select the Material node and go to the Details panel. Set the Shading Model to Unlit.

    Set the Material to Unlit

  13. Right-click in the graph then search for and select TextureSample. Right-click the Texture Sample node and select Convert to Parameter. Name it CGLayer. Go to the Details panel and add a texture to the CG Layer dropdown.

    Add a Texture Sample

    Convert the Texture to a Parameter

    Add a Texture

  14. Repeat the previous step and add another Texture Sample. Name the parameter MediaPlate.

    Click image to expand.

  15. Right-click in the graph then search for and select Over. Connect the RGBA pins of both nodes to the A and B pins of the Over node. Finally, connect the RGBA pin of the Over node to the Emissive Color pin of the Material node.

    Add an Over Node

    Click image to expand.

  16. Select your composition from the Composure window and go to the Details panel. Scroll down to the Transform / Compositing Passes section and expand Transform Passes. Add the M_SimpleComp Material to the Material slot.

    Click image to expand.

  17. Expand Input Elements and add Media Plate and CG Element layers to their corresponding slots. You should now have the video feed streamed to the Media Plate and your selected Actors displayed in the CG Elements layer.

    Click image to expand.

Section Results

In this guide you learned how to use Composure with the Camera Calibration plugin.