All language subtitles for nuk231-class05

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
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
fr French
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
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:07,000 --> 00:00:09,600 hello and welcome back to nuke 2 3 1 2 00:00:09,600 --> 00:00:12,133 nuke compositing best practices 3 00:00:12,133 --> 00:00:13,599 this is Victor Perez 4 00:00:13,600 --> 00:00:15,400 and in this 5th class 5 00:00:15,400 --> 00:00:16,966 we are going to finish 6 00:00:17,100 --> 00:00:20,800 the subject of optimization of the workflow 7 00:00:21,000 --> 00:00:24,366 and remember that all the files for this class 8 00:00:24,366 --> 00:00:26,266 and the previews the No. 4 9 00:00:26,400 --> 00:00:29,266 are already contained in the class files 10 00:00:29,266 --> 00:00:30,899 for class No. 3 11 00:00:30,933 --> 00:00:34,199 so another thing that we have to discuss 12 00:00:34,300 --> 00:00:36,833 is the issue of the boundary box 13 00:00:36,900 --> 00:00:39,166 because it's something Misty 14 00:00:39,166 --> 00:00:42,233 that I understand for many people 15 00:00:42,333 --> 00:00:45,466 how the boundary box needs to be handle 16 00:00:45,566 --> 00:00:48,166 okay so I'm using to start 17 00:00:48,400 --> 00:00:51,666 this shape okay 18 00:00:51,666 --> 00:00:56,033 is a star that is partially inside the format 19 00:00:56,066 --> 00:00:59,499 and partially outside the format okay 20 00:00:59,600 --> 00:01:02,533 so when you are working with the Roto 21 00:01:02,533 --> 00:01:08,699 note the Roto has the ability to clip the boundary box 22 00:01:09,466 --> 00:01:10,833 that by the way 23 00:01:11,066 --> 00:01:14,566 the boundary box is nothing more and nothing less 24 00:01:14,566 --> 00:01:17,399 than the active area of an image 25 00:01:17,400 --> 00:01:20,933 so when you are applying a process to that image 26 00:01:20,933 --> 00:01:24,199 is not going to be apply across the format 27 00:01:24,400 --> 00:01:27,733 but across the boundary box 28 00:01:27,733 --> 00:01:31,833 so all pixels inside this line okay 29 00:01:32,266 --> 00:01:34,299 are going to be processed 30 00:01:34,366 --> 00:01:35,399 and the boundary box 31 00:01:35,400 --> 00:01:39,000 is defined by two sets of coordinates 32 00:01:39,000 --> 00:01:39,800 the first one 33 00:01:39,800 --> 00:01:43,000 which is the lower left corner 34 00:01:43,666 --> 00:01:45,166 and then the second 35 00:01:45,166 --> 00:01:47,866 which is the upper right corner 36 00:01:47,866 --> 00:01:49,533 so in this diagonal 37 00:01:49,533 --> 00:01:50,933 is just telling me 38 00:01:50,933 --> 00:01:54,966 what's the area of action that is going to be apply 39 00:01:54,966 --> 00:01:57,399 okay so that's the boundary box 40 00:01:57,800 --> 00:01:59,900 but 50 notes like 41 00:01:59,900 --> 00:02:04,100 the rotor is affecting how the boundary box is behaving 42 00:02:04,200 --> 00:02:05,066 for instance 43 00:02:05,066 --> 00:02:08,499 I'm going to apply here square 44 00:02:09,066 --> 00:02:12,866 so I'm applying this shape okay 45 00:02:13,300 --> 00:02:16,833 and see that my boundary box is now expanding 46 00:02:17,200 --> 00:02:19,833 inside the format but 47 00:02:21,400 --> 00:02:26,166 I'm clipping the boundary box to the format in here 48 00:02:26,166 --> 00:02:29,166 which means in my previous image 49 00:02:29,200 --> 00:02:35,766 the boundary box was even outside the format in here 50 00:02:35,766 --> 00:02:39,166 as soon as I clip to the format 51 00:02:39,666 --> 00:02:41,666 everything that is going to be 52 00:02:42,100 --> 00:02:45,600 created by a spline in here 53 00:02:45,700 --> 00:02:51,000 is going to be limit to the inside area of my format 54 00:02:51,366 --> 00:02:54,099 the format is representing the pictures 55 00:02:54,100 --> 00:02:57,800 that are going to be display in the final image okay 56 00:02:57,800 --> 00:02:59,766 so I just clip 57 00:02:59,900 --> 00:03:01,433 see the difference in here 58 00:03:01,600 --> 00:03:04,566 I apply also a circle 59 00:03:04,566 --> 00:03:07,366 see that the circle is supposed to be outside 60 00:03:07,366 --> 00:03:09,199 but see that 61 00:03:09,200 --> 00:03:14,800 the boundary box is not getting outside the format 62 00:03:14,800 --> 00:03:17,700 which means that is nothing outside 63 00:03:17,800 --> 00:03:20,066 so if I transform that 64 00:03:20,300 --> 00:03:23,400 see that the boundary box is travelling 65 00:03:24,133 --> 00:03:26,399 with the transform okay 66 00:03:26,800 --> 00:03:31,600 but all areas that wear outside the formats 67 00:03:31,933 --> 00:03:33,099 are now crop 68 00:03:33,100 --> 00:03:36,266 okay because I was clipping my boundary box 69 00:03:36,266 --> 00:03:40,866 if I deactivate those rotor nodes 70 00:03:42,166 --> 00:03:47,566 see that my star that was clipped by the roto 71 00:03:47,566 --> 00:03:51,866 is now reappearing as a whole 72 00:03:53,100 --> 00:04:00,033 okay so what is happening here is the clip to format 73 00:04:00,100 --> 00:04:03,966 is just cropping the image outside the format 74 00:04:03,966 --> 00:04:06,866 and they are five options in here 75 00:04:06,900 --> 00:04:07,966 which is no clip 76 00:04:07,966 --> 00:04:09,033 boundary box 77 00:04:09,133 --> 00:04:11,433 the format the one that we just review 78 00:04:11,566 --> 00:04:13,266 and then we have the union 79 00:04:13,400 --> 00:04:15,966 of the boundary box and the format 80 00:04:16,000 --> 00:04:19,233 or the intersection between the boundary box 81 00:04:19,366 --> 00:04:20,333 and the format 82 00:04:20,333 --> 00:04:23,299 okay we are going to analyze all of them in here 83 00:04:23,500 --> 00:04:26,766 so the first option is the clip to format 84 00:04:26,966 --> 00:04:29,399 okay and it's not grown 85 00:04:29,466 --> 00:04:32,566 it's just you need to know if you are going to need 86 00:04:32,733 --> 00:04:34,899 that extra space 87 00:04:34,900 --> 00:04:39,100 that you are having your image or not in here 88 00:04:39,100 --> 00:04:41,933 if I was going to transform probably 89 00:04:41,933 --> 00:04:46,499 I want to get everything from my original image 90 00:04:46,500 --> 00:04:49,300 and even from the elements I'm placing okay 91 00:04:49,300 --> 00:04:53,933 because everything from this note is going to be clip 92 00:04:53,933 --> 00:04:57,533 okay so this is the first option 93 00:04:57,533 --> 00:04:59,566 then we have the second option 94 00:05:00,266 --> 00:05:04,399 which is this note is clipping to the format 95 00:05:05,533 --> 00:05:08,433 but this one is not 96 00:05:08,733 --> 00:05:11,966 because I just plays the no clip 97 00:05:12,000 --> 00:05:15,466 so what's happening here well 98 00:05:16,800 --> 00:05:21,800 see that we have to analyze the pipe from the region 99 00:05:21,800 --> 00:05:25,366 so in here I have my boundary box 100 00:05:25,900 --> 00:05:30,866 that's related to the whole image of my star 101 00:05:31,133 --> 00:05:34,766 but then in this is having the clipped format 102 00:05:34,766 --> 00:05:37,033 so exactly as before 103 00:05:37,900 --> 00:05:40,733 so I'm getting my square in here 104 00:05:40,733 --> 00:05:42,133 which is inside the format 105 00:05:42,133 --> 00:05:47,166 but outside the star is just gone okay 106 00:05:47,266 --> 00:05:50,366 but in the second row to note 107 00:05:50,533 --> 00:05:53,499 I just say that I have no clip 108 00:05:54,000 --> 00:05:57,000 so when I'm applying this circle 109 00:05:57,566 --> 00:06:01,699 my circle is getting even outside the format 110 00:06:02,200 --> 00:06:04,000 if I transform that 111 00:06:04,333 --> 00:06:07,799 you will notice that the difference between this 112 00:06:07,966 --> 00:06:11,033 and this is that the circle 113 00:06:12,266 --> 00:06:13,233 is complete 114 00:06:13,500 --> 00:06:15,766 okay I'm not clipping anything 115 00:06:15,766 --> 00:06:17,666 but there is also another thing 116 00:06:18,000 --> 00:06:19,433 have a look at my star 117 00:06:20,333 --> 00:06:22,999 oh what's going on in here well 118 00:06:23,333 --> 00:06:27,299 what is going on is a particular feature of nuke 119 00:06:27,466 --> 00:06:31,033 that is the extension of the last pixel 120 00:06:31,133 --> 00:06:32,666 of the boundary box 121 00:06:32,700 --> 00:06:34,733 this is something quite common 122 00:06:34,733 --> 00:06:35,699 and actually 123 00:06:35,700 --> 00:06:37,833 every time we are using a transform 124 00:06:37,900 --> 00:06:44,366 that issue is being addressed by this black outside 125 00:06:44,566 --> 00:06:45,666 because nuke 126 00:06:45,766 --> 00:06:52,266 every time you are getting an image touching that 127 00:06:52,666 --> 00:06:53,666 boundary box 128 00:06:53,666 --> 00:06:55,233 or by default 129 00:06:55,566 --> 00:07:00,866 the format is going to extend automatically 130 00:07:01,133 --> 00:07:05,099 the last pixel that is touching the boundary box 131 00:07:05,166 --> 00:07:07,499 or the format to the infinite 132 00:07:07,600 --> 00:07:09,300 but is not being processed 133 00:07:09,300 --> 00:07:12,600 is just a way of displaying the image 134 00:07:12,666 --> 00:07:14,466 so if I do this 135 00:07:15,500 --> 00:07:19,800 and I clip with this boundary box 136 00:07:20,066 --> 00:07:22,866 this image and then I move 137 00:07:22,900 --> 00:07:28,200 what I'm actually displaying here is my boundary box 138 00:07:28,200 --> 00:07:30,833 was clipping this part 139 00:07:30,866 --> 00:07:35,666 and now everything is getting extended up to the end 140 00:07:35,866 --> 00:07:38,599 and see that right now 141 00:07:38,800 --> 00:07:43,366 the last pixel that is touching the boundary box 142 00:07:43,500 --> 00:07:45,433 is actually black 143 00:07:45,700 --> 00:07:48,233 so now it's extending black 144 00:07:48,533 --> 00:07:51,266 of course extending black is like 145 00:07:51,266 --> 00:07:53,633 having nothing beyond the boundary box 146 00:07:53,733 --> 00:07:55,466 but is not having nothing 147 00:07:55,466 --> 00:07:56,599 is actually 148 00:07:56,600 --> 00:07:59,833 in the correct way of analyzing the image 149 00:07:59,966 --> 00:08:01,433 is extending 150 00:08:01,966 --> 00:08:04,299 constant black value 151 00:08:04,300 --> 00:08:05,900 so zero value 152 00:08:06,133 --> 00:08:08,899 if we go to another example 153 00:08:09,533 --> 00:08:11,166 what I have is that 154 00:08:12,300 --> 00:08:17,366 the square is having the intersection between 155 00:08:17,533 --> 00:08:19,999 the boundary box and the format 156 00:08:20,500 --> 00:08:21,666 so here have a look 157 00:08:21,666 --> 00:08:22,866 what is going on 158 00:08:22,866 --> 00:08:24,266 see the boundary box 159 00:08:24,900 --> 00:08:28,066 the last pixel in there 160 00:08:29,500 --> 00:08:30,700 is this one 161 00:08:30,700 --> 00:08:32,800 so is touching the boundary box 162 00:08:32,800 --> 00:08:37,066 so then it's extending that pixel horizontally 163 00:08:37,733 --> 00:08:38,799 to the infinite 164 00:08:39,133 --> 00:08:41,133 and then the same in here 165 00:08:41,133 --> 00:08:44,933 so it's not like the square is bigger or is broken 166 00:08:44,933 --> 00:08:47,799 is just totally normal okay 167 00:08:47,800 --> 00:08:50,833 but we're going to see this operation in a bit 168 00:08:51,000 --> 00:08:52,533 let's continue with this 169 00:08:52,533 --> 00:08:54,499 because as I mention 170 00:08:55,400 --> 00:08:57,966 what I'm doing is extending this black pixel 171 00:08:57,966 --> 00:09:00,899 but who is in charge of deciding 172 00:09:00,933 --> 00:09:03,499 why I'm putting in here this black pixel 173 00:09:03,500 --> 00:09:04,900 where by default 174 00:09:04,900 --> 00:09:05,933 the transform 175 00:09:05,933 --> 00:09:09,366 is just preventing you to have that extension 176 00:09:09,366 --> 00:09:10,833 that is quite ugly 177 00:09:11,133 --> 00:09:12,666 when you are transforming an image 178 00:09:12,666 --> 00:09:15,299 so he's adding a black pixel 179 00:09:16,866 --> 00:09:20,833 in the last pixel of your shape 180 00:09:20,866 --> 00:09:22,666 so if I remove that 181 00:09:23,100 --> 00:09:28,200 see that now the boundary box is just shrinking 182 00:09:28,200 --> 00:09:29,733 well it's not shrinking 183 00:09:29,733 --> 00:09:33,333 is that in the black outside option 184 00:09:33,333 --> 00:09:37,399 is extending by one black pixel okay 185 00:09:37,400 --> 00:09:40,800 so this is the natural image without the black outside 186 00:09:40,800 --> 00:09:42,866 so everything that is touching 187 00:09:43,333 --> 00:09:47,799 the edge of the boundary box is getting extended 188 00:09:47,900 --> 00:09:49,800 so in order to prevent that 189 00:09:49,800 --> 00:09:52,800 by the fault they transform 190 00:09:52,800 --> 00:09:55,333 is getting this black outside 191 00:09:55,333 --> 00:09:58,899 so why is this extension appearing then 192 00:09:58,900 --> 00:10:04,000 well is because when we are cutting my boundary box off 193 00:10:04,000 --> 00:10:05,166 beyond the format 194 00:10:05,166 --> 00:10:06,799 with the first operation 195 00:10:06,900 --> 00:10:10,600 this is now touching my boundary box 196 00:10:11,666 --> 00:10:12,699 and in here 197 00:10:13,933 --> 00:10:15,733 with this circle 198 00:10:15,733 --> 00:10:17,566 I'm extending the boundary box 199 00:10:17,566 --> 00:10:18,299 because in here 200 00:10:18,300 --> 00:10:21,200 I'm not clipping in the second note 201 00:10:21,200 --> 00:10:24,133 and not clipping the shape of the circle 202 00:10:24,133 --> 00:10:26,133 so what is happening in here 203 00:10:26,133 --> 00:10:30,933 is extending this last pixel from here to there 204 00:10:30,933 --> 00:10:34,299 and now this is the final boundary box 205 00:10:34,300 --> 00:10:35,200 so that's why 206 00:10:35,200 --> 00:10:36,200 when you are moving 207 00:10:36,200 --> 00:10:37,766 you are getting this piece 208 00:10:38,566 --> 00:10:41,366 that is representing that area 209 00:10:41,733 --> 00:10:44,999 that is from the edge of the format 210 00:10:45,000 --> 00:10:48,433 to the edge of the boundary box okay 211 00:10:48,866 --> 00:10:53,633 so what if I don't want to have that 212 00:10:54,100 --> 00:10:57,500 what if I want that to be completely crop 213 00:10:57,566 --> 00:10:58,999 without extension 214 00:10:59,000 --> 00:11:00,533 well you have to use 215 00:11:00,533 --> 00:11:02,099 now in here 216 00:11:02,100 --> 00:11:05,900 a note that is black outside 217 00:11:06,466 --> 00:11:08,866 if you place the black outside in here 218 00:11:08,866 --> 00:11:12,166 what you are going to do is just to prevent 219 00:11:12,700 --> 00:11:15,800 after this result 220 00:11:15,866 --> 00:11:20,333 to have my last pixel to touch the edge 221 00:11:20,333 --> 00:11:20,966 in this case 222 00:11:20,966 --> 00:11:21,699 of the format 223 00:11:21,700 --> 00:11:23,966 so by adding the black outside 224 00:11:23,966 --> 00:11:26,899 what I'm doing is just adding a pixel 225 00:11:27,100 --> 00:11:30,733 to the boundary box in all directions 226 00:11:30,733 --> 00:11:32,933 so is to the right 227 00:11:32,933 --> 00:11:33,899 to the left 228 00:11:33,900 --> 00:11:35,333 up and down okay 229 00:11:35,333 --> 00:11:38,566 so is extending that boundary box with a black value 230 00:11:38,566 --> 00:11:41,366 so now when you are applying the circle 231 00:11:41,366 --> 00:11:42,766 and then you are moving 232 00:11:42,766 --> 00:11:44,266 the circle is complete 233 00:11:44,866 --> 00:11:47,666 the star is clipped 234 00:11:47,800 --> 00:11:51,800 but you are not getting the extension of the pixels 235 00:11:51,800 --> 00:11:54,733 okay so that's why you need the black outside 236 00:11:54,733 --> 00:11:55,733 so every time 237 00:11:55,733 --> 00:11:59,133 you are getting funky results of extensions 238 00:11:59,133 --> 00:12:02,566 from the lax pixel touching the boundary box originally 239 00:12:02,900 --> 00:12:05,300 this is the note that is going to help you 240 00:12:05,300 --> 00:12:08,266 okay so I'm going to leave it in here for you to study 241 00:12:08,266 --> 00:12:11,199 then we have the best case scenario 242 00:12:11,200 --> 00:12:13,900 when you don't want to lose a pixel 243 00:12:13,900 --> 00:12:16,166 of your original image 244 00:12:16,400 --> 00:12:17,666 this is recommended 245 00:12:17,666 --> 00:12:20,599 when you are using tracking operations 246 00:12:20,600 --> 00:12:22,166 or any transformation 247 00:12:22,166 --> 00:12:27,266 that is going to use pixels from outside the format 248 00:12:27,266 --> 00:12:28,933 okay so in here 249 00:12:28,933 --> 00:12:30,233 what you need to use 250 00:12:30,366 --> 00:12:32,566 is the option no clip 251 00:12:32,566 --> 00:12:35,666 that is the same option I was using for the sequel 252 00:12:35,666 --> 00:12:39,599 so that is just going to add information 253 00:12:39,733 --> 00:12:42,799 but never touch the original information 254 00:12:42,800 --> 00:12:45,800 that you already have in your input image 255 00:12:45,800 --> 00:12:47,266 okay so in here 256 00:12:47,266 --> 00:12:48,899 I'm adding the same thing 257 00:12:48,900 --> 00:12:50,500 so if I transform 258 00:12:50,733 --> 00:12:52,766 I have everything together 259 00:12:52,766 --> 00:12:54,866 okay and nothing lost 260 00:12:54,966 --> 00:12:57,366 and see that the boundary box is traveling 261 00:12:57,366 --> 00:12:59,966 every time I'm moving the transformation 262 00:12:59,966 --> 00:13:01,599 and more than that 263 00:13:01,600 --> 00:13:03,266 every time you are using a note 264 00:13:03,266 --> 00:13:04,933 that is processing the image 265 00:13:04,933 --> 00:13:07,266 and is expanding that process 266 00:13:07,266 --> 00:13:09,433 like for instance the blur 267 00:13:10,066 --> 00:13:11,966 if I'm blurring now this image 268 00:13:11,966 --> 00:13:13,699 see that the boundary box 269 00:13:14,100 --> 00:13:17,500 is getting bigger and bigger okay 270 00:13:17,500 --> 00:13:19,700 but in here 271 00:13:19,700 --> 00:13:21,366 is being crop 272 00:13:21,866 --> 00:13:23,366 at the format why 273 00:13:23,400 --> 00:13:25,066 well it's because 274 00:13:25,200 --> 00:13:26,933 I'm saying in here 275 00:13:26,933 --> 00:13:29,366 that I want to crop to the format 276 00:13:29,566 --> 00:13:31,966 but not the input 277 00:13:32,133 --> 00:13:33,833 just the effect 278 00:13:34,200 --> 00:13:36,133 okay so if I use the blur 279 00:13:36,133 --> 00:13:39,766 is going to preserve my original boundary box 280 00:13:40,000 --> 00:13:43,200 but is not going to expand the boundary box 281 00:13:43,200 --> 00:13:44,100 of the effect 282 00:13:44,100 --> 00:13:45,666 beyond the format 283 00:13:45,700 --> 00:13:46,200 if you don't 284 00:13:46,200 --> 00:13:47,833 want to crop to the format 285 00:13:47,900 --> 00:13:49,600 you just deselect that 286 00:13:49,600 --> 00:13:52,300 and then everything is going to expand 287 00:13:52,300 --> 00:13:55,100 to all pixels needed to 288 00:13:55,133 --> 00:13:56,399 to the operations 289 00:13:56,933 --> 00:13:57,899 now in here 290 00:13:57,900 --> 00:13:59,466 we have the B box 291 00:13:59,900 --> 00:14:04,000 b box is just going to add the information you want 292 00:14:04,366 --> 00:14:07,366 but is not going to modify 293 00:14:07,366 --> 00:14:10,199 the original boundary box of your image 294 00:14:10,200 --> 00:14:14,033 so if your image is inside the boundary box 295 00:14:14,100 --> 00:14:15,166 is all good 296 00:14:15,400 --> 00:14:16,566 if your image 297 00:14:16,566 --> 00:14:17,733 that you are generating 298 00:14:17,733 --> 00:14:19,266 the mat or the shape 299 00:14:19,266 --> 00:14:21,566 is touching the wondering box 300 00:14:21,566 --> 00:14:22,733 as I mentioned before 301 00:14:22,733 --> 00:14:24,133 is going to expand 302 00:14:24,133 --> 00:14:26,899 okay so if I apply now 303 00:14:26,900 --> 00:14:27,966 the transform 304 00:14:28,666 --> 00:14:30,066 look what's happening 305 00:14:31,100 --> 00:14:32,833 he's now removing that 306 00:14:33,066 --> 00:14:34,299 extension effect 307 00:14:34,300 --> 00:14:35,566 why is because 308 00:14:35,600 --> 00:14:37,933 the boundary box is actually the same as before 309 00:14:37,933 --> 00:14:40,366 so I'm just adding the black outside 310 00:14:40,366 --> 00:14:42,899 to this original boundary box 311 00:14:42,900 --> 00:14:47,633 and then if I use the boundary box crop A9 312 00:14:47,800 --> 00:14:49,266 placing an element 313 00:14:49,400 --> 00:14:51,033 outside the boundary box 314 00:14:51,166 --> 00:14:54,166 that element is not going to be display 315 00:14:54,166 --> 00:14:56,499 so is not in the 316 00:14:56,666 --> 00:14:57,866 available area 317 00:14:57,900 --> 00:14:59,466 to be represented 318 00:14:59,700 --> 00:15:02,400 okay so that is the boundary box 319 00:15:02,400 --> 00:15:04,366 so you have to pay attention 320 00:15:04,366 --> 00:15:06,199 when you are using that 321 00:15:06,733 --> 00:15:08,133 then you have 322 00:15:08,133 --> 00:15:09,433 the intersection 323 00:15:09,533 --> 00:15:11,566 between the boundary box 324 00:15:11,600 --> 00:15:12,600 and the format 325 00:15:12,600 --> 00:15:16,166 and this is the most restrictive way 326 00:15:16,166 --> 00:15:19,266 of working with the boundary box 327 00:15:19,266 --> 00:15:20,266 which means 328 00:15:20,366 --> 00:15:22,566 whatever you place in here 329 00:15:22,566 --> 00:15:23,699 in this rotor 330 00:15:23,700 --> 00:15:24,700 needs to be 331 00:15:24,700 --> 00:15:26,266 inside the format 332 00:15:26,266 --> 00:15:28,499 and inside the 333 00:15:28,600 --> 00:15:29,466 boundary box 334 00:15:29,466 --> 00:15:30,499 of my previous 335 00:15:30,500 --> 00:15:33,066 and everything that is getting outside the format 336 00:15:33,066 --> 00:15:34,266 and outside 337 00:15:34,466 --> 00:15:35,333 the boundary box 338 00:15:35,333 --> 00:15:36,799 is not going to be 339 00:15:36,800 --> 00:15:37,733 represented 340 00:15:37,733 --> 00:15:39,899 okay so he's cropping 341 00:15:40,100 --> 00:15:41,333 my boundary box 342 00:15:41,333 --> 00:15:42,933 and he's not extending 343 00:15:42,933 --> 00:15:43,766 the boundary box 344 00:15:43,766 --> 00:15:47,299 so that is the intersection the same 345 00:15:47,333 --> 00:15:49,399 if I apply the circle in here 346 00:15:49,400 --> 00:15:51,000 outside the boundary box 347 00:15:51,133 --> 00:15:52,999 nothing happens okay 348 00:15:54,766 --> 00:15:56,599 same issue 349 00:15:58,200 --> 00:16:02,100 of the black outside from the B box 350 00:16:02,266 --> 00:16:03,533 but in this case 351 00:16:03,533 --> 00:16:06,433 we don't have the outside area of the format 352 00:16:06,966 --> 00:16:10,466 then we have the intersection 353 00:16:11,266 --> 00:16:16,633 so they're saying as before and then they clip to known 354 00:16:17,333 --> 00:16:19,533 and this is a curious case 355 00:16:19,533 --> 00:16:24,366 because in here I was expanding my pixels up to the end 356 00:16:24,366 --> 00:16:27,833 and now I'm deciding to place a certain element 357 00:16:28,000 --> 00:16:30,466 so if I transforming here 358 00:16:30,466 --> 00:16:34,466 or simply I apply a black outside 359 00:16:37,200 --> 00:16:41,666 the blue extension of my rectangle is being preserved 360 00:16:41,666 --> 00:16:43,299 because in here 361 00:16:43,766 --> 00:16:44,899 this circle 362 00:16:45,066 --> 00:16:48,899 is just expanding that boundary box with that extension 363 00:16:48,900 --> 00:16:52,833 okay so this is the original image 364 00:16:52,966 --> 00:16:54,999 this is now my circle 365 00:16:55,200 --> 00:17:00,166 this is now my image with the black outside okay 366 00:17:00,166 --> 00:17:03,599 so this is something to be careful okay 367 00:17:04,266 --> 00:17:06,199 so I leave that 368 00:17:07,366 --> 00:17:09,099 and then for the last one 369 00:17:09,733 --> 00:17:15,699 I'm going to get the B box and the format 370 00:17:15,933 --> 00:17:20,366 just to get the outside area of this square 371 00:17:20,366 --> 00:17:22,399 so if I move 372 00:17:23,933 --> 00:17:29,966 in here see that the square is actually a bit bigger 373 00:17:30,600 --> 00:17:35,366 but not much is just up to the area of my star 374 00:17:35,366 --> 00:17:38,366 so it's not expanding more than the pixels 375 00:17:38,366 --> 00:17:41,466 that are inside the boundary box of the original 376 00:17:41,700 --> 00:17:47,533 but it's expanding within the limits of the format 377 00:17:47,533 --> 00:17:49,799 so that's why everything 378 00:17:49,900 --> 00:17:53,133 like the circle or the square in there 379 00:17:53,133 --> 00:17:55,466 is being expand normally 380 00:17:55,466 --> 00:17:59,433 okay so that is the transform 381 00:18:00,133 --> 00:18:02,099 then I prepare for you 382 00:18:02,166 --> 00:18:06,633 a few examples of optimization of the boundary box 383 00:18:06,800 --> 00:18:13,400 so in here I just apply an scale operation 384 00:18:14,900 --> 00:18:18,466 so if you are sure that you don't need 385 00:18:18,500 --> 00:18:20,200 those pixels anymore 386 00:18:20,300 --> 00:18:21,866 you can just crop them 387 00:18:22,300 --> 00:18:24,400 so by applying a crop 388 00:18:24,733 --> 00:18:27,566 you are just deleting all the pixels 389 00:18:27,566 --> 00:18:29,999 that are outside the limits of the crop 390 00:18:30,000 --> 00:18:31,366 that by default 391 00:18:31,366 --> 00:18:34,866 if you select a crop while uh 392 00:18:34,866 --> 00:18:36,866 the last note of your composition 393 00:18:36,866 --> 00:18:38,333 where you want to apply the crop 394 00:18:38,333 --> 00:18:39,366 is selected 395 00:18:39,500 --> 00:18:42,400 the crop is automatically setting the limit 396 00:18:42,400 --> 00:18:44,500 to the format of that image 397 00:18:44,600 --> 00:18:48,733 so in here I'm optimizing my image 398 00:18:48,733 --> 00:18:53,566 by removing any unuseful data that I have 399 00:18:53,733 --> 00:18:55,666 then in here 400 00:18:55,966 --> 00:18:58,366 you have this boundary box 401 00:18:58,600 --> 00:19:01,333 and then you can apply the same principle 402 00:19:01,333 --> 00:19:04,399 but you discovered that is not that good 403 00:19:04,866 --> 00:19:07,599 so if my boundary box is getting outside 404 00:19:07,700 --> 00:19:10,700 but it's smaller than the format 405 00:19:10,733 --> 00:19:13,233 if you apply a crop to that image 406 00:19:13,333 --> 00:19:17,466 yeah you get everything outside the boundary box gone 407 00:19:17,900 --> 00:19:20,433 but you are getting also 408 00:19:20,866 --> 00:19:23,466 the boundary box that was smaller here 409 00:19:23,466 --> 00:19:26,799 is now expanding to the limits of the format 410 00:19:26,900 --> 00:19:29,700 so for this particular example 411 00:19:29,700 --> 00:19:33,600 where the boundary box is not bigger than the format 412 00:19:33,600 --> 00:19:35,000 in all sides 413 00:19:35,500 --> 00:19:37,300 is not a good idea 414 00:19:37,300 --> 00:19:39,666 just to crop that tiny effect 415 00:19:39,666 --> 00:19:43,299 so how can I apply that well 416 00:19:43,566 --> 00:19:45,133 let me give you a work around 417 00:19:45,133 --> 00:19:45,766 and for that 418 00:19:45,766 --> 00:19:47,799 I'm going to apply a roto note 419 00:19:47,800 --> 00:19:50,800 and this roto note is going to be applied to modify 420 00:19:50,800 --> 00:19:52,566 the boundary box of the image 421 00:19:52,566 --> 00:19:54,466 not to create any shape 422 00:19:54,600 --> 00:19:56,466 so what I'm doing is 423 00:19:56,466 --> 00:20:00,833 I'm going to use the intersect B box and format 424 00:20:00,933 --> 00:20:05,399 and I'm going to place any shape of my choice in there 425 00:20:05,400 --> 00:20:07,900 okay um why is 426 00:20:07,900 --> 00:20:10,766 because if you don't place any shape 427 00:20:11,600 --> 00:20:13,966 the rotor is not going to apply 428 00:20:13,966 --> 00:20:15,166 any process to the image 429 00:20:15,166 --> 00:20:20,233 so you can just do any shape outside I can hear 430 00:20:20,366 --> 00:20:21,866 and as soon as you place it 431 00:20:22,300 --> 00:20:25,100 is going to apply the process of the boundary box 432 00:20:25,100 --> 00:20:27,566 of course because I'm outside the format 433 00:20:27,566 --> 00:20:29,233 and the original boundary box 434 00:20:29,366 --> 00:20:32,299 this shape is just doing nothing 435 00:20:32,300 --> 00:20:33,366 but even more 436 00:20:33,366 --> 00:20:36,499 if you want to apply that square and 437 00:20:36,933 --> 00:20:40,266 you are not sure where this boundary box is traveling 438 00:20:40,266 --> 00:20:41,766 you can just place it in here 439 00:20:41,766 --> 00:20:43,266 there's nothing wrong with that 440 00:20:43,400 --> 00:20:46,066 of course if you place it 441 00:20:46,066 --> 00:20:48,599 and then this boundary box is moving in there 442 00:20:49,066 --> 00:20:51,099 or by chance 443 00:20:52,000 --> 00:20:53,366 you get in that 444 00:20:53,900 --> 00:20:55,266 what is happening is 445 00:20:55,266 --> 00:20:56,599 you are going to render something 446 00:20:56,600 --> 00:21:01,033 but if you put the output at no 447 00:21:01,500 --> 00:21:03,766 whatever is the shape you are placing here 448 00:21:03,766 --> 00:21:04,966 is going to be irrelevant 449 00:21:04,966 --> 00:21:09,099 because you are not outputting any data from this note 450 00:21:09,100 --> 00:21:11,566 so is just taking in consideration 451 00:21:11,600 --> 00:21:13,333 the boundary box work 452 00:21:13,333 --> 00:21:16,399 okay so when you are cropping an area 453 00:21:16,400 --> 00:21:21,100 that is smaller than the format 454 00:21:21,166 --> 00:21:22,933 probably is going to be better 455 00:21:22,933 --> 00:21:24,099 yes to use the roto 456 00:21:24,100 --> 00:21:24,600 and of course 457 00:21:24,600 --> 00:21:27,833 you can use the roto also for the other one okay 458 00:21:28,800 --> 00:21:31,800 then when you are handling the boundary box 459 00:21:31,800 --> 00:21:33,933 sometimes is going to be helpful 460 00:21:33,933 --> 00:21:35,766 just understand how the merge 461 00:21:35,766 --> 00:21:37,799 is going to handle your boundary box 462 00:21:37,800 --> 00:21:40,266 because if you have a big image 463 00:21:40,266 --> 00:21:41,899 with a big boundary box 464 00:21:42,166 --> 00:21:44,166 and then a smaller image 465 00:21:44,466 --> 00:21:45,866 then by the fault 466 00:21:46,600 --> 00:21:49,800 the merch is not going to discard any information 467 00:21:49,800 --> 00:21:50,766 and that's good 468 00:21:50,866 --> 00:21:51,899 but sometimes 469 00:21:51,900 --> 00:21:53,200 we don't need that information 470 00:21:53,200 --> 00:21:54,400 that is outside the bone 471 00:21:54,400 --> 00:21:55,800 that is of my format 472 00:21:55,866 --> 00:21:57,666 so for that purpose 473 00:21:57,666 --> 00:21:59,899 is going to be a good option 474 00:22:00,366 --> 00:22:01,699 yes to select 475 00:22:01,800 --> 00:22:04,300 what's the right size of the boundary box 476 00:22:04,466 --> 00:22:05,633 let me tell you that 477 00:22:05,800 --> 00:22:07,166 most of the times 478 00:22:07,166 --> 00:22:08,899 when you don't want the 479 00:22:09,133 --> 00:22:12,066 boundary box to be beyond the edge 480 00:22:12,133 --> 00:22:13,566 of the format 481 00:22:13,666 --> 00:22:15,066 you want to use the P 482 00:22:15,700 --> 00:22:19,166 if you are using the methodology I am giving you 483 00:22:19,166 --> 00:22:20,866 for the composition 484 00:22:20,866 --> 00:22:24,233 where the B input is always the main input 485 00:22:24,400 --> 00:22:26,566 when you are using the B 486 00:22:27,266 --> 00:22:30,199 here in the set boundary box B 487 00:22:30,466 --> 00:22:32,833 the B is usually representing 488 00:22:32,933 --> 00:22:34,566 the live action plate 489 00:22:34,566 --> 00:22:35,399 and of course 490 00:22:35,400 --> 00:22:36,366 the live action 491 00:22:36,366 --> 00:22:37,833 or the background 492 00:22:38,000 --> 00:22:39,733 is the base 493 00:22:39,733 --> 00:22:40,533 for my image 494 00:22:40,533 --> 00:22:42,666 I'm not going to remove that 495 00:22:42,666 --> 00:22:44,599 so what I want is 496 00:22:44,600 --> 00:22:46,466 just to preserve that format 497 00:22:46,466 --> 00:22:48,299 so when you want to 498 00:22:48,333 --> 00:22:50,299 keep the original format 499 00:22:50,300 --> 00:22:52,333 and you are working with the be input 500 00:22:52,333 --> 00:22:53,799 as the main input 501 00:22:53,966 --> 00:22:54,999 what you want 502 00:22:55,000 --> 00:22:57,033 is just to put in here 503 00:22:57,166 --> 00:22:59,033 that you want to set 504 00:22:59,133 --> 00:23:00,066 the boundary box 505 00:23:00,066 --> 00:23:01,199 to the being put 506 00:23:01,200 --> 00:23:03,766 so the original main image 507 00:23:03,766 --> 00:23:05,066 okay of course 508 00:23:05,066 --> 00:23:06,299 there are other options 509 00:23:06,300 --> 00:23:07,833 like the intersection 510 00:23:08,300 --> 00:23:10,500 where is just going to get 511 00:23:10,700 --> 00:23:11,366 whatever is 512 00:23:11,366 --> 00:23:13,299 between the format 513 00:23:13,333 --> 00:23:14,766 and the boundary box 514 00:23:14,766 --> 00:23:16,066 I already have 515 00:23:16,066 --> 00:23:17,366 in my images 516 00:23:17,366 --> 00:23:20,199 so is just the smaller 517 00:23:20,400 --> 00:23:21,600 option possible 518 00:23:22,733 --> 00:23:24,699 and then the a input 519 00:23:25,133 --> 00:23:27,433 which is just preserving 520 00:23:27,466 --> 00:23:28,799 every aspect 521 00:23:28,800 --> 00:23:31,266 of the a image 522 00:23:31,400 --> 00:23:33,733 except exchange 523 00:23:33,733 --> 00:23:35,166 occasions where 524 00:23:35,166 --> 00:23:37,733 your operation is not reversible 525 00:23:37,733 --> 00:23:38,699 and you want 526 00:23:38,700 --> 00:23:39,866 the particular 527 00:23:39,866 --> 00:23:41,299 format to be 528 00:23:41,300 --> 00:23:42,900 in the a input 529 00:23:43,466 --> 00:23:45,199 you are not going to use the a 530 00:23:45,200 --> 00:23:46,833 options much 531 00:23:46,933 --> 00:23:48,399 and then the intersection 532 00:23:48,400 --> 00:23:50,166 of course is going to generate 533 00:23:50,166 --> 00:23:51,666 most of the times 534 00:23:51,933 --> 00:23:54,199 this issue of the edge 535 00:23:54,200 --> 00:23:56,100 so is probably going to be 536 00:23:56,100 --> 00:23:57,233 accompanied by 537 00:23:57,366 --> 00:23:59,199 the black outside 538 00:23:59,200 --> 00:24:02,400 okay um the 539 00:24:02,400 --> 00:24:03,500 most common 540 00:24:03,500 --> 00:24:05,966 are the default union 541 00:24:06,700 --> 00:24:08,633 or if you want to get 542 00:24:09,366 --> 00:24:11,699 your boundary box optimized 543 00:24:11,700 --> 00:24:14,366 instead of using any cropping option 544 00:24:14,400 --> 00:24:16,300 you just leave that 545 00:24:16,966 --> 00:24:17,699 to the merch 546 00:24:17,700 --> 00:24:19,500 operation okay 547 00:24:21,000 --> 00:24:27,233 then another thing that we can analyze is the outcrop 548 00:24:27,366 --> 00:24:28,733 what's an outcrop 549 00:24:28,733 --> 00:24:32,499 well outcrop is something that is going to be apply 550 00:24:32,500 --> 00:24:37,066 just to reduce the active area of an image 551 00:24:37,066 --> 00:24:39,066 to the area of interest 552 00:24:39,066 --> 00:24:40,799 so if you are getting this image 553 00:24:40,800 --> 00:24:44,066 where everything is black outside the alphabet 554 00:24:44,166 --> 00:24:45,566 everything is being used 555 00:24:45,566 --> 00:24:48,733 if you want to reduce the process of calculations 556 00:24:48,733 --> 00:24:52,933 what you are going to do is just to apply a curve tool 557 00:24:52,933 --> 00:24:56,066 to out of crop that area 558 00:24:56,266 --> 00:24:59,133 so how is the out of crop working 559 00:24:59,133 --> 00:25:02,833 well you are telling in here in the curve type 560 00:25:03,500 --> 00:25:06,466 okay that you want to apply a now to prop 561 00:25:06,466 --> 00:25:07,466 and by the way 562 00:25:07,600 --> 00:25:12,066 the curve tool is in the first menu here okay 563 00:25:13,700 --> 00:25:16,400 and then you are telling the outer crop 564 00:25:16,600 --> 00:25:20,066 what's the base colour to look at to be crop 565 00:25:20,266 --> 00:25:22,133 so if you put zero 566 00:25:22,133 --> 00:25:25,366 he's just going to look for the zero value 567 00:25:25,366 --> 00:25:25,933 and everything 568 00:25:25,933 --> 00:25:28,066 that is going to be a block of zero value 569 00:25:28,066 --> 00:25:30,966 that is useless outside a square 570 00:25:30,966 --> 00:25:34,133 defining what is a possible boundary box of this image 571 00:25:34,133 --> 00:25:36,999 something that could be something like that 572 00:25:37,100 --> 00:25:38,300 for instance okay 573 00:25:38,300 --> 00:25:41,166 something like that area um 574 00:25:41,333 --> 00:25:43,233 is going to be like 575 00:25:43,900 --> 00:25:47,066 taking out of consideration those values 576 00:25:47,066 --> 00:25:49,133 then there is an intensity range 577 00:25:49,133 --> 00:25:53,966 this is in case you are having values above or below 578 00:25:54,133 --> 00:25:55,599 and you want to say 579 00:25:55,600 --> 00:25:58,700 I want a threshold of 1 580 00:25:59,400 --> 00:26:00,366 this amount 581 00:26:00,533 --> 00:26:05,566 just to get everything that is from 0 to 0.1 582 00:26:05,700 --> 00:26:08,366 and minus 0.1 583 00:26:08,366 --> 00:26:12,666 is going to be take in the calculations to be removed 584 00:26:12,666 --> 00:26:14,266 okay so in here 585 00:26:14,266 --> 00:26:16,733 this is not actually that good 586 00:26:16,733 --> 00:26:20,133 because you are actually deleting certain information 587 00:26:20,133 --> 00:26:23,499 but in case you are sure of what you are doing 588 00:26:23,500 --> 00:26:27,600 or in case you are getting artifacts for compression 589 00:26:27,700 --> 00:26:29,766 or other kind of grain 590 00:26:29,800 --> 00:26:31,700 maybe this is going to help 591 00:26:31,700 --> 00:26:33,400 but remember 592 00:26:33,400 --> 00:26:37,300 you are actually deleting information of your image 593 00:26:37,366 --> 00:26:40,499 the outer crop is working great with CG 594 00:26:40,800 --> 00:26:42,900 um why in this case 595 00:26:42,933 --> 00:26:44,199 I'm not getting 596 00:26:44,200 --> 00:26:46,766 the area of interest in the boundary box 597 00:26:47,000 --> 00:26:50,166 is because even if in this image 598 00:26:50,166 --> 00:26:51,433 is looking like 599 00:26:51,500 --> 00:26:53,766 this is black outside 600 00:26:53,766 --> 00:26:57,633 the area of the monster is not like that 601 00:26:57,933 --> 00:27:01,599 because there are other channels in here 602 00:27:01,700 --> 00:27:03,166 like for instance death 603 00:27:03,166 --> 00:27:04,666 that is having values 604 00:27:04,766 --> 00:27:07,399 so when you're working with the outer crop 605 00:27:07,666 --> 00:27:09,766 the outer crop is going to look up 606 00:27:09,933 --> 00:27:13,766 every single value of every single layer set so 607 00:27:13,766 --> 00:27:17,466 is making sure that you are not losing any information 608 00:27:17,466 --> 00:27:19,166 so like in this instance 609 00:27:19,166 --> 00:27:21,199 if you want to apply the outer crop 610 00:27:21,200 --> 00:27:24,500 you need to be sure that all the images 611 00:27:24,533 --> 00:27:26,399 that you are going to crop 612 00:27:26,400 --> 00:27:28,466 and it can crop in animation 613 00:27:28,466 --> 00:27:30,366 that that's the nice thing 614 00:27:30,500 --> 00:27:31,966 everything is going to be 615 00:27:31,966 --> 00:27:35,699 with a value of your choice in here usually 0 616 00:27:36,000 --> 00:27:38,266 and that is going to crop the image 617 00:27:38,266 --> 00:27:41,266 even if the image is going to be in movement 618 00:27:41,266 --> 00:27:42,399 so for that 619 00:27:42,400 --> 00:27:44,066 I'm going to select the 620 00:27:44,066 --> 00:27:44,899 out of crop 621 00:27:45,000 --> 00:27:47,266 0 and 0 yes 622 00:27:47,533 --> 00:27:48,699 don't look at the others 623 00:27:48,700 --> 00:27:50,866 except the region of interest 624 00:27:50,866 --> 00:27:51,866 that you need to be sure 625 00:27:51,866 --> 00:27:54,766 that is matching the format of your image 626 00:27:54,766 --> 00:27:57,733 just to be sure you're not losing any information 627 00:27:57,733 --> 00:27:59,133 and then you press go 628 00:27:59,133 --> 00:28:01,366 it's going to ask you for the frame range 629 00:28:01,366 --> 00:28:02,499 you want to calculate 630 00:28:02,500 --> 00:28:03,700 that auto crop 631 00:28:03,700 --> 00:28:04,800 it's going to be right 632 00:28:04,800 --> 00:28:06,766 the whole theme 633 00:28:06,766 --> 00:28:07,733 so I'm going to 634 00:28:07,733 --> 00:28:08,966 pressing here 635 00:28:09,800 --> 00:28:11,766 is going to take a 636 00:28:12,266 --> 00:28:12,866 few seconds 637 00:28:12,866 --> 00:28:14,066 is not that slow 638 00:28:14,066 --> 00:28:15,033 to be honest 639 00:28:15,366 --> 00:28:18,066 and now is giving me certain information 640 00:28:18,066 --> 00:28:18,899 that by the fall 641 00:28:18,900 --> 00:28:19,600 is not display 642 00:28:19,600 --> 00:28:20,700 but is in there 643 00:28:20,733 --> 00:28:23,933 you just need to go to this outcrop data 644 00:28:23,933 --> 00:28:25,899 and is telling you that 645 00:28:27,333 --> 00:28:28,566 in each frame 646 00:28:28,566 --> 00:28:32,899 that's the area that the crop should be applying 647 00:28:32,900 --> 00:28:35,900 but right now this is not applying anything 648 00:28:35,900 --> 00:28:39,200 this is just telling you where the crop should be 649 00:28:39,200 --> 00:28:41,200 applying for every frame 650 00:28:41,200 --> 00:28:42,866 so you need to create 651 00:28:42,866 --> 00:28:47,566 now I'm going to copy in here the animation 652 00:28:47,700 --> 00:28:49,800 and now I'm going to create a crop 653 00:28:51,166 --> 00:28:56,899 and in this area I'm going to paste the information 654 00:28:56,933 --> 00:29:00,133 so now if I close that 655 00:29:00,133 --> 00:29:04,033 see that the boundary box is matching perfectly 656 00:29:04,766 --> 00:29:08,266 the shape of the monster okay 657 00:29:09,400 --> 00:29:15,866 but what if I apply this to the other option in here 658 00:29:17,133 --> 00:29:20,166 even if he's looking right 659 00:29:20,400 --> 00:29:23,533 and actually removing information that is useful 660 00:29:23,533 --> 00:29:27,366 so if I go now to the layer contact sheet 661 00:29:28,166 --> 00:29:30,599 see that now the ambient occlusion is being crop 662 00:29:31,066 --> 00:29:33,599 the death is being crop 663 00:29:34,166 --> 00:29:35,299 and this is being crop 664 00:29:35,300 --> 00:29:37,800 so the boundary box is not 665 00:29:37,800 --> 00:29:41,133 storing the information just for the rgba 666 00:29:41,133 --> 00:29:43,466 this is storing the information for 667 00:29:43,600 --> 00:29:46,700 any channel contain in this stream of images 668 00:29:46,700 --> 00:29:48,200 okay so in this file 669 00:29:48,200 --> 00:29:48,800 for instance 670 00:29:48,800 --> 00:29:50,866 is having information beyond the 671 00:29:50,900 --> 00:29:53,300 zero value of the alpha okay 672 00:29:53,300 --> 00:29:57,466 so that's why it's not right to apply that in there 673 00:29:57,466 --> 00:29:59,299 so I'm going to leave in here 674 00:29:59,300 --> 00:30:02,233 and I'm going to deactivate then 675 00:30:03,566 --> 00:30:05,999 the last case scenario for today 676 00:30:06,000 --> 00:30:09,366 is the handling of the boundary box 677 00:30:09,366 --> 00:30:12,366 when we are working with a 3D setup 678 00:30:12,366 --> 00:30:14,499 in terms of camera reaction 679 00:30:14,600 --> 00:30:17,800 so there are four main areas to look 680 00:30:18,133 --> 00:30:20,766 when we are working with the boundary box 681 00:30:20,766 --> 00:30:23,033 which is the geometry 682 00:30:24,200 --> 00:30:25,833 the scanline render 683 00:30:26,133 --> 00:30:27,466 the lens distortion 684 00:30:28,266 --> 00:30:29,999 and the final merch 685 00:30:30,100 --> 00:30:33,166 okay so where some looking here 686 00:30:34,533 --> 00:30:36,399 the result so 687 00:30:36,400 --> 00:30:42,033 what I'm doing is I'm applying a patch over here okay 688 00:30:42,366 --> 00:30:46,066 and let's have a look at the area of the boundary box 689 00:30:46,066 --> 00:30:50,866 by default is giving me this area 690 00:30:50,966 --> 00:30:52,866 which is not that great 691 00:30:54,066 --> 00:30:57,266 um why is that big 692 00:30:57,266 --> 00:31:01,599 well the area that I'm applying for the projection 693 00:31:01,700 --> 00:31:03,033 is this one 694 00:31:03,466 --> 00:31:10,266 okay but this one is actually just the patch 695 00:31:10,466 --> 00:31:13,766 even if I crop this 696 00:31:17,700 --> 00:31:18,800 doing this 697 00:31:21,766 --> 00:31:25,499 is this going to change my results 698 00:31:27,700 --> 00:31:29,100 absolutely not 699 00:31:29,333 --> 00:31:31,699 because it's not depending on the pixels 700 00:31:31,766 --> 00:31:35,633 see the crop is irrelevant in here 701 00:31:36,100 --> 00:31:41,500 the projection is actually looking at all pixels 702 00:31:41,800 --> 00:31:43,566 of the geometry 703 00:31:43,800 --> 00:31:46,300 so when you are applying a projection 704 00:31:46,400 --> 00:31:48,033 you just need to be careful 705 00:31:48,366 --> 00:31:50,899 that the surface of the projection 706 00:31:50,933 --> 00:31:53,299 is enough to cover the patch 707 00:31:53,300 --> 00:31:57,066 but not so big that is adding a ridiculous amount 708 00:31:57,100 --> 00:32:00,266 of boundary box bleeding 709 00:32:00,266 --> 00:32:04,599 so what you can do is just trimming your geometry 710 00:32:07,000 --> 00:32:12,100 be careful not be so close to the edge 711 00:32:12,100 --> 00:32:14,800 because probably in the representation of the 3D 712 00:32:14,866 --> 00:32:16,566 that is not perfect 713 00:32:16,566 --> 00:32:17,999 render is just a proxy 714 00:32:18,000 --> 00:32:20,400 render for you to visualizing the viewer 715 00:32:20,533 --> 00:32:24,799 is not giving you probably the anti alias options okay 716 00:32:24,800 --> 00:32:27,200 so just leave a 717 00:32:27,566 --> 00:32:31,766 reasonable amount of geometry for the projection 718 00:32:31,766 --> 00:32:33,866 okay so now with this 719 00:32:33,966 --> 00:32:37,033 I'm getting way less okay 720 00:32:38,133 --> 00:32:41,466 other things to look at is 721 00:32:42,733 --> 00:32:44,966 the scanline render why 722 00:32:45,266 --> 00:32:48,133 let me show you the frame of the prediction 723 00:32:48,133 --> 00:32:52,266 which is 153 724 00:32:52,533 --> 00:32:57,133 something happens that 13 elements of the render 725 00:32:57,133 --> 00:32:58,966 after the scanline render 726 00:32:59,166 --> 00:33:04,199 are so close to the view port of the camera 727 00:33:04,200 --> 00:33:08,600 that is actually touching the edge of the frame 728 00:33:08,600 --> 00:33:12,633 I'm going to place in here a cone 729 00:33:14,533 --> 00:33:15,366 trucking Kong 730 00:33:15,366 --> 00:33:20,766 I'm going to convert it into a group so you can open it 731 00:33:22,066 --> 00:33:23,866 and I'm going to place it in here 732 00:33:25,300 --> 00:33:29,100 I'm going to put an axis 733 00:33:32,766 --> 00:33:34,299 so I can move it 734 00:33:35,866 --> 00:33:39,999 and I'm going to put it in here for instance okay 735 00:33:41,200 --> 00:33:42,666 and in here 736 00:33:43,100 --> 00:33:48,666 okay nice I got my comb represented but now 737 00:33:50,100 --> 00:33:53,633 if I go to this calendar is looking perfect 738 00:33:53,933 --> 00:33:55,333 but after this calendar 739 00:33:55,333 --> 00:33:56,633 there is an operation 740 00:33:57,200 --> 00:34:00,766 that is taking pixels from the outside 741 00:34:01,000 --> 00:34:02,700 and taking inside 742 00:34:02,800 --> 00:34:04,800 is exactly what is happening 743 00:34:04,800 --> 00:34:07,300 when I'm calculating my camera 744 00:34:07,466 --> 00:34:10,733 okay so I'm applying the men's distortion 745 00:34:10,733 --> 00:34:15,466 so my pixels are getting stretch on the corners 746 00:34:15,466 --> 00:34:19,966 just to represent the same amount of distortion okay 747 00:34:20,100 --> 00:34:24,266 so through this process of camera projection 748 00:34:25,133 --> 00:34:26,533 that bleeding 749 00:34:26,533 --> 00:34:32,099 so the area that is outside the format is gone 750 00:34:32,333 --> 00:34:33,499 he's not there anymore 751 00:34:33,500 --> 00:34:35,666 so when I'm applying the lenses 752 00:34:35,666 --> 00:34:36,999 torsion the lenses 753 00:34:37,000 --> 00:34:38,100 torsion note 754 00:34:38,100 --> 00:34:41,766 he's expecting me to have those pixels outside 755 00:34:41,900 --> 00:34:44,466 just to put them inside again 756 00:34:44,466 --> 00:34:47,666 he's like putting those notes together in here 757 00:34:47,666 --> 00:34:50,033 see this is getting my pixel outside 758 00:34:50,066 --> 00:34:51,866 then my pixels inside 759 00:34:52,000 --> 00:34:54,500 then everything is is nice 760 00:34:54,500 --> 00:34:56,600 but if I apply a crop 761 00:34:57,066 --> 00:35:00,799 just by removing those pixels 762 00:35:00,933 --> 00:35:01,999 see what's going on 763 00:35:02,900 --> 00:35:08,466 everything that was supposed to be from here in outside 764 00:35:08,466 --> 00:35:10,566 the image is gone 765 00:35:10,566 --> 00:35:12,466 so I'm actually 766 00:35:12,933 --> 00:35:17,166 needing more information from this scanline render 767 00:35:17,200 --> 00:35:19,466 and to correct that 768 00:35:19,800 --> 00:35:21,433 you need to go here 769 00:35:21,500 --> 00:35:24,633 in the scanline render to the overscan 770 00:35:24,700 --> 00:35:26,166 okay in the overscan 771 00:35:26,166 --> 00:35:29,466 what you are doing is actually rendering the pictures 772 00:35:29,466 --> 00:35:31,599 that are beyond the format 773 00:35:31,866 --> 00:35:35,299 so something like that okay 774 00:35:36,000 --> 00:35:38,866 there is no mathematical way of calculating 775 00:35:38,866 --> 00:35:42,199 how many pixels do you need to have in that operation 776 00:35:42,200 --> 00:35:45,666 so is something to do by I okay 777 00:35:45,666 --> 00:35:47,766 be generous okay 778 00:35:48,100 --> 00:35:52,400 and the best way to search for the information 779 00:35:52,400 --> 00:35:54,366 is at the corners 780 00:35:54,366 --> 00:35:56,933 because in the corners is where you are going to have 781 00:35:56,933 --> 00:35:59,166 more deformation of course 782 00:35:59,400 --> 00:36:01,133 so you go to the corners 783 00:36:01,133 --> 00:36:05,166 and then you have to add enough overscan 784 00:36:05,166 --> 00:36:08,366 just to get the lens distortion to work 785 00:36:08,366 --> 00:36:11,399 without any kind of artifacts 786 00:36:11,400 --> 00:36:13,833 um be careful with this 787 00:36:14,100 --> 00:36:16,866 because if you put a very 788 00:36:16,866 --> 00:36:19,199 very high overscan 789 00:36:19,600 --> 00:36:23,733 that is going to crash the memory of your computer 790 00:36:23,733 --> 00:36:24,466 because of course 791 00:36:24,466 --> 00:36:27,999 you are going to render a huge image 792 00:36:28,000 --> 00:36:31,166 so be careful when you are working with 793 00:36:31,166 --> 00:36:32,899 or scanning okay 794 00:36:33,266 --> 00:36:34,633 just enough 795 00:36:34,766 --> 00:36:37,166 and then when you apply the lens distortion 796 00:36:37,166 --> 00:36:41,266 you will see that there is always a space remaining 797 00:36:41,266 --> 00:36:42,399 of boundary box 798 00:36:42,400 --> 00:36:43,400 that in this case 799 00:36:43,400 --> 00:36:45,300 is going to be useless 800 00:36:45,300 --> 00:36:47,500 so what I recommend is 801 00:36:47,500 --> 00:36:49,200 as I mentioned earlier 802 00:36:49,400 --> 00:36:51,466 is to go to the merch 803 00:36:51,533 --> 00:36:55,033 and then instead of using the default union 804 00:36:55,266 --> 00:37:00,066 you're going to use the B input so in here 805 00:37:01,500 --> 00:37:03,866 everything is crop 806 00:37:04,800 --> 00:37:08,566 outside the area that is not interesting anymore 807 00:37:08,566 --> 00:37:12,233 okay so in here everything is combined together 808 00:37:13,700 --> 00:37:17,600 so working with the boundary box is very important 809 00:37:17,600 --> 00:37:20,300 because it's going to optimise your render time 810 00:37:20,300 --> 00:37:21,533 if you start 811 00:37:21,533 --> 00:37:24,799 losing the track of where your boundary box is 812 00:37:24,800 --> 00:37:26,633 at the very beginning of the script 813 00:37:26,733 --> 00:37:27,799 probably by the end 814 00:37:27,800 --> 00:37:31,800 you are going to have a ridiculous amount of processing 815 00:37:31,800 --> 00:37:33,300 that is useless 816 00:37:33,300 --> 00:37:35,666 so it's going to kill your render times 817 00:37:35,666 --> 00:37:38,733 so pay attention to the boundary box 818 00:37:38,733 --> 00:37:41,733 because it's going to help you um 819 00:37:41,733 --> 00:37:43,566 when things are in a rush 820 00:37:43,566 --> 00:37:45,233 um at the end of the day 821 00:37:45,366 --> 00:37:46,999 they are all in a rush 822 00:37:47,000 --> 00:37:49,033 he's going to help a lot 823 00:37:49,666 --> 00:37:52,099 so that's all for this week 824 00:37:52,100 --> 00:37:53,500 if you have any comments 825 00:37:53,500 --> 00:37:55,100 questions or suggestions 826 00:37:55,100 --> 00:37:57,266 feel free to post them in the forums 827 00:37:57,333 --> 00:38:01,499 as always this has been Victor Perez for FX PhD 828 00:38:01,866 --> 00:38:02,999 thanks for watching 57474

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