Skip to main content
Version: Reality 5.4 SP2

Custom Projection Mesh Pipeline

In the following example we utilized an empty scene, but it is applicable to your already existing scene.

Preparations

Before you begin the process of defining a Custom Projection Mesh, several steps must be accomplished when creating and exporting your mesh from your conventional 3D design application, such as Blender or Autodesk Maya:

  • Create your 3D mesh based on your studio requirements and measurements and ensure that the mesh does not have existing seams.
  • Export the 3D mesh in FBX file format and place it into your project folder.
info

Optionally, you can reverse the vertex normals to orient them inward and create seamless UV map for better debugging.

Process

  • Right click and select the Save Link As on the ProjectionMesh Uasset uasset file in the link, and place the uasset file into your project folder.
  • Open you project file with Reality Editor.
  • Navigate to ProjectionMesh blueprint.
  • Double-click on the blueprint and switch to the Blueprint Editor.

Event Graph of Projection Mesh Blueprint

Your event graph should look like in the image above.

Components

  • Select the Mesh from the Components.

Static Mesh

  • Go to Details panel, assign your custom Projection Mesh.

Cast Shadow

  • Disable the Cast Shadow option, as illustrated above.

Render In Video Mask

  • Enable the Render In Video Mask Pass option, as shown above.

Blueprint Editor Viewport

  • Your Blueprint Viewport must look like in the image above.
  • Compile and then Save the blueprint.
  • Save your scene.
  • Switch to Reality Hub.
  • Launch the project you saved from the Launcher module.
  • Navigate to the Node Details Panel.
  • Drag and drop the UE5 node into the canvas.
  • Go to the Properties panel while the UE5 node is selected.
  • Expand the Control and then Spawn Actor property groups.

Spawning Actor

  • Navigate to Actor List, find the ProjectionMesh and click on the Spawn Actor button.

Node Details Panel

  • Select the UE5 processing node from the nodegraph canvas.
  • Expand UE5 group and select the ProjectionMesh group, as shown above.

Properties

  • Navigate to the Properties panel.
  • Expand the Default property group and then expand its advanced property, as illustrated above.
  • Right click on the Video Input property and select Show as Input from the node property context menu.

UE5 Processing Node

ProjectionMesh is ready as an input pin, as shown on the image above.

APM (Advanced Preview Monitor)

  • Connect your video source to the ProjectionMesh.Video input pin.

As the above image shows, the custom 3D mesh we included to our scene is now ready as custom projection mesh.

Custom Projection Mesh

You are able to change transform properties of the Custom Projection Mesh along with the unique settings such as enabling Debug and Lit.