Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
hello and welcome back to nuke 2 3 1
nuke compositing best practices
this is Victor Perez
and in this class
we are going to continue the topic of
warflow optimization
but this time
we are going to focus on speed
so I'm going to show you
a few ways of handling the notes
in order to get a faster and more efficient overflow
okay so let's start by the note presets
the presets are values that we are going to establish
for all knobs available in one single note
so in this case
imagine that you are going to track something
that has been shoot with the iPhone 6 eyesight camera
so imagine that for one shot
probably is not going to need to be create a preset
because it's something you are going to use once
but imagine you are going to work on a show
that is all shot with the iPhone 6 eyesight camera
which is a preset that is not available in the feedback
for instance
available in the camera tracker
okay so you have the major uh
motion picture cameras available in the market
but of course
the iPhone is not one of them
okay but still
is something that you can use whatever you want
okay so what I did is I rescue from the internet
the characteristics of the camera from the iPhone
so you have it in here
the cheap size and the focal length
which is the most common values
you are going to need always for a camel trucker
so if you want to create the preset
the difference between the filmback preset
which is in here
for instance this one
that is going to set this film back size
the three set of the note
is going to establish the value for each single knob
so he's going to remember and record inside that preset
we are going to create now
every single value
so just try to change everything
that is going to be always in the characteristic
of this camera
so the first thing I'm going to put here custom
and I'm going to include the five point 97
by 4 point 71 okay
remember that the focal length for the iPhone is fixed
so we are going to put known and 4 15
okay so just with this
we have the characteristics of the focal length
and cheap size
but for instance
if you know
that you are going to work with a certain amount of
out of tracks or feature
something that
for instance
I always start considering my features at 2:50
okay so I'm going to put that in here
it doesn't mean that once you set your preset
you cannot change it
because of course
you can change everything
but at least you are going to start from a good base
okay so let's see that
I want to refine my features locations
and I want always to preview my feature
so everything you want
you're going to put it in here
so once you have all your constant values in there
we are going here
and we are going to save as preset
as you know
you have it in here
so in case I want to delete
we are going here
and I'm going to select
what's the one I want to delete
so now is clean okay
so now I'm going to save my new preset
and he's going to ask me for
this is where do you want to save your preset
this route is just in case
you have several folders of presets
for instance
all the focal lens
um cheap size
or the iPhones
or the others
for the Samsung Galaxies
or you know
any other cameras you want
you can mimic exactly the same
way of distribution of the values that you have in here
so for finery
black magic and etc
so I'm going to put in here just the root
if you want to create soup folders in here
you have to do it by using Python
okay so in this case
I don't want to go that hardcore with the programming
because I just need to get something handy
so I'm going to put in here
I sight camera
so now if I want to get those values by default
I just need to create a camera trucker
here you are
and now you will see that as soon as I select
this iPhone 6 Isaac camera
he's going to change all the values
including also the values in all the types
so is not only related to the camera itself
so is everything in the note exactly the same method
just for every single note
so if you want to create a certain effect
for instance
let me show you
um got brace
something very classic
which is creating chromatic coveration
so I'm going to create a chromatic coveration
for the red channel
so I'm going to put to the image in here
here you are
I'm going to create
a tiny variation
and imagine that you want to preserve
this chromatic evaration of the red
across the whole sequence
so instead of just setting the values of the channels
or the scale or anything else
just go here and just save the preset as
my sequence or whatever the name you want
Chroma
operation of the red okay
so you create that for the red
maybe you can create another for the blue
and then you have your combo of the node
so you have everything separate by nodes
okay and you can have as many presets as you want
okay there is no limitations
so I'm going to leave that here
okay so you have both of them
and remember that you can do this for every single note
and this is just a
storing the information in the values
something to pay attention is
if you set for instance
something like a mask
you need to be aware that
if your note is not having a mask
for instance
here is going to display a narrow
because he's going to ask you for something that is not
available in the note
so try to put in your presets
values that are always universal
that are going to work on every case scenario
so for that
of course you need a bit of testing of your presets
but is going to be better than putting something
and then displaying a narrow
um that is going to create a bit of confusion
so when you are using mask
or a request of some special channels
that probably are going to be available or not
that is better not to use it
okay so this is the note presets
okay then we have something that is slightly different
which is the note defaults
the note defaults
are the values that are going to be on the note
at the moment you are calling that particular note
okay so imagine that
for instance
something that I never understood
is why all the notes you call are
like resting
resting is like they are doing nothing
so if you apply
for instance
a checkerboard to a color correct
that you haven't changed anything
by default the color correct is doing nothing
so that's why I call this color correct to be resting
okay so the same with the blur
so if you don't change anything in the note
the blur is doing nothing
okay make sense
but in the case of the filter erot
so this erot in here
there is a value that is already changed
at the moment you are applying the note
if you see here
the size knob of the filter remote
is already applying one value
okay one pixel for the alpha
and this is not resting
so something that I like
is just to have all my notes resting
before I touch them
okay so I know that I can just create an structure
and then change whatever I need
without just having something sneaky in the middle
okay so by default
without changing anything in milk
the filter wrote is changing the appearance of my image
so can we change that
well we can
but for that
we need to use a bit of code
no worries is just Python
and of course
if you want to know more about Python
I already published a course with FX PhD
which is regarding Python scripting for new compositors
which is Python and ismology okay
so in order to do this
you don't need to get the course
but the course is going to get a more general vision of
what can you do with Python in milk
but in here
what we are going to do is just to change the default
so for that
we need to go to the dot nuke folder
and that is going to change
depending on the operative system
okay so the DOC
nuke folder is usually located in your user folder
so depending on the system
the user folder is going to be in a different location
in your hard drive
but is the folder that is allocating your documents
or your music or
well in Mac
is going to be really easy
so you go to the finder
and you go to the
folder that is having that icon of the house
and is probably having your name
in my case Victor Perez
and in here
you have dot
dot Nuke folder
the problem is
that folder is hiding
so if you want to navigate into that folder
if you are in Mac
the only way of doing that is just go
go to further
okay if you are in Windows or in Linux
you just need to reveal the hiding folders
and documents
okay so go to folder
and then in here
I'm going to write
dot nuke so go
and here we are
inside that Dot Nuke folder
for the Mac users
remember that you need to be
on your home folder
the user folder
before to perform the call of the go to folder
if you are not there
that's not gonna work
okay so once you are in here
you need to search for the document that is a
storing all the customizations you are going to apply
inside nuke
which is the menu dot p y
in case you haven't performed
any customizations to your nuke
you are not going to have this menu dot
py document
but no worries
you can create it from scratch using
text editor
remember that is plain text
you don't need to have any format
actually if you have any format
or font size
or anything else
that is not going to work
so something that is going to be helpful
is to use a
scripting editor
okay so I'm using
for format the text
wrangle choosing here
you can use commodo
or any other
software available in the market
so is makes no difference
is whatever is
making you more comfortable with
you can even use nuke
but I don't suggest
to use nuke as a script
editor for Python
because is not optimize for from doing that
the interface in nuke
for the script editor
is designed to execute the
commands okay
so I'm going to open
my menu dot p y
or I'm going to create it
and inside that
I already open it in here
I'm going to
use this formula
that I already
place in here
with this green
you just need to grate
in there nuke
dot knob default
and remember
that in Python
everything is case sensitive
so the default
default needs to be
uppercase okay
then open brackets
and inside quotes
filter erode
which is the name of the note
dot the name
of the knob
that in this case
is size okay
how do you know
the name of the knob
because that can be a bit confusing
the name of the knob
is not this
text that you have in here sometimes
most of the times
this is exactly the same as
the name of the knob
but this is what is called
the label okay
so if you want to know what's
the name of the knob
you just need
to leave your
cursor hovering
and is going to display
the name of the knob
in bolt in that
pop up window
that is telling me
now size okay
so this size
needs to be changed to be zero
so comma and then inside quotes
you need to put zero and close the brackets
okay so in here I have already that
for the blur for instance
I'm going to change and I'm going to put that
filter it out
that size and
the default value is going to be zero okay
so I'm going to save that
and now in order to make this to work
I need to save in here I'm gonna close
so let's open nuke again
and now if I call my filter erode
here you are
see the size by the fold has changed to 0
okay so that is very nice for me
because now even the filter wrote
is going to be resting by the fold okay
you can do the same for the channels
or any other filter
or whatever you want
everything is sensible to be change okay
you just need to replace the same pattern
we reproducing here okay
name of the note
name of the knob
and then the value you want by the fourth okay
another thing that I find very helpful is
I don't know you but for me
sometimes it's kind of tricky to remember that
I want to paint something for all friends
so I start painting something
and then when I move to another friend is like oh
I forgot to go here
and to change this from single to all friends
so you know
it's something that I tend to use more
painting for all frames than for just one single frame
but of course
you need to use any other value that you have in here
but if your tendency is like me
to use more like the all instead of one single
or just for pleasure of changing the values in here
you can customize also the Roto paint
in terms of the tools that you have in here
but that is not as easy as customizing one single note
so I'm going to show you in here
I put the formula in the script
but I already copied here in my menu dot p y
and it's this formula here
so you need to write not dot
not default
the name of the note
which is Rotopain
dot toolbox okay
and then we are going to start by using these clone
and then I'm using all the properties that are in here
well I'm not going to explain every single step of this
because this is more cold related than compositing
but as I mentioned before
if you want to go deeper into coding
I have that course in FXPD that you can explore um
I'm sure you are going to understand everything that is
happening here for me right now
if you want to change those values
I can tell you that
and here the 0
means that we are using the first
object available in this pull down choice
so this is 0
1 2 3 and 4
so in case you want to customize your
lifetime of the strokes
before you create the stroke
you can just change in here okay
for every single tool
that is mean to be painting on the screen
okay so 0 is for all friends um
you will notice that now I'm using those hash in here
and that is because I'm commenting the lines
commenting a line is a way of writing a line
but that line is not going to be interpreted by
nuke or the python
okay so he's just in here
but he's not being execute
if you want to put those lines to work
you just remove the sign here
okay so I'm going to remove the comments in there
and comment
so now those values are active
so again I'm going to save and remember that by default
without touching anything in nuke
the strokes are leaving just for one single frame
okay so I'm going to close again
I'm going to open
and here we are
so let's call again
the road to paint
and here you are by default
your lifetime of every tool that you have in here
is for all friends okay
so they are infinite combinations
that you can apply for all the nodes
so you can create your own defaults
based on your habits of working okay
so it's something that is going to help to avoid you
to perform task every time you call a single note
so here you are
a reminder on a sticky note
for both the Roto paint and the filter wrote
and remember that
if you want to change any other regular note
yes putting here the name of the note
and the name of the note is usually
what is brightening here
before the number of the notes
so in this case is filter wrote
okay and then
I already told you how to locate the name of the knob
and in here you put the value
okay so that is for the note the fold
then we have another thing that is quite interesting
which is where to use a task setup
versus a group or a gizmo
which means an open structure or an enclosed structure
an enclosure structure
is something that is nest inside a group or a gizmo
so imagine for instance
the default light grup
which is the note that you can find in here
and what I did is just to convert this light wrap node
which is a gizmo
and this by the fault is a gizmo
into a group
which is exactly the same thing
but remember that the gizmos need to be installed
on the computer of the person that you are going to
open your script okay
in the case of the light grap is not a problem at all
because the light grap is a default note
that is indeed in nuke
but if you're using your own gizmos
remember that you need to have the gizmos in store
or the script is not going to open correctly
okay so how do I convert a gizmo into a group
well you yes
select the gizmo
then you go to edit note group
copy gizmo to group okay
and that is going to create this replica
in this case
that is not necessary
but the difference between them
also in a practical way
is you can enter inside this group
just by pressing this s
and then you can modify
or just observe whatever is happening inside the group
so as you can see here
the like rap is a combination of a few basic notes
okay but that's why I selected the like rap
because usually
I tend to use my own setups for like graph
because depending on the lighting conditions
of the scene
you are going to need
some characteristics that you don't have in the genetic
like rap provided by nuke
so that's why I prefer to use
for certain task
like for instance a like rap
something that is quite versatile
an open structure
so an open structure is yes
but we already know a script
but in here
what I did is just to mimic
whatever is happening inside
and put in notes
okay so if you see the
the task we are performing is actually the same
just to add a tiny variation to the original like drop
what I did is just to have
two different levels of diffusion
okay so I put a big diffusion
which is corresponding with what we are going to call
the atmospherical occlusion so the big
a chunk of light contaminating the dark areas
and then we have like
the contact
uh diffusion
the small diffusion in here
which is just the regular light drop
okay so of course
I'm not caring about the results of the composition
but the methodology of getting the
the light drop
okay so what I did is just to create ah
luminance key prim
multiplying whatever I have
then stencil with the shape
then creating the diffusion okay
putting them together
and then creating a grade
just to give the same color structure
and then I was using here
an a top merch
okay so I can add
that light in there
which is more or less what is happening in here
but why should I divide this into an open structure
well because if I want to change yes
the big diffusion
I have just this note
without the need of
having another light grab
which is a lot of notes
as you can see in here
just for doing something
that I can do with a simple blur
so in this case
we are going to talk
not only about the speed of putting the notes
that is actually faster
but also the speed of nuke processing
because if you put two like
drops for doing just the atmosphereical occlusion
like in here
he's going to process all those notes
just for doing something
starting here
has been done with just one single blow
remember that the blow is something quite
fast to address
and then in here
I can also increase
maybe just the intensity of this big diffusion
or reducing that big diffusion
so I can place a grade
um increase or decrease
the intensity
based on the multiplication
remember that the light
if you want to change the intensity
you need to go with the multiplication
um this is something that is really helpful
because you are going to expand
your open structure
in whatever direction you need
that to be a spam
for instance
in here is not that
need to have the options for glow
like in the
like wrap you have
because I actually don't need this to be glowing
but if you want this to create that effect of glow
of course you can
creating another structure
for instance
like in here
you have that
you create this
and then you place that
over here using the plus
okay so I'm going to put that in this place
so with this
I'm creating also the glow that is looking a bit funky
but if you want to apply the same color to the glow
that I apply to the
like wrap inside
you can just clone this great okay
and place across the structure
remember that for cloning
I use Alt K
okay so I place it in here
so I'm having the same color for both the structure
so I can apply different methods of fusion
for that single effect
so I prefer opening structures to groups or gizmos
because he's more versatile
but sometimes
for the sake of using presets
or something that is quite close
something that you know you are not going to change
is maybe better just to have one note
dealing with everything
and group in one single task
so in here for instance
I got a luminoski
so this is the default luminoski provide by nuke
and this is a group I create myself
which is in my opinion
doing more than the original luminoski
what's the difference between those two
well let's have a look at my group
first of all
so if you open my group
you would see that you don't have all those notes
in here is just five notes
and the input and output
remember that the input is going to be
the arrow entering into the note
and the output is whatever is going to get out the note
the group I mean
so in here and using saturation
we already explained this in the previous class
so I'm not going to get much into the mats
of the luminance gear
but just to let you know it
I'm using the saturation a shuffle
just to get any of the channels
that is the right
in this case
I'm going to delete any channels
because I just want to use one
so instead of having process
across the whole stream of channels
I'm just going to keep just one
and then I'm using a great
so in this grade
I'm going to use a black point and a white point
as you have available in the luminance gear
but the difference that I'm going to have on my group
is in here I have a control for the gamma
so if you see
in your luminance key controls
you have just that line
so if you remember
we were discussing already
that we can just get
in a color correction like the
luminous gear
I can get my black and my white
okay so remember
this line is actually more or less the same as this
control we have in here
so we have a line in there
and then we have another line in in there
so the only controls I have in my gear
is the inclination of this line
but I cannot change the distribution of that line
so with my luminous gear here
I'm actually adding
a gamma control
so I can change this and this
but also this lamp
so I can go more gentle into the blacks
and then changing the
the core from be more drastic on the whites
okay so when you are using aluminum Scheer
in my opinion
this control is very
very helpful but again
I don't need to have the setup for a luminance key
because this is all related to one single task
so I don't think I want to add any kind of effect
for the luminance gear
maybe yeah I'm going to add a color correction
but it's something quite unlikely
so in case I want to change
I can always go inside the group
and then place whatever I want inside here
but usually
I'm not going to design this group to be changed
that's the difference between
designing an enclosed structure and an open structure
the open structure is designed to be changed
while the enclosed structure is designed to be assist
so you can just change whatever you have in here
so that's why you are picking those values
from the notes within the group
okay so look at the difference
from the regular luminance gear
and the luminance gear
I just create
so even using the same white and black points
I can decide where I want to be more gentle
and where I want to apply more values
to get recover on my mat
okay so he's going to give me that extra mile to work
of course instead of using a great
as I'm using here
you can use the roll of contrast
for instance
that is going to add controls for softening
on the shoulder and the knee of the
of the curve
or whatever you want
this is just an example okay
but I want just to invite you to think
what parts of your scripts are constant
which means are always the same
and what parts of your skill sets are varying
depending on the scene
so something to help you is
whatever is depending on light
he's always going to be an upper structure
because the light
I mean the qualities of the light
is different from shot to shot
even in the same sequence
but something like a technical task
can be compressed into a single note
so in my two sets
that some of you were asking on the forums
those tasks you finding here are all closed
because I'm not usually tending to open
and changing the structure of the
of the group
so everything that I need
is in the controls of the note already okay
but sometimes
I can create massive open structures
so for that
instead of just using the notes
aren't using maybe presets or
I just want to get everything in one single template
so for that
we have a nuke
the possibility of just recording templates
okay so for instance
in here that you have
those crazy lines for connecting links and clones
everything in here is just one single template
to calculate the coverage map of a certain camera
just to provide me uh
to the disalization of the camera movement
so I can get 360 degrees of a sphere
just in a latitude
longitude map
which is in other words
is like the world map
and the coverage of the planet
so is like the texture of the planet
expand in a world map
that is what is the environmental map
okay the coverage
so the camera
if I have a camera on here
for another example
I have that
the only thing I need to do
in this environmental map template
is as to connect my camera
and then go to the end
I'm going to here
and just see the result of that camera
so that just by applying the camera in there
nuke is doing for me
all the technical structures that I need
just to create that coverage map
why I did this as an opera structure
instead of just a gizmo well
is because sometimes I want to change certain values
or I want to rotate
certain options
just to get my
coverage map
in a certain area of the screen
like in here
for instance
the coverage map is
uh using side of the screen
and then the other side of the screen
so yeah is not incorrect
is just going to be difficult to handle
when I'm painting the
my painting
when I'm deciding to place the
the area in there
so that's why I use an open structuring here
so how do you create a template
well first of all
is you need to prepare your template
in order to make
that task universal
okay so is the same thing I told you with the presets
but this time
is going to be
not applying to one note
but to several notes
so in here you just need to
work with one particular case scenario
and then try that case scenario
in order to
to see if that is going to work
even when you have other case scenarios okay
so and here
what I did is
I create a no operation note
that is just
dealing with the far plane of the camera
and the rows and columns of my camera
I can also change the layout
just to have a
quick layout
so he's going to calculate
instead of four channels
he's going to calculate only one channel
which is going to be slightly faster
not a big massive change
but something helps
okay in there
underneath here
if you want
to change or
you want to supervise
whatever is going on inside the note
is also good
just to have a
a place to understand
if this is working in
in 3D okay so
having a 3D representation
of what you got
in the 2D world
okay so that's why I prefer to have these
in an open structure
then you have
also different task
because all of these is going to be based on 3D and 2D
but then you have a 2D area
of this template
and in here
what you have
is where your
digital map painting
is going to mix
with your coverage map
okay and then
at the very end
I'm creating
even the render
from the 3D world
for that digital Mac painting
so I'm converting a
digital Mac painting
into an environmental map
already match
with the camera movement
so everything in here
is kind of complex
so imagine that
for every shot I need it
I need to create this
for a scratch
or even just
to research
and copy and paste
from my other scripts
is just way better
to have the same structure
prepare for you
so how do you create that
well you can go
and select your notes
I'm going to use
just for the sake of the example
going to use those notes
and in here
whatever you you want
you are going to create the setup
I prefer to put a backdrop note
so I'm going to put
for instance uh
key so luminance
here
and then something that I like is
just to make everything clear
I'm going to use a lot the dots
okay even for the end
I'm going to put my notes there
so I know very clear
that this structure is entering into the backdrop
and is exiting the backdrop with the result
okay so even something that is going to be clear
is you putting here
for instance
input or whatever you want
and at the end use
output okay
or any other word
that is going to help you to understand what's going on
with the dots
because sometimes
for certain templates
you are going to need more than one input
okay so once you have that you select
then you go here
and then you create your template
okay so in here is exactly the same as the presets
you can create folders for that
and then in here
I can put luminance
here okay so I create that
and remember that you have to have this selected
and now every time I want to call my setup
I just going here and is going to be here you are
and is recalling your notes
and remember that those notes that you have in here
are going to be
uh set for the knobs
with every value you already put in there
so they are preset already
okay so this is very
very good for
uh repeating task okay
or something that is so complex
that is going to take you ages for one time
um another thing
another case scenario that you can use
is a template for CG
this is highly recommended not only for compositors
but also for 3D artists that want to test uh
the renders
so in here's I
I create a template that I'm going to select
I'm going to backdrop
and I'm going to call this CG
okay so once I have that
I'm going to put at the very end
my output and I'm going to select that
and create that template
that is going to be CG multipass
for instance
okay CG multipass
so here you are
what's the special thing about this
well what I'm doing is getting all my passes together
just to create the beauty
and also I'm going to place my grades
and in case you want a particular look for the CG
where you are going to use a certain percentage
of your past
so for instance
if you want
let me see uh
the reflection to be
like at 70%
you just place this 0.7 in the multiply
so you are using ah
an alchemy of all your passes that are going to define
how the final beauty must look at the end
okay so I'm going to leave this at 1
remember by the fold
this template is dressed in
so it's not changing anything
but you can even create several templates
one for one sequence
one from one element
one for whatever you want
but everything in here is to help you
to increase the speed
without doing technical steps of just pressing buttons
okay another thing that is gonna help
that I create as an example
is just to locate the pass
because remember
we are working with Read Notes
so if you have to go for every single read note
and locate the pass inside the folder
that is going to take you ages
even if you are using a template
so in order to increase the speed of that
what I did is based on a locator or something
that is going to locate
the path for your particular render
I create that
and I linked to the read notes
so it's really
really easy
so what I did in here
is just to create a path input
so I can't locate where
in what folder
are my passes located
so I select the folder
but not a particular pass
and then in here
I'm going to place the name
of the particular element that I'm using
and remember
this is based on a certain naming convention
of course if your naming convention
is changing from one element to another
then the template is not gonna work
so naming conventions are really
really helpful
even in the amount of characters you are using
to name particular render pass
but that is something related with the 3D department
so I don't want to dig much into that side
okay so what I did in here is just to create
a way of calling those read notes
no worries because we are going to explore way more
about this relinking
or dynamic relinking
in the next class
but just in here to make an introduction
I just want you to know that what I did
is just to linked
the path where
the passes located
to this path that I have in here
so I just put
the name in here
knob space the name of the note
dot the name of the knob
okay so that needs to be in square brackets
okay and then
because I was following a certain naming convention
I'm going to use the name of the element
and to call the element
is exactly the same knob space
the name of the note
that is creating the link
in this case
CG locator dot element
which is the second text that I have in here okay
so if you want to populate a no operation note
which is in here
with certain knobs
you just click in there
manage user knobs
and in here
you can add or remove
this is something we're going to see in the next class
okay but in here
you know that you can just create
dynamically
something that is going to address all your readnotes
and that is going to create
also a preset
for the way the beauty is going to be built
and then not only that
you can apply effects
or Volumetrics
or whatever you want
everything could be in beat
in this template
okay um the templates
is always an open structure
so you can change it
is the sign for that okay
the last thing I want to
to commence in here
is for certain notes
that are based on the values of other notes
so for that
we are entering in a more coding
environment
but in this particular case
because this is something we do a lot
what I did is just to give you
the formula
okay I'm not
the kind of guy that likes
just to copy and paste
without knowing what's going on
but if you read this carefully
and you have a notion or two of Python
you will understand
that what is happening in here
is just actually
very simple
what I'm doing is
I'm taking the values from this camera
and I'm going to replicate the camera
and just to freeze
that camera
in a particular frame
and connect that
to a project 3D
so what I'm doing
you are right
is creating a projector
base on a camera
so if you want to do that
and you are a
smart enough with Python
you can create
a Python call here
in the menu
so every time
you want a projector
you select your camera
and you go to the
Python call
or a hot key
if you like
but if you don't want
just to go that far
I put already
the formula
in the folder
of the files
for this class
so you can just
copy and paste
or call that formula
and apply the changes
so in here I'm going to call
the script editor
so I'm going to split
I'm going to
script editor
and in here
by default it was the last formula I call
so I'm going to delete just to show you how to do it
because of course
nothing stops you to go here and select all
copy and then paste in here
okay so here you are
but that is not the case
because I don't want you to hang around with the
sticky note in your script
so he's going to be smarter
that you have that Python script
and then you load and execute
so you select your camera
and now I'm going to use this button
which is load and execute
and I'm going to locate
my generate projector from camera dot p y
with IL ready include in the folder
so you select that
and that is going to open
and that is going to automatically create that setup
as you have it in here
okay of course
in this time
has create a weird shape of the
of the notes
because I'm not uh
caring about the distribution
of the notes in this formula okay
but what I meaning here is
you don't need to duplicate the camera
and freeze the controls
and then create the Project 3D
and the framehole for the other side
so that is something that
is going to be always at the same way
um I know that
you can create a projector in many different ways
but you are going to use more or less
always the same method
you are not going to mix them
so in this case
I just use the uh
framehold option
just because it's easier to to coding in here
but you can practically create any kind of call
based on the values of a certain selected note
or a certain target note
by using Python calls
so the combination of all these methods
that I gave you
now for template into presets
in the knowledge to presets in groups
or open structures
or create your own structures
to apply certain task
that is going to increase massively
the optimization of your time
because you are not going to lose your time
pressing buttons
but just doing your art
okay so that's all for this week
if you have any comments
questions suggestions
I don't need to tell you that
you can post in in the forums
and I will reply as fast as possible
okay so until next time
this has been Victor Perez for FX PhD
thanks for watching
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.