Virtual Production

Use Tracker for cam movement


set to directx11 in project setting
image.png
Plugin: SteamVR on, recommend OpenXR off
Restart

Create a Media named folder, add Media Player, tick Media Texture asset
Open media player to connect cam source

R click on media texture, create material:
blend mode translucent
image.png

R click on material, create material instance
crop the edge of green screen and adjust keyer color sample
Add a plane in the scene with material instance applied

Get camera setup:


Add a BP class pawn, add motion controller in component, change motion source to the tracker (need to detect it in SteamVR first)
Connect only tracker without HMD on VRSteam:
(the folder for null driver in my PC is
C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\resources\settings)
Because I don’t have SteamDirectory folder, but name as Steam Folder instead)
image.png
Add camera component, rotate 90 degree, disable Lock to HMD
image.png
Add plane component, replace the material with the one created, rotate 180 degree and align some distance from the camera
image.png

Drag the pawn in scene to see if things fits
image.png

Go to pawn BP event graph, add mediaplayer variable, choose the default value:
image.png
copy and paste the URL link from MediaPlayer
image.png
image.png

Change player to 0 and test the game


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.