Get 'Test Input' footage with right scale and position from 'VirtualCam_Unreal'

Content Creation Composer Node System Video Playback Image Sequences Video Recording Virtual Camera Unreal

 

Hi everyone!

I'm overlaying the foreground footage onto the background scene from Unreal with 'VirtualCam_Unreal'. Then I get merged video in the output, but I also need to get the foreground separately, without background and with the same position and scale as in the merged video. With 'B Texture' output it gives me scale and position as it was on the original foreground footage. Is it possible?

   vb1203

 
Profile Image
Aximmetry
11/6/2020 2:20:03 PM
  -  

Hi,

It is only possible if you turn off Allow Virtuals.

     

In this mode Unreal only renders the background, the billboards are rendered and composited by Aximmetry. Please note that in this mode you cannot apply lighting on the billboard.

Now please enter the VirtualCam_Unreal compound by Alt + doubleclick.
Find the module named "Masker" (Ctrl+F then start typing the name). Its output contains the pure image of the billboards.
Wire it out to the right.  Now you have the desired layer from outside.



 
Profile Image
vb1203
11/18/2020 6:39:43 PM
  -  

Hi, thank you a lot for your answer! It helped me with my problem.

Now I got another one.

As I said, my task is to get two pictures:

1 - billboard superimposed on a scene from the Unreal.

2 - the same billboard but instead of the Unreal scene, there must be emptiness.

I managed to achieve this, but I am running into a problem where a person's feet fall into the ground in a scene.

So in the 1 picture the legs are cropped, but in the picture with a transparent background (2), they are not.

Can I somehow make it so that I also get cropped feet on a transparent background?


 
Profile Image
Aximmetry
11/25/2020 9:44:53 AM
  -  

Hi,
It seems that you did not connected the B Mask pins.
Also this is the reason why you have a ghost image of the feet on the first picture. It is the Light Wrap effect that is not masked properly.