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
in this lesson
we will learn how to handle deep images
generated in Pixar as Render Man
so let's get started
first thing we wanna do is read in our beauty pass
the render man
render man outputs deep as a separate file
so the beauty pass is in the EXR
let's grab the sphere just a regular read node
view it we can see here we have our render
and now to read in the deep data
we're gonna need to use deep read
cause if you remember
deep read is the only read node
that can read in deep data
regardless of format so deep read
let's grab the corresponding this is sphere
so grab sphere dot dtx
now what's happening here this is an error
we try to view it what does it say
says I can't read it
now this is a problem of course
how are we supposed to read DTEX files
now a quick way to check if this is a problem with nuke
or if this is a corrupt deep file is to use
the PR man render node
this is something that comes stock with nuke
it's not something you have to install separately
now you do need to configure it separately
and that's the key here
so everyone should have this PR man render
what happens
okay now this tells us a lot
this tells us that the dtex file is not corrupt
and that it is in fact a problem
with nuke or with Render Man in in some cases
I'll explain
so what this is saying
is that it can't find a library file
so if you remember from the history lesson
what I said was that Render Man
was the first rendering engine to generate deep data
so what the Foundry did is
instead of writing their own
deep library to decode Dtex d files
the Foundry relies on the Renderman Pro Server
Dtex library
what this means is that in order to read
dtex files in nuke
you need to have Render Man
Pro Server installed on your machine
now what's important is
you don't need to have a license
you could also use non commercial Render Man
if you're doing non commercial work
you just need to have render and Pro Server installed
you don't need to buy it
you don't need a license
just need to install the installer
and configure it correctly on your system
the I want that
configuring Render Man Pro Server
is beyond the scope of this course
but we will do is we will
configure Render Man Pro Server to work with nuke
so if we look here
we can see
there are documents
in the nuke documentation that explain
reading DTX files
and what you'll need to do is
you'll need to set up Render Man Pro Server
so what this explains is that
just like in the error message
there are two environment variables
they need to be concerned with there's R man tree
and then the R man tree Lib stands for library
it's different on Linux
Mac and Windows
I'm on Windows
so I'm going to be showing you how to do it on Windows
so what happens is
when you install and configure Renderman Press Server
Render Man Pro Server uses
the R Man tree environment variable to tell
applications where Render Man Pro Server is located
where it's been installed to
so what we can do
we open Control Panel
I'm on Windows 8 I should mention
but it should be similar for Windows XP and
Windows 8.1 system and security
go to system
Advanced System settings
and now at the bottom here
click on Environment Variables
so what you'll see in this list
we'll see several different Render Man ones
we see R man tree
so Ren Render Man Pro Server
has been installed correctly on this machine
but nuke can't find it
so we need to do is if we look at the instructions
it's talking about path so we need
the path environment variable to be configured
so we go here
we find path
here's path
edit so the way that this works is you never use them
is that these different file paths
are separated by semicolons
as we see here
this is the end of the list as a semicolon
that starts a new path
so when you do is add a semicolon
and then we do percentage
R man tree percentage
what this is
this is an alias
and this will actually point to the
R man tree environment variable
so that we don't have to type out
the entire path again here
we do backslash Lib
press OK press OK again
OK now in order for this to take effect
we need to restart nuke
restarting nuke
okay so now let's try this again
it's create a written PR man note
and there we go
it works we've configured
Renderman Pro Server correctly for nuke
so now what we can do is we go back
we read in sphere
and then we do a deep read
sphere now it reads in perfect
we take a look at these we compare
what do we notice immediately
we notice two things
first of all is that there's no beauty in the deep file
which is expected
and it's also square
now in this case
this is a situation where because
render Man deep shadow maps were normally square
in this case
a lot of pipelines
will still be outputting square deep files
so in this example
I wanted to give you
sort of a real world example of a Render Man deep file
so the first thing you want to do is look at this
it's HD 1080 p
1 point Opix Elastic Ratio
is deep reformat so we need to reformat this deep file
change the route to match
and then it should just snap in there we go
what we're gonna do is change it to distort
there we go okay
so now if we
we wipe what we should see is that these line up
and we can see very clearly
that the reform adding has worked
and they line up
so what do we do next
so we have deep data here to the image data here
so now we need to do deep recolor
this will inject
the deep data into the normal image path
color
depth
view it so there we go
one thing we need to keep track of is that in this case
the alpha channel is being adjusted
it's taken the alpha channel from the deep
which we don't want
so check target input alpha
so now it matches
something else to point out is that most pipelines
when they use the XR
they crop the bounding box automatically
so that all of these extra pixels
are not in the bounding box
they're they're empty pixels
so they're just thrown away
so we want to do is we want to actually
copy the bounding box
from our beauty pass over to our deep
and this is actually a really important thing
because from an efficiency standpoint
we don't want operations to be processed on every pixel
because nuke will only process inside the bounty box
anything outside the bounty box
nuke will not process
so this is actually a significantly faster process
than this so we can do is there's a gizmo
which you can find on Wikipedia
and it's called Deep Copy Bounding Box
so here if we plug in
the image we plug in deep
there we go
so now we compare the EXR bounting box
to the de bounting box
the recolored de bounting box
they now match
and this is the workflow you would use
in this type of scenario
and in this scenario
basically everything that could be different
is different
and I did that on purpose
now we can go and bring in
our other cylinders
cylinder
and then we deep breath in
the cylinder DTX
just want to copy this reformat over
we wanna recolor it using the same recolor settings
got me the boning box
we should see Bonnie Box ends here
perfect
so now we can do is use deep merge
and we can combine these two
if we look at deep merge
there we go
we've now reassembled
the 3D render
so this is how you work with Render Man
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.