All language subtitles for nuk214-class01

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

hey everybody

welcome to class 1 of Nuke 2

14 on ethics PhD

I'm Jeremy Brown

and I'm a compositor and digital artist

at Zero Visual Effects in Boston

um I'm happy to be here with John Deveraux

and Charles Le Page

we're going to be doing a lot of fun stuff in the class

uh we're gonna be learning how to

do a lot of different kinds of paint work

rotoscoping uh

projections um

any kind of compositing trick you can think of really

uh and not only that

we're gonna focus

a lot on how to collaborate with other people in your

uh in whatever production pipeline you're working in

so let's uh

let's jump right in

so I thought it would be useful

at this point to take a look at

the file structure that I'm going to be working with um

I use this at home by myself as well as um at zero

this is how we organize all of our clients and projects

so uh on the route level are all the

my uh current clients and uh

let's just take a look inside one of them

inside each client folder is folders of projects

and we organize the project by code

um so the first two letters of each project code

are the other

our client code uh

the next two numbers are the current year uh

we're in 2011

and the last two numbers are

the number project for this year

so this is the first project I've done

for this client in 2011

uh the next four folders uh

that live on the route directory are the image folder

that's where any kind of uh

finished images go or um

any kind of painted images or pre concert

or plates or things like that

um the input output folder is uh

broken up into client and vendor

and that's where uh

I keep files that were either received from a client

or a vendor or sent to a client or a vendor

and by vendor I mean any

anyone that's not yourself or not your company

um that you've um

that you're currently working with

uh inside the ref folder

is all kinds of files that are used

for reference on the project

uh concept images

you know art cards or

or things like that live in the concept folder

um if there's a current edit of the TV spot or

or sequence that I'm working on

uh that goes in this folder

and in the stills folder are any kind of

still images used for reference

inside the work folder

we have it broken down by application

um so I have a folder for each

each program that I intend to use or

or may use on the project

um in here uh

so let's take a look at the uh

the new folder

inside each of these work folders

uh it's broken down by shot

and those correspond to um

to to the shots in the comps folder um

whenever we store image sequences uh

we put them in a folder that corresponds to

the name of the file that rendered them

that live in my work folder

and then inside each uh

each folder that contains

the image sequence is another folder that specifies uh

the format and the file type uh

in this case

these are uh

DPX files at um

high definition

so of 1920 by 1080 dpxes

and the only thing that goes in that folder

are the images themselves

and the same thing goes with any other uh

with any other image sequence um

it's a good way to keep track of uh

if you have a proxy render of this thing

uh if it's at

if it's at half rez or standard definition

you just put uh

SD dot dpx instead of HD

that way you can organize your image sequences

easily so you can always find

multiple renders of the same thing

so that's the uh

that's the file structure that I'll be using and uh

we'll get used to it uh

throughout the class

I just wanted uh

to give you guys a quick introduction of

of how things work

and we'll be going into greater detail

with most of these folders

uh throughout the class

so in this first class

we're gonna discuss some best practices for rotoscoping

and how to work efficiently

and work well as part of a team

so this is the shot we're gonna look at of this guy

riding this motorcycle through the busy street

it displays a lot of

problems and features that you might run into

while you're rotoscoping other shots

uh it has a moving camera

it has a moving subject

it has objects in

the background that we're going to isolate as well

so uh it's a pretty good representative shot

of a bunch of different issues that you may run across

so what we're gonna do first is I start with a tracker

to get the overall motion of the bike

um this is not supposed to be like a

mathematical

pixel perfect uh track

this is just so I can block in the uh

the motion of the bike

so that that can assist us with the roto

so I chose this uh

big bright light

it's uh brighten all the channels

and there doesn't seem to be a lot of green

so this should be a fairly easy track

so let's just go ahead and

give that a shot

tracking him pretty well

good and now I'm just gonna change the uh

the transform property to match move

so now whatever is plugged into the tracker is gonna

match move with the motion of that bike

uh right now it's on the plate which isn't very useful

but now we make our first roto node

and make that the input of the tracker

and what I'm gonna do first is make a grade node

I'll use that later and explain what that's useful for

um later in the class

but this is just so that we can see our

our match moved roto on top of the plate

um cause they have to be linked together in order

for you to to

to look at um

the resulting rodo

so the first object that I'm gonna do is the

uh is the wheel

that's what I'm gonna start with

so using my Bezier tool

I'm just gonna start uh

start blocking in that shape starting on frame 1

it's important to plan and think about what uh

what shapes you're going to do

and how you're gonna roto them

uh but it's also important

not to spend too long on that step because uh

chances are the roto that I'm starting with

the shapes that I'm starting with

aren't gonna be the ones that I ultimately end up with

I'm probably gonna end up uh

starting over on a couple shapes or uh

or deleting a lot of keys later and adjusting

um how many points are on what

what particular shape and stuff like that

so don't get hung up on the planning phase

uh because you're

probably just gonna be working against yourself later

so the way that I like to roto

um is a method that I call interval roto

uh I basically choose a range of frames

um or choose an interval of frames

in this case

uh 12 in most cases I

I do 12 depending on the shot so you just go in uh

in intervals of 12 along the shot

and as you can see the

the roto is match moved to our light

which is what we want

so that's the overall motion of the subject

and so yeah

just go every 12 I'm pressing shift arrow um

to to move this number of frames

you can also use these keys right here um

and for phase 1 of interval roto

for your base level of motion

uh do your best not to touch individual points um

we're just trying to block in the overall motion

the overall shape of the of the wheel um

not going for detail at this stage

so just uh just put it in the right place

the point of this method is we're gonna be

laying in layers of motion

so that at each stage of the rhodo um

we know that the keyframes that we've set are

are good and accurate uh

that way we don't go

you don't go backwards

you don't miss a step or if you um

start to go too detailed too fast

then you're more apt to introduce

introduce problems in the roto um

that you that make it harder to fix uh

when you've set too many keyframes

and I'm using uh

control or uh command or apple on a Mac um

control on a PC to uh

to change my pivot point um

I'm setting my pivot point to the bottom of the wheel

because that's really where the

the rotation of the

of the wheel is coming from where the

where the wheel hits the pavement

and you can use shift to

get rid of the dead zone that it comes with um

it tries to snap to cardinal positions

0 and 45 degrees and 90 degrees

if you wanna rotate in between inside that dead zone

you just hold down shift

and that gives you ultimate control

so that's our

that's our first layer of motion every 12 frames um

and as you can see it's

it's of course slipping

but that's because we haven't gone too detailed um

at this point when

if I was rodeoing the whole bike

I'm I'm not gonna Rodeo the entire bike at this point

just because um

of for time reasons I wanna

I wanna jump

jump ahead to other things um

but at this point uh

I would bring every single object

every single shape that I was going to do

I bring to this level of detail first

so that every single shape is rotate on every 12 frames

um so let's just pretend that uh

I've routed the rest of the biker to this level

and I'll move on to basically phase 1.5 um

step 1.5 is taking those intervals of 12 and uh

and making sure that they match on every frame

so basically taking this first level of motion

to close to final um

so now you can kind of push and pull points and

and make them line up with the uh

with the outline with this um

profile of the shape

it's really important to work in steps

at any time someone might

need to get started on another task that relies on

the rotor you've done

so you don't want to have to say

oh I've I've

I've got this wheel

it's perfect

it's pixel perfect uh

what about the rest of the bike

oh I haven't even started that stuff yet

so it's important to work in steps

you wanna be able to

to deliver something at

at any point

even if it's not final uh

just to keep

keep the production moving

cause that's really the most important part is

is making sure that everybody can work on something um

all of the time

it's it's a

it's a bad place to be if you're the bottleneck in a

in a pipeline

so always try and keep that in mind

and I'm using alt arrow to to go between keyframes

which makes navigating the timeline a little easier

so again I would bring all of my roto

um on the entire bike to this stage before moving on

but again we're just focusing on the wheel right now

so I'm gonna skip ahead

and now we're gonna go in between those um

those 12 frames um

so go six frames in from the start

and that's gonna be our first um

in between interval that we're gonna do um

so this part is much like the first phase uh

we're just kind of moving the shape into position uh

not worrying about accuracy just yet

just bring this is this is the second layer

layer of motion that we're introducing into this thing

so the idea is that

when you progress

to each layer of motion

you know that the one before it

is good and you're not introducing any problems uh

the other reason is this is the

really the best way to um

make the computer do as much of the work for you um

it of course you can

you know go in and paint every single frame of a mat

but it'll never be perfect if you do it that way

and also you've spent a long time um

doing that so it's important to

try and make the computer do as much as um

as much work as possible

so now I'm doing step 2.5 basically

um doing the same thing as 1.5

I'm just revisiting all those

all those keys that I've just made and making sure that

that those line up

and I'm also trying to be uh

consistent in terms of where I put my edge uh

if you notice there's some motion blur areas in this

in this shot and I chose to

to roto to the inside

of that edge

some people tell you to roto the center

some people tell you to roto to the

to the edge of the motion blur um

it's less important where you put that edge

it's more important as the

it's more important to stick to whatever

edge you choose

it's way easier to erode or dilate an edge

later than it is to go back and fix the roto

so as long as that edge remains uh

consistent throughout the shot

then you've done a

big favor to whoever has to composite this

uh if the edge floats around within the motion blur

from frame to frame

it's much more difficult to use that roto

and would require you to go back and

and fix keyframes instead of just

modifying the mat overall

the other reason that I chose

12 frames is because on the second layer of motion I am

12 is easily divided into the 6 frame chunks

so I just go in between each one

and it's a nice even number

I've always felt that rotoscoping is a skill that's uh

that's kinda undervalued in the industry

it's something that

no one wants to do for obvious reasons

cause you can kinda go crazy

um especially on long shots

uh and it's usually considered an entry level job which

which makes sense uh

but it's not a skill that

that people are anxious to learn

it's not a skill that uh

that many people view as as you know

prestigious

everybody would rather do it automatically

of course that's why we have

green screens and keys and all that kind of good stuff

but I found that there's really no substitute for

good roto um

the best green screen in the world still can't touch

a perfect rotoscoped edge as far as I'm concerned

so it's something that

that you should really take seriously

and try and get good at if you wanna

if you wanna be successful

um of course

it's not required but it's

it's definitely something that's

that's always helped me um

if if you're

if you're you know

six hours from delivery and you realize

oh my gosh we need a mat for

for this wheel then uh

somebody's gotta

somebody might have to rotoscope it

and do it really fast

so it would be great if you're that person and

you're in that position to

to save a delivery

because you Learned how to roto

great so that's uh

this is now wrote on every 3 frame with a tracker

and that's not looking too bad

so now um I wanna move on to uh

on to how to check Roto um

at this stage you can of course go in between um

these intervals of now 3 and fix up any

any remaining problem spots

but usually this kind of um

resolution of key frames is sufficient for

for most shots um

if you don't have great detail in uh

in the rhodo and in these in between frames

it either means that um the shop

the object requires you to

to be more detailed and maybe go every two or in

extreme cases every frame to

to block in motion but for most things um

you really shouldn't need

um much more resolution than this

uh so I'm pretty happy with that so let's move on to

um on to how to check this roto now that we've

now that we've done it

so now that we've rode the biker

we're gonna learn how to check roto

this is my finished roto of the of the biker

and uh what I

forgot to mention while we were doing it is

it's really important to as you're working um

name your shapes

uh each one of these shapes

I named right after I did the first round of motion

and you should do the same

it's important to keep

keep things straight and make sure that again

someone if someone else needs to pick up the

pick up the shot

they'll they'll be able to do it easily

so back to that grade note that uh

that I made earlier um

I put it some mask input as the roto so that we can um

basically just lift up

one of the channels so that we can see

that edge as pixels instead of um

instead of as lines because it can be kinda deceiving

you see the lines moving appropriately in

in the right place

but it might

um it's usually easier to see

what's actually getting output if you

if you look at uh

look at the mask this way

um nuke does have a built in feature to do this uh

but I tend not to use it

I just find it easier to to do most

most things in the uh

in the no graph itself

so it looks pretty good

uh the big advantage to this method is it tells you

right off the bat big areas that you've missed

uh so I noticed that I left a hole in uh

in his chest area right around um

right around here

so I'll have to go back and clean that up

it also tells me that I missed this little

knob thing on the wheel that I'll have to pick up

and a sliver of the

of the bike that I missed too um

so we'll go and uh

I'll go fix those in a bit

um but I just wanna move on to some other um

checking techniques

uh it doesn't matter if you use lift or

or multiplier or whatever

basically you're just trying to change the color of uh

of the pixels inside the mask

so that's one way and that's a great way

um but it doesn't show you everything

it doesn't show you the uh

it doesn't show you any floating that might be going on

or jittering or

or something like that

so the best way to

to look at that is to actually do a little slap comp

so I'm just gonna disable my grade node

leave it leave it there for now

um but I'm gonna go ahead and make

a merge node and a copy node so now

I'll just copy my alpha channel from the roto itself

and the B channel is gonna be my my RGB

RGB channels and also make a constant color

uh it can be anything

let's make it uh 50% gray for now

and the roto is my a

because I'm gonna be putting it over this constant

and of course pre multiply

so now what I have is the biker over a constant colour

and this will really tell you

how accurate the Roto is in terms of its consistency

so once that caches up we can see it

so not too bad overall

uh the biggest area of floating that

that I see is right here on the muffler in the back

where it kind of floats off for a little bit

so that's another area that I'd that I'd go in and uh

and fix a little bit

so this is a task that uh

that I must have done 100,000 times

make this little network

so one way that we can speed up uh

this process of checking Roto is um

by making a gizmo

uh a gizmo is

is basically just a group of nodes um

you can also make just a group of nodes in nuke

and that's exactly how we're gonna start

so I'm gonna select this network and press Apple G

and that makes it into a group

so right now

all of these nodes got condensed into one group

you can access that subgroup by pressing the little

s in the uh

in the group note itself

um and it shows up as a separate no graph

uh right here

so what this basically does is

it creates kind of a palette for us to

to create a node

um in nuke uh

with all kinds of buttons and stuff like that

uh it uh it figures out how many input nodes to make

and how many output nodes to make based on

how many inputs you had

coming into the group to begin with

um so it creates those by default

and if we rename them

uh this input uh

was for the

was for the roto

so I'm gonna call it roto

and this input was for the plate

the RGB channel

so I'm gonna call it uh

call it plate

and now when we look at the group note itself

it's labeled the uh the input arrows as roto and plate

so that's the first step and let's uh

let's name the group itself Roto check

and now uh what we can do is uh

go ahead and and make make knobs to um make this task

um repeatable

so first uh

if you right click in the uh

in the area where the tabs are

you can find the one that says manage user knobs

and that brings up a little dialogue

um you can add your own or you can

uh pick ones from existing nodes inside uh the subgroup

so the first one we're gonna start with is the

is the grade node

and we're gonna pick the

uh the lift property

and so that gives us in the user tab

uh a slider called lift which is actually uh linked to

to this um to the lift property inside the grade note

so with that taken care of

let's make another one

for the color of the constant

so now let's make some

external controls for turning those on and off

back to manage user knobs

we can add a checkbox

so the first checkbox I'm gonna call

I'm going to call Color Overlay

and the label is just a nice name for

uh the name of this attribute

and there's our color overlay button

and then I'm gonna make a second one called

premult apply

I'm gonna leave the name as premult

and the label is going to be premult over

PG

so there's that one

and the way we can link those together is by uh is by

going into each uh node and

the easiest way to do it is with the disable property

uh we can add an expression on that checkbox

and uh link it to the

the check boxes that we've just created

in order to access the properties on the group

note itself

we first have to call the parent

and then with the dot you specify the name of the

of the property

so we named the first one

for the grade node color overlay

and now it's properly um resolved it to 0

cause it's not checked right now

but we actually wanted to do the opposite

when the color overlay is not checked

we want the node to be disabled

so by putting an exclamation point in front of it

that specifies um the opposite of whatever the value is

so now you can see there's a single slash

indicating that there's an expression on

the disabled note

and if we check that on and off

um the grade note properly turns on and off

so let's change the the grade color

and now it turns on and off

so for the next one um

it gets a little complicated because we can't just

uh turn this node

the we can't just turn the merge note on and off

uh we have to

and nor can we just turn

the pre multiply note on and off

cause that doesn't give us exactly what we want

so we're gonna do two things

well let's first wire that up

so in the pre multiply node

we'll just uh add a new expression for that

and this expression is going to be

the opposite of parent dot premult

so now when pre multiply is checked

the pre multiply node turns on

but when it's unchecked

we want it to use the color overlay or we want it to

use the RGB channels directly from the plate

so in order to do that

so to fix this we can use a switchnote

and make our 1 input the merge node and our zero input

the uh coming out of the premult node

so when uh premult apply is off it's 0

so let's wire that up

so this time it does not need to be the opposite

because when it's when premult is 0

we want the input of the switchnote to be zero

so when we check it on

it uses the merge note the one input right here

so when we turn that on and off

and we can have both of them on at the same time

it does all that correctly

so then we can you know change the color of the

of the background to whatever we want

and there's our gizmo

so once you've got that all wired up sufficiently

to your liking

um you can export this by going to the node

uh tab of the gizmo and saying export as gizmo

and then save it somewhere and uh

and then we're gonna move it to the to the right place

uh depending on

what computer you're on

if you're on a Mac or PC

it uh the location of that

gizmo might be different for you um

but on a Mac

they live in your user's folder

in your Nuke direct dot nuke directory um

sometimes you have to do shift Apple G

to get to the nuke directory if it's not

readily visible

and I just made a folder called gizmos

and then in this uh

in the menu dot p y folder

you just have to add a line right here

called toolbar dot ad command

and then I gave it the path to

um my gizmo and I told it what to do

so when I go into

um my node graph

all I have to do is hit tab

and scroll down to rotor check

and there's my gizmo

looks just like most other nodes

which is great

and I can't go into the source of that

um which you probably might not want to do for uh

a number of reasons

if you're at a company with a lot of people

and you wanna standardize your tools

uh at 0 at work we have um

we have all of our

custom gizmos located in one directory on our

on our file server

so this folder um

and we actually have one menu dot p y fold file that uh

that all the nuke stations reference

so whenever anyone adds a new gizmo

or whenever anything needs to change in this file

it gets propagated to everybody's workstations

so we never have to

um worry that

that we don't have a specific node

um or gizmo

on a on one computer

but not the other

there's also a way to customize your menus

um by default

what I just did

it goes into a little

um menu here

without a with a generic icon

so I can get it that way um

and you can go crazy making icons and all kinds of

different things like that

but for this class um

we'll leave it at that

so the last thing that we're gonna take a look at in

uh in class 1 is

how to manipulate roto

and how to bring roto in from other applications

and things like that so uh

first things first

I don't know if you uh

noticed or not

but I um I put some

motion blur on the roto um

if we go to a heavy motion area

you can kinda see it better right here

as a good frame um

and the way I did that is is um

two fold first of all

all your uh

all your rotor shapes have

motion blur properties on them already um

they just might be set to off

so you just select all of them and turn it on

so that adds motion blur to our stabilized roto

since it is stabilized

uh doing that doesn't really affect the um

affect the the motion blur too much because there's not

much motion on the stabilized version um

the way that I got the roto

to motion blur is really coming from the tracker

um cause again

that's where the overall motion of the of the um

of the bike is coming from is this tracker

and those settings just live right

in here in the transform tab

so Motion Blur is kind of a misnamed

uh attribute

it really refers to the number of samples that

that nuke uses to calculate the motion blur

you can turn this up to increase the accuracy uh

and the number of samples that it takes

if you need to

usually you don't have to

especially for stuff like this

where there's motion blur

but there's not a great deal of it

if you had an object moving from

one end of the screen to the other in a single frame

then you might need to turn up your samples

but otherwise you should generally just leave it at one

uh shutter speed indicates the degree of motion blur

so if you turn it down

the shutter is open for less time

meaning there will be less motion blur

if you turn that value closer to 1

the shutter stays open for the whole frame

and you end up with more motion blur

uh unless you have

really accurate dad about what camera took the footage

um this is kind of an arbitrary thing that

you just kinda eyeball

so I just um

picked what I thought looked right

basically um

and the way I do that is

is I use my little color overlay and uh

and just see

you know how close I came

not too bad

so back to my alpha channel

and shutter offset just refers to uh

where that motion starts

does it start at the start of the frame

or the end of the frame

or centered

centered is usually um

the way I go

it really depends on which edge you rotate uh

did you rotate to the outside of the motion blur

or did you rotate to the inside edge of the motion blur

or from the center or somewhere in between

you can use a custom value

and turn that up or down depending on

uh what looks right

and these controls are identical to the motion blur

controls inside each of your shapes

so if you go to the transform

uh I'm sorry

if you go to the uh shape tab of each of these shapes

um and by the way

each of these tabs inside the roto node

is specific to the shape that you have selected

um so inside each one of these uh

you can also choose number of motion blur samples

uh number shutter speed and shutter offset

just like the controls in the Transform Note

so one other useful feature of the Roto node is

uh you know

when you're looking at an alpha channel with a

with a Roto node

you can't see the default white uh

so you can change the

display color to something more visible

so if if you're rotowing something that's very

very bright

um it might be useful to

to separate

out different parts of the shape by by color

as well to make your life a little easier

the other box next to that is the actual output color

so if I wanted to animate

the animator

change the value of the alpha channel

you can do that in here

in this specific case

the rotornode is capable of outputting

RGB and alpha channels

or any other channel that you specify

but in this case I'm only using the Alpha so whatever I

plug in here isn't gonna affect anything at all

and then this box here

indicates whether or not the roto is inverted so if

just to do a quick example

if I make a shape

and use that

that just inverts um

inverts the shape so that it makes

white on the outside and black on the inside um

the other option

next to that is the uh blending mode uh

for this all we needed was over um

if you're doing some

other complex operations inside of the roto node

you can change this to to whatever you need um

but that brings us

right into what I was gonna cover next

which is how to use um roto from other applications

and then how to manipulate it

so let's go ahead and uh

and import some of that roto

so the first one I'm gonna show is from silhouette um

silhouettes are really popular rotoscoping program oops

you can't read it in as a read note

you have to import it

so import script file

import script

and navigate to it

so silhouette roto um

always if if it's been exported correctly

um it'll come in as a group

so to to look at that group

you just hit the s key inside the node and um

silhouette hasn't quite caught up to um

to the latest nuke yet

uh as far as I know

so it still uses

um besea notes as uh

as the roto object and they're just basically legacy um

legacy notes that they don't put in the menus anymore

but they still exist in the program

so in this example

I'm gonna copy the uh

the roto out of the group so that we can

kinda work with it easier

but I know I happen to know

but um if uh

if I had just gotten this from from someone

I wouldn't have known that the uh

that the frame range is not correct on this roto uh

in silhouette

the roto was done from 1 to 100 uh

this clip runs from 20:307 to 20:407

so I'm gonna have to do some

offset on the roto to make it work

so the one of the great ways to do that now in uh

in nuke is they've added the

uh dope sheet

before you could

of course do this in the curve editor

and select all the keys this way and move it over

um but if you have a lot of different things open um

or you have a lot of different curves

on the graph at the same time

or if the motion isn't exactly um neat

uh you could end up destroying the motion by accident

uh so they've added the

the dope sheet

which is really

uh great tool

I'm very happy that they added it

um it lets you select uh

clips or keyframes and uh

drag them much easier

than using the curve editor

um the controls for navigating it are

basically the same as the

as no graph

so just go in there and put frame 1 on

the first frame of our sequence

and there we go

that lines up pretty well

so I'll also go ahead and import that roto from Mocha

here we go and Mocha is

a little better about keeping up with nuke

it makes a Roto paint node

which is basically the same thing as a Roto node

except it has extra functions for painting

um we'll definitely get into those a lot later in the

in the course

um but for right now we have uh

one spline in that uh

in that Roto paint node with

the same problem as the silhouette Rotto

so now we know how to uh tackle that

we just uh drag our keyframes over

and this one has a little different

frame range than before

frame one of uh

of the roto is not frame one of

um of the clip

so I could go in

uh and ask whoever did it in mocha or go check myself

what frame should be the first frame um

but uh in a production

you know you always have to keep moving

so sometimes it's easier just to kinda eyeball it

so I know I happen to

you know it's pretty obvious that it's this car

so I'll just move it into the right place

and there we go

great and now I can I can edit that roto or

or fix it or do whatever I need to

to make it to make it perfect

so the last thing that we're gonna cover in the class

uh in Class 1 rather is um

is how to manipulate this roto

so we now have um three elements we have one car

we have the other car

and we have our biker

let's say we wanted to isolate this car specifically um

and we have the roto that lives in

three separate places

um I'll go ahead and label this car car to

so what we're looking to do is basically

cut out this car

with this roto

so one of the more efficient ways to do that is to use

a channel merge

so uh we're gonna make the

a input our car roto and the B input our biker roto

and just look through that by default

the channel merge operation is set to union um

this has a lot of the same options as a merge node

so if you mouse over it

you get a mathematical description of of each

uh the one we want uh

we wanna just isolate the parts of the car

so what we want is an out

and so if you look at the math of an out

it's uh it's 8 times one minus B

so remember this is our a and this is our B

so if we take a look at a pixel inside here

we have a in this case one

times multiplied by 1 minus b so 1 - 1 is zero

so in this pixel we get 0

so then all we do is just put that in our pipe

and there we have it

so if we look at our rotor check now

um now it's going to be highlighting the uh the car

not the biker

so there we've isolated that car

and we can do the same thing um

we can add motion blur to that as well

oops

there

so now that has some motion blur on it

and the last car

this one is getting cut out by both

so now that we have um

all these elements we can make another channel merge

and this time what we want to do

is instead of uh

cutting the first car with the other

we can use the default behaviour of the um

of the channel merge node

which is a union

so we're getting um

we're getting white for where they both are

and do the same kind of thing with the um

with the other car

so make another channel merge

and do the same kind of thing

with the car

out

there we go so if we plug that in

there we have that car

getting cut out by both of those shapes

so this is uh

really useful if you know

you have a ton of different types of mats

and you just wanna

um you know

use them to get the most out of your

out of what you've got

so you don't have to roto something new

um knowing how to manipulate alpha channels

is a really powerful

powerful piece of knowledge uh

so you know

we're gonna be using all

all kinds of uh

different merge operations in the coming classes

so get used to seeing this tool tip a lot

if you ever get confused about what something does

you can always look at this and

and figure it out mathematically

remember there's only

there's only two so it's

it's your a and your B

um and just kinda do the math and

and figure out what it all means um

and of course I'll be available in the forums to

to answer questions about

um you know

what some of them might be used for and

and other things like that um

but there's no substitute for

knowing where to go for the

for the answers

um so thanks for joining me for class one um

had a great time and I look forward to seeing you again

next class is gonna be taught by Charles uh

he's gonna be going over some 2D paint techniques and

uh that should be a lot of fun um

we're really gonna

get going into some really cool stuff next

next class so uh

look forward to seeing you thanks

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.