Virtual Production Series 01 | Using Composure tool live compositing camera feed | Unreal Engine 5.1

Rajashekar Techy
8 Dec 202212:50

Summary

TLDRこのビデオでは、Unreal Engineで使用される「Composure」ツールを紹介します。グリーンスクリーンをキーアウトし、仮想セットと合成する方法を学びます。ビデオ制作の基本を説明し、コンピューターセットアップを確認し、Composureプラグインを有効にする方法、カメラフィードを追加し、グリーンスクリーンをキーアウトする方法、マテリアルを作成して前景と背景を合成する方法を説明します。さらに、カメラの位置調整と仮想カメラを使用したシーンの組み立て方を紹介します。このビデオは仮想プロダクションの基礎を学ぶ人々に役立ち、今後のセッションではより高度な概念をさらに探求します。

Takeaways

  • 🖥️ スクリプトでは、Unreal Engineを使用してグリーンスクリーンを合成する方法を紹介しています。
  • 🔍 コンピュータ設定には、汎用のキャプチャカード、DSLRカメラ、蛍光灯、グリーンスクリーンが使用されています。
  • 🌟 Unreal Engine 5.1を使用して、地下鉄のマップを例にデモンストレーションを行います。
  • 🔌 Composureプラグインが有効になっているか確認し、必要であれば有効に設定してエンジンを再起動します。
  • 🎨 Composure合成ウィンドウを開くことで、After Effectsなどのレイヤーベースのワークに慣れている人でも扱いやすいです。
  • 📹 メディアプレートとCGレイヤーを使ってカメラフィードと背景を合成します。
  • 🎞️ メディアプレーヤーを使用してカメラを接続し、グリーンスクリーンをキーアウトします。
  • 🖼️ マテリアルを作成して、合成された前景と背景を組み合わせます。
  • 🛠️ マテリアルエディタを使用して、2Dノードとオーバーノードを組み合わせて合成を行います。
  • 👨‍🎨 カメラの位置と焦点を調整して、実際の椅子に座っているかのような印象を与えます。
  • 🎨 最後に、3D要素やエフェクトを背景に追加して、より豊かなシーンを作成することができます。

Q & A

  • ビデオで紹介されているツールの名前は何ですか?

    -ビデオで紹介されているツールの名前はComposureです。

  • このビデオの目的は何ですか?

    -このビデオの目的は、Unreal Engineでグリーンスクリーンをキーアウトし、仮想セットに対して合成する方法を学ぶことです。

  • ビデオ制作に使用されたカメラの種類は何ですか?

    -ビデオ制作に使用されたカメラは、DSLRカメラであり、HDMIケーブルで接続されています。

  • ビデオの中で使用されている照明とはどのような種類ですか?

    -ビデオの中で使用されている照明は、前面と背面の両方に設置された蛍光灯です。

  • Unreal Engineのバージョンは何を使用していますか?

    -ビデオではUnreal Engine 5.1を使用しています。

  • Composureプラグインが有効化されているか確認する方法は何ですか?

    -Composureプラグインが有効化されているか確認するためには、編集>プラグインを開き、Composureにチェックマークがあるか確認します。なければチェックマークをつけ、エンジンを再起動します。

  • ビデオで説明されている仮想プロダクションの基本的なステップは何ですか?

    -ビデオで説明されている仮想プロダクションの基本的なステップは、Composure合成ウィンドウを開くこと、フォアグラウンドとバックグラウンド要素を作成すること、カメラを接続すること、グリーンスクリーンをキーアウトすること、マテリアルを作成して両要素を合成することです。

  • メディアプレーヤーを作成する際に必要な設定は何ですか?

    -メディアプレーヤーを作成する際には、ビデオ出力メディアテクスチャアセットにチェックマークをつけて、名前を付けてOKを押す必要があります。

  • グリーンスクリーンをキーアウトする際の重要なステップは何ですか?

    -グリーンスクリーンをキーアウトする際の重要なステップは、メディアプレートからビデオをドラッグ&ドロップし、色キー設定でキーカラーを選択し、余分なグリーン部分を修正することです。

  • マテリアルを作成する際の注意点は何ですか?

    -マテリアルを作成する際の注意点は、マテリアルドメインをサーフェスからポストプロセスに変更し、テクスチャーサンプルパラメーター2Dを作成し、オーバーノードを使用してフォアグラウンドとバックグラウンドを合成することです。

  • カメラの位置と焦点の長さを調整することで何ができますか?

    -カメラの位置と焦点の長さを調整することで、自分がスクリーンに座っているかのような印象を与えることができます。

  • ビデオの最後に述べられている、今後のセッションで学ぶこととは何ですか?

    -ビデオの最後に述べられている今後のセッションで学ぶことは、より高度な仮想プロダクションの概念です。

Outlines

00:00

🎥 グリーンスクリーンのキーアウトと仮想セットの合成

この段落では、Unreal Engineで使用されるツール「Composure」を使ってグリーンスクリーンをキーアウトし、仮想セットと合成する方法について説明しています。まず、カメラセットアップとUnreal Engine 5.1の準備が確認され、Composureプラグインが有効になっているかチェックされます。次に、合成ウィンドウを開いてforegroundとbackground要素を作成し、カメラフィードをメディアプレートとして追加します。カメラは仮想カメラにアタッチされ、合成に必要な設定が行われます。最後に、グリーンスクリーンのキーアウトが行われ、余分なグリーン部分を修正する方法が紹介されています。

05:00

🛠 仮想プロダクションのためのマテリアル作成

この段落では、合成されたforeground要素とbackgroundプレートを組み合わせるためにマテリアルを作成する方法が説明されています。マテリアルエディタを開き、マテリアルドメインを「post process」に変更して、2Dテクスチャサンプリングと「over」ノードを使って両要素を合成します。しかし、最初の試みで問題が発生し、マテリアルを再作成する必要があることが指摘されています。再作成後には問題が解決され、compositeが正しく表示されるようになります。

10:02

🪑 カメラの配置と仮想セットへのオブジェクトの追加

最後の段落では、カメラを適切に配置して、自分がスクリーンに座っているような印象を与える方法が紹介されています。グリーンスクリーンのキーアウトの調整と、カメラの焦点の調整が行われ、椅子に座るようなシーンを作り出します。さらに、3D要素やエフェクトを背景に追加して、より豊かな仮想セットを作成する方法も説明されています。最後に、今後のビデオでもっと高度な仮想プロダクションの概念を探索する旨が伝えられ、チャンネルへの登録と共有を呼びかけています。

Mindmap

Keywords

💡Composure

「Composure」とは、Unreal Engine内で使用されるプラグインの一つで、グリーンスクリーンをキーアウトし、バーチャルセットに合成することができるツールです。このビデオでは、その使い方を紹介しており、バーチャルプロダクションの基本を学ぶために重要なツールとして位置づけられています。

💡Unreal Engine

「Unreal Engine」とは、3Dゲームエンジンであり、ビデオ制作においても高度なグラフィックとアニメーションを作成するのに利用されています。ビデオではバージョン5.1を使ってグリーンスクリーンの合成を行っています。

💡Green Screen

「Green Screen」とは、背景を後から別の画像や動画に置き換えるための技術で使用される緑色のスクリーンです。ビデオでは、このグリーンスクリーンをキーアウトしてバーチャルセットに合成することが主なテーマです。

💡Chroma Keying

「Chroma Keying」とは、特定の色(この場合は緑色)を透明にし、背景として別の画像や動画を表示する技術です。ビデオでは、Unreal Engine内のメディアプレートから取り込んだカメラフィードをキーアウトするプロセスを説明しています。

💡Media Plate

「Media Plate」とは、Unreal Engine内でカメラフィードを含んだレイヤーを指します。ビデオでは、メディアプレートを使用してカメラから取り込んだ映像をバーチャルセットに合成するプロセスを紹介しています。

💡CG Layer

「CG Layer」とは、コンピューターグラフィックスを表す言葉で、ビデオではカメラと背景を結びつけるために使われます。CGレイヤーを通じてバーチャルカメラに背景がアタッチされ、合成が実現されます。

💡Material

「Material」とは、Unreal Engine内でオブジェクトの外観を定義するもので、ビデオではフォアグラウンドとバックグラウンドの要素を合成するために使用されます。マテリアルを作成し、設定することで、カメラから取得した映像とバーチャルセットを効果的に合成できます。

💡Post Process

「Post Process」とは、映像編集の後処理を意味し、ビデオではマテリアルドメインを「Surface」から「Post Process」に変更することで、合成された映像をより高度に操作することができるようになります。

💡Emissive Color

「Emissive Color」とは、オブジェクトが発する光の色を指定するパラメータです。ビデオでは、合成された映像のエミッシブカラーを設定することで、バーチャルセットとカメラフィードを効果的に合成しています。

💡Virtual Production

「Virtual Production」とは、実際のセットやロケ地を使わずに、コンピューターグラフィックスを用いて映像制作を行う手法です。ビデオでは、Unreal EngineとComposureツールを使ってバーチャルプロダクションの基本を学ぶ方法が紹介されています。

Highlights

Introduction to Composure tool for keying out green screen in Unreal Engine.

Setting up a computer with a capture card, DSLR camera, fluorescent lights, and green screen for virtual production.

Enabling the Composure plugin in Unreal Engine 5.1 for virtual production.

Accessing the Composure compositing window for layer-based work similar to After Effects.

Creating a foreground and background element by adding a comp and media plate.

Adding a camera feed to the Unreal Engine using a media player from the content browser.

Keying out the green screen using Chroma keying and selecting key colors.

Fixing green screen issues like spill on hands and face by refining key colors.

Creating a material to combine foreground and background elements in the composition.

Changing the material domain to post process and setting up nodes for compositing.

Using the 'over' node to merge foreground and background elements in the material editor.

Troubleshooting initial material creation issues and the need to recreate the material.

Positioning the virtual camera to match the foreground and background elements.

Adjusting the camera settings such as focal length for a better composite.

Adding 3D elements and effects to enhance the virtual production.

Future sessions will explore advanced concepts of virtual production in Unreal Engine.

Encouragement to subscribe for more virtual production and DMX lighting basics.

Transcripts

play00:06

foreign

play00:15

in this video we'll be exploring a tool

play00:18

called composure using which you will be

play00:20

able to key out your green screen and

play00:23

composite it against any virtual set in

play00:26

Unreal Engine welcome to the basic

play00:28

series of virtual production let's get

play00:30

started before we dive in let's take a

play00:32

quick look at my computer setup so this

play00:35

is my computer I have a generic capture

play00:37

card which is running to my DSLR through

play00:39

HDMI cable and I have two lights one in

play00:42

the front and the rear both are

play00:44

fluorescent lights and a green screen

play00:45

behind me I'm using Unreal Engine 5.1

play00:49

albeit demonstrating using this subway

play00:52

train map before we begin we need to

play00:54

make sure whether composure plugin is

play00:56

enabled to do that go to edit plugins in

play01:00

this type

play01:01

composure and make sure it's having a

play01:03

tick mark If there is no tick mark put a

play01:05

tick mark and then restart your engine

play01:07

once your Unreal Engine is restarted and

play01:10

ready click on window virtual production

play01:12

composure compositing

play01:15

so the composure composting window is up

play01:18

this is similar to an after effects or

play01:20

premium or any layer based work which

play01:22

you might have done before so we're

play01:24

going to create a foreground and a

play01:25

background element here we'll Begin by

play01:27

creating a comp right click and create

play01:29

new comp

play01:31

choose empty comms short

play01:35

you can either give a name or leave it

play01:36

as it is right click and click on ADD

play01:38

layer element

play01:40

click on media plate

play01:43

expand the menu so media plate is going

play01:45

to be layer which will contain your

play01:47

camera feed and before we add the second

play01:49

layer at this point of time I would

play01:52

recommend you to add the camera so go to

play01:53

place actor

play01:56

cine camera actor

play01:59

drag and drop it

play02:01

and to see the camera press G

play02:05

reposition the camera as required so

play02:08

I'll just keep it here for now

play02:10

we'll modify it later in the comp right

play02:13

click

play02:14

and click on ADD layer element

play02:17

and choose CG layer so when you add a CG

play02:20

element it encloses the camera which

play02:22

means the camera the background is

play02:24

attached to the virtual camera which we

play02:25

just added

play02:27

as you can see the CG layer is attached

play02:29

to the virtual camera which we created

play02:30

just now

play02:32

with the foreground and background

play02:33

element in place let's connect our

play02:36

camera to the Unreal Engine to do that

play02:37

open content browser

play02:40

and on any folder right click

play02:43

go to media and choose media player

play02:46

put a tick mark on video output media

play02:49

texture asset and give okay

play02:52

give a name for your media player in my

play02:54

case I'm going to choose Nikon feed

play02:57

double click on the player the first

play02:59

time when you open the player it'll be

play03:01

blank

play03:02

because we haven't connected anything

play03:04

yet

play03:05

and at this point of time make sure your

play03:08

camera is turned on and connected to the

play03:10

computer

play03:11

to select your camera click on this drop

play03:13

down go to video choose your camera in

play03:16

my case the camera name is USB video the

play03:18

moment you select your camera if you see

play03:20

a color bar on the screen it means

play03:22

either camera is not ready or it's in

play03:24

standby mode so let me check what could

play03:26

be the reason in my case

play03:28

so in that case the camera was in

play03:30

standby mode and it's fine now so with

play03:33

this hit the save button do not close

play03:36

this window this will be the source for

play03:38

your media plate so always have this

play03:40

window minimized for your composite to

play03:42

work let's proceed to key out the green

play03:44

screen to do that click on media plate

play03:46

click on details tab open your content

play03:48

browser drag and drop your video from

play03:51

the content browser into the media

play03:53

source

play03:55

so now the moment you do that the

play03:58

preview of your camera feed is active in

play04:00

the

play04:01

bottom right corner you're telling

play04:03

Unreal Engine that this is your camera

play04:06

source to key out the green screen look

play04:07

below and look for Chroma keying under

play04:10

transform processes below chroma keying

play04:12

you would notice a word called key

play04:14

colors and to the right of it click on

play04:16

that plus symbol

play04:18

it adds an index click on plus again

play04:21

and now choose the green color which you

play04:23

want to key out

play04:25

hit accept

play04:27

majority of the green screen has been

play04:29

keyed out but you can notice a small

play04:31

patch of green on my right corner to fix

play04:34

that next to the key colors press on the

play04:36

plus one more time you have one more

play04:38

index click on Plus

play04:41

and choose the green

play04:42

click accept now you can notice the

play04:45

screen

play04:46

is keyed out completely you can also

play04:48

maximize this window you can have a look

play04:50

at the alpha channel of your key that's

play04:53

about the tool you can still refine the

play04:55

edges and still we have some spill on

play04:58

the hands and on the sides of the face

play05:00

still there are a lot a lot more to fix

play05:01

this keying but we'll stop with this for

play05:04

now we'll focus more on the composite we

play05:07

have a foreground element keyed out and

play05:09

ready and we also have the background

play05:11

plate

play05:13

but when you click on the overall

play05:14

composition it's empty because we need a

play05:17

material which will combine both these

play05:19

elements so to create that material with

play05:22

that com selected go to details

play05:25

all the way at the top

play05:27

look for transform passes

play05:29

click on the plus symbol next to it

play05:32

expand this transform pass

play05:35

next to material click on this drop down

play05:37

arrow

play05:40

create new asset material

play05:43

we're going to create a new material so

play05:45

we'll give the name as Matt Neo any name

play05:47

of your choice

play05:50

double click on the spear to open the

play05:52

material editor the material editor is

play05:55

up

play05:56

now in this window the very first action

play05:58

would be to change your material domain

play06:00

from surface to

play06:02

post process

play06:03

so we will be creating two nodes one for

play06:06

the foreground one for the background

play06:09

to create any node right click anywhere

play06:10

on the grid and type 2D we are going to

play06:13

create a node called texture sample

play06:15

parameter 2D you can either pick this

play06:18

one or other one which is below

play06:20

parameter both will work so let's pick

play06:22

on this one

play06:24

and the moment you pick

play06:26

your node if you happen to see your own

play06:30

preview here camera preview this might

play06:32

not work in my experience I've tried

play06:34

this let's proceed with the flow and

play06:36

I'll tell you why this this won't work

play06:38

with that selected we'll make one more

play06:40

copy of it

play06:41

we'll create one more note right click

play06:43

and search for over choose

play06:47

over under composure

play06:49

so this over tool is going to combine

play06:51

both these

play06:52

so here's my first input rgba goes to a

play06:56

and this goes to B

play06:58

and my output from this over node goes

play07:01

to msf color so that's about the

play07:03

connection

play07:04

and we also need to make sure this has

play07:07

the same naming Convention as an

play07:08

outliner keep this aside

play07:11

and copy this name of the foreground

play07:14

layer

play07:17

paste it here

play07:19

copy the background name

play07:21

you can either paste it here or here

play07:23

either way is fine so we have merged

play07:25

both these elements using over and let's

play07:27

go into emissive color so let's save the

play07:29

progress and let's close this out

play07:31

do not close this window this should be

play07:33

minimized

play07:35

now to check whether it worked we need

play07:37

to click on comp

play07:38

but you can see it's a white image

play07:41

instead of our composite

play07:43

this happens uh to me for the first time

play07:47

so to fix that we'll have to recreate

play07:50

the materials so one more time go to

play07:52

content browser delete the material

play07:54

which you created now

play07:56

first delete

play07:58

and go to details tab of this comp

play08:01

and remove the material pass let's

play08:03

create from the scratch so next to

play08:05

transform passes click on the plus

play08:07

symbol material

play08:10

pull down menu choose material

play08:12

and give a name we'll call it matte V2

play08:16

save

play08:18

double click on the sphere

play08:20

and now we're back on the same metal

play08:21

editor window change the material domain

play08:24

from surface to post process

play08:26

now right click look for 2D

play08:30

and let's pick the same texture sample

play08:32

parameter 2D and now if you see you have

play08:35

a green Blobby like texture

play08:37

only when you have this it works

play08:40

I don't know why it happens possibly you

play08:43

know I'll get the answer later and I'll

play08:44

keep you all posted only when you see a

play08:47

Blobby like texture on this texture

play08:49

sample node your compost will work so

play08:53

let's make one more copy of it

play08:55

and let's bring in an over node search

play08:57

for over

play08:59

bring it here

play09:01

now let's make sure both these share the

play09:04

same name as in

play09:05

outliner so this is your foreground

play09:08

element

play09:10

and this is your background

play09:17

okay that's done

play09:18

let's connect rgba a to a

play09:21

and RGB A to B

play09:24

and this RGB goes to emissive color

play09:27

okay so that's done hit on the save

play09:29

button

play09:31

the material is created let's close out

play09:33

this window and let's have this

play09:35

minimized

play09:36

now if you can see background plate

play09:39

foreground and if you want to see the

play09:41

composite click on the comp

play09:42

there you go it's done now to see a

play09:45

bigger version of this right click and

play09:47

choose preview so remember this material

play09:50

uh workaround for now for the first time

play09:52

when you create it won't work so delete

play09:54

it off and then recreate it it works

play09:57

let's keep this window aside now our

play09:59

composite is done but we need to

play10:01

position our camera so that you know it

play10:04

gives an impression as if I'm sitting on

play10:05

the screen we can still find there are

play10:08

green Jitters on the corner let's take

play10:11

care of that let's get inside media

play10:13

plate

play10:15

uh I'll fix that by dropping the alpha

play10:18

bias a bit

play10:20

so that took care of the left and right

play10:21

Green Line let's close it out

play10:23

let's right click on this comp and

play10:25

choose preview for a bigger image let's

play10:27

keep this aside

play10:30

so this is a virtual camera you might

play10:32

notice there might be one more camera

play10:35

like this when the moment you create

play10:36

composure but when you move this nothing

play10:39

will happen

play10:41

so you need to move only this one the

play10:43

one which you created

play10:44

to select a camera click on the

play10:46

viewfinder

play10:47

and then adjust the camera

play10:51

now I'm going to

play10:53

place in such a way

play10:55

I see a bit of foreground element

play10:58

and

play11:01

I'm sitting on a chair

play11:03

the chair is too big for me so let's

play11:05

adjust the focal length of the camera

play11:09

you can go to camera setting

play11:12

and uh let's change the focal length to

play11:16

20.

play11:18

I think they should be fine that looks

play11:21

somewhat better it gives an impression

play11:23

as if I'm sitting on the chair

play11:26

okay now you can add any 3D element

play11:29

behind you you can add a 3D character an

play11:33

effect anything of your choice

play11:36

so let me try to show you I'll try to

play11:38

add um

play11:40

stria element

play11:49

so you can notice I have a sphere

play11:51

element behind me

play11:53

and you can move around and place it

play11:58

and also FX for that matter so because

play12:00

of my room limitation I am choosing to

play12:03

shoot by sitting on a chair and trying

play12:05

to compost something like this you can

play12:07

try to shoot a wide shot pick any

play12:09

virtual set of your choice and plan your

play12:11

shot accordingly so that's about this

play12:14

video everyone a small demonstration on

play12:16

how to use this composure tool and how

play12:18

to key out the green screen and use it

play12:19

against any virtual set in Unreal Engine

play12:22

we'll keep exploring more advanced

play12:24

concepts of virtual production in the

play12:26

future sessions do subscribe to the

play12:27

channel do share it to your friends and

play12:29

family who would be interested to learn

play12:30

basics of DMX lighting and a bit of

play12:32

virtual production which I've started

play12:34

see you all soon on another video I'm

play12:36

Raj shekhar bye take care

play12:38

foreign

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Unreal EngineグリーンスクリーンキーアウトバーチャルセットコンポジションデジタルコンテンツビデオプロダクションCG合成メディアプレーヤーアニメーションテクノロジー
هل تحتاج إلى تلخيص باللغة الإنجليزية؟