Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:06,566 --> 00:00:09,066
hello and welcome back to nuke 2 3 1
2
00:00:09,066 --> 00:00:11,533
nuke composting best practices
3
00:00:11,533 --> 00:00:12,899
this is Victor Perez
4
00:00:12,900 --> 00:00:13,733
and in this class
5
00:00:13,733 --> 00:00:15,066
we are going to discuss
6
00:00:15,066 --> 00:00:18,366
the issues of working with relative paths
7
00:00:18,400 --> 00:00:21,100
which is the way nuke handles the fives
8
00:00:21,100 --> 00:00:24,300
when you import using the read note
9
00:00:24,400 --> 00:00:28,833
okay so we're going to study different ways
10
00:00:28,933 --> 00:00:31,999
of relinking those relative paths
11
00:00:32,000 --> 00:00:35,300
in order to lose as less time as possible
12
00:00:35,300 --> 00:00:38,166
every time you are changing computers
13
00:00:38,166 --> 00:00:42,166
or when you are changing the location of your source
14
00:00:42,166 --> 00:00:43,766
images okay
15
00:00:44,200 --> 00:00:48,633
so let's start by showing you what is my footage
16
00:00:48,866 --> 00:00:50,066
which is in here
17
00:00:50,066 --> 00:00:52,233
this folder on my desktop
18
00:00:52,266 --> 00:00:54,499
that I call original folder
19
00:00:54,500 --> 00:00:57,866
which is a very easy way to understand
20
00:00:57,866 --> 00:01:01,766
when we are going to move from here to this new folder
21
00:01:01,766 --> 00:01:05,033
which is the moved folder okay
22
00:01:05,100 --> 00:01:06,666
so right now
23
00:01:06,666 --> 00:01:08,199
all the images in here
24
00:01:08,200 --> 00:01:13,000
are import on my nuke script here
25
00:01:13,000 --> 00:01:14,800
okay so here you are
26
00:01:14,800 --> 00:01:17,300
so what I'm going to do is I'm going to close
27
00:01:18,200 --> 00:01:21,400
I'm going to change the position of this folder
28
00:01:22,000 --> 00:01:23,700
okay here you are
29
00:01:24,000 --> 00:01:28,633
and now as soon as I recall the same script
30
00:01:29,733 --> 00:01:30,333
I mean shoe
31
00:01:30,333 --> 00:01:31,566
is going to appear
32
00:01:32,566 --> 00:01:33,499
here you are
33
00:01:34,100 --> 00:01:35,300
this is what I mean
34
00:01:35,766 --> 00:01:39,399
now the paths are broken
35
00:01:39,400 --> 00:01:44,400
because nuke is still trying to look for those images
36
00:01:44,400 --> 00:01:46,733
inside this original folder
37
00:01:46,733 --> 00:01:48,533
but I move everything to here
38
00:01:48,533 --> 00:01:51,499
so instead of doing the relink
39
00:01:51,533 --> 00:01:53,733
as we probably do
40
00:01:53,733 --> 00:01:55,733
for only one single image
41
00:01:55,733 --> 00:01:57,733
so going in here
42
00:01:57,733 --> 00:01:59,633
and then clicking here
43
00:01:59,766 --> 00:02:04,666
and then going into my desktop mood folder
44
00:02:04,933 --> 00:02:09,299
footage and then selecting the fire
45
00:02:09,533 --> 00:02:11,566
imagine that for one
46
00:02:11,666 --> 00:02:13,433
that's a bit annoying
47
00:02:13,466 --> 00:02:16,499
but when you have something like in here 6
48
00:02:16,500 --> 00:02:18,466
or imagine way more
49
00:02:18,466 --> 00:02:21,866
when you have a complex script with many elements
50
00:02:21,866 --> 00:02:22,799
for instance
51
00:02:23,200 --> 00:02:26,533
100 elements of smoke fire
52
00:02:26,533 --> 00:02:28,966
water um CG
53
00:02:29,133 --> 00:02:30,899
that can be an issue
54
00:02:31,200 --> 00:02:32,100
and you know
55
00:02:32,566 --> 00:02:36,533
now there is a tendency to work with freelance
56
00:02:36,533 --> 00:02:39,266
from home or from personal studio
57
00:02:39,266 --> 00:02:43,466
so the work is now traveling through the network
58
00:02:43,466 --> 00:02:45,166
which means that
59
00:02:45,533 --> 00:02:48,599
every artist is having a different location
60
00:02:48,600 --> 00:02:50,366
or a different path
61
00:02:50,400 --> 00:02:53,266
or even a different operative system
62
00:02:53,266 --> 00:02:56,833
to get into that particular image
63
00:02:57,000 --> 00:03:00,866
so the first thing we need to get
64
00:03:00,866 --> 00:03:02,766
is an structure pipeline
65
00:03:02,766 --> 00:03:04,699
with the same naming convention
66
00:03:04,700 --> 00:03:06,133
and for the structure
67
00:03:06,133 --> 00:03:07,299
for everybody
68
00:03:07,300 --> 00:03:10,000
which is working with the same images
69
00:03:10,100 --> 00:03:12,333
even if you are working in the same company
70
00:03:12,333 --> 00:03:14,166
in the same network
71
00:03:14,500 --> 00:03:16,733
even just the tiny variation
72
00:03:16,733 --> 00:03:19,366
of working with a different operative system
73
00:03:19,366 --> 00:03:20,399
for instance
74
00:03:20,466 --> 00:03:23,599
Mac or Windows or Linux
75
00:03:24,100 --> 00:03:28,366
that the way of handling the information
76
00:03:28,366 --> 00:03:30,299
for Windows and Mac
77
00:03:30,333 --> 00:03:31,366
is very different
78
00:03:31,366 --> 00:03:33,299
because for Windows
79
00:03:33,500 --> 00:03:36,066
the full name for the operative system
80
00:03:36,066 --> 00:03:38,833
hard drive is C
81
00:03:39,200 --> 00:03:41,300
while in Mac
82
00:03:41,333 --> 00:03:42,366
for instance
83
00:03:42,366 --> 00:03:44,566
is in volumes
84
00:03:44,800 --> 00:03:46,800
Mcintosh HD
85
00:03:47,066 --> 00:03:52,066
so even if you respect the same for the structure
86
00:03:52,066 --> 00:03:54,066
just changing the breath system
87
00:03:54,066 --> 00:03:55,999
is going to change everything
88
00:03:56,000 --> 00:03:57,700
so at least
89
00:03:57,700 --> 00:03:59,866
what I am assuming is
90
00:03:59,866 --> 00:04:03,166
you are not changing the name of the files
91
00:04:03,166 --> 00:04:07,866
or even the name of the folders containing each file
92
00:04:07,866 --> 00:04:10,499
so this foldering here
93
00:04:10,700 --> 00:04:12,233
which is the footage
94
00:04:12,366 --> 00:04:13,833
hasn't change
95
00:04:14,066 --> 00:04:15,166
what change
96
00:04:15,166 --> 00:04:17,633
is the folder containing that
97
00:04:17,666 --> 00:04:20,766
so we are going to call in there
98
00:04:21,400 --> 00:04:25,266
two parts for this stream okay
99
00:04:25,266 --> 00:04:27,799
this users Victor
100
00:04:27,800 --> 00:04:29,866
Press desktop
101
00:04:30,000 --> 00:04:31,833
move further
102
00:04:32,066 --> 00:04:35,366
is my absolute path
103
00:04:35,533 --> 00:04:38,666
to locate my further structure
104
00:04:38,666 --> 00:04:40,866
okay so this is the part
105
00:04:41,400 --> 00:04:42,600
of this string
106
00:04:42,600 --> 00:04:44,100
a string remember
107
00:04:44,100 --> 00:04:47,266
is just a text that is
108
00:04:47,266 --> 00:04:48,399
in this case
109
00:04:48,466 --> 00:04:50,533
pointing the path
110
00:04:50,533 --> 00:04:52,799
to get to the image
111
00:04:53,133 --> 00:04:54,799
so in this case
112
00:04:54,800 --> 00:04:57,633
this part of this string
113
00:04:57,800 --> 00:05:00,200
he's the absolute father
114
00:05:00,200 --> 00:05:02,966
where I put my
115
00:05:02,966 --> 00:05:04,266
for the structure
116
00:05:04,266 --> 00:05:07,099
for my project okay
117
00:05:07,566 --> 00:05:09,099
and then we have this
118
00:05:09,466 --> 00:05:10,999
footage folder
119
00:05:11,133 --> 00:05:13,166
and any other folders
120
00:05:13,200 --> 00:05:14,766
or the image
121
00:05:14,766 --> 00:05:15,866
like in here
122
00:05:15,866 --> 00:05:18,266
okay so that is structure
123
00:05:18,466 --> 00:05:20,233
that is not changing
124
00:05:20,266 --> 00:05:21,433
the only changes
125
00:05:21,500 --> 00:05:22,566
the beginning
126
00:05:22,566 --> 00:05:24,999
that is structure that is not changing
127
00:05:25,000 --> 00:05:26,733
is the relative path
128
00:05:26,733 --> 00:05:28,999
okay because it's relative to my
129
00:05:29,000 --> 00:05:30,466
further structure
130
00:05:30,533 --> 00:05:31,533
so what I did
131
00:05:31,533 --> 00:05:32,833
is just to move
132
00:05:33,533 --> 00:05:35,866
my main folder
133
00:05:35,933 --> 00:05:38,199
of the relative path okay
134
00:05:38,933 --> 00:05:40,766
so what I should do
135
00:05:40,766 --> 00:05:42,399
is just to change
136
00:05:42,400 --> 00:05:44,433
my absolute path
137
00:05:44,700 --> 00:05:47,566
from pointing here
138
00:05:47,600 --> 00:05:49,500
to point here
139
00:05:49,500 --> 00:05:51,466
and then everything inside
140
00:05:51,700 --> 00:05:53,266
this folder structure
141
00:05:53,266 --> 00:05:54,266
is going to be
142
00:05:54,266 --> 00:05:55,899
recall using
143
00:05:55,900 --> 00:05:56,966
the relative path
144
00:05:56,966 --> 00:05:59,466
so everything is going inside the footage
145
00:05:59,500 --> 00:06:00,933
and inside the footage
146
00:06:00,933 --> 00:06:01,966
is going to find
147
00:06:01,966 --> 00:06:03,099
all the images
148
00:06:03,100 --> 00:06:05,700
exactly as before okay
149
00:06:06,100 --> 00:06:08,166
so the first method
150
00:06:08,166 --> 00:06:09,499
I'm going to show you
151
00:06:09,500 --> 00:06:11,366
is going to be using
152
00:06:11,366 --> 00:06:13,666
a plain text editor
153
00:06:13,666 --> 00:06:15,633
so no tricks
154
00:06:16,100 --> 00:06:17,600
nothing is just
155
00:06:17,933 --> 00:06:19,766
search and replace
156
00:06:19,766 --> 00:06:22,166
okay so for doing that
157
00:06:22,166 --> 00:06:23,666
I need a copy
158
00:06:23,666 --> 00:06:24,866
of my script
159
00:06:25,066 --> 00:06:26,999
so I'm going to save a copy
160
00:06:27,000 --> 00:06:28,100
on my desktop
161
00:06:28,466 --> 00:06:30,433
in order to prevent
162
00:06:30,566 --> 00:06:31,933
to modify the original
163
00:06:31,933 --> 00:06:34,166
so we can use the original for
164
00:06:34,300 --> 00:06:36,300
all the other instances
165
00:06:36,333 --> 00:06:38,299
so here you are
166
00:06:38,766 --> 00:06:43,466
save as in here my
167
00:06:44,900 --> 00:06:47,866
relink class
168
00:06:50,000 --> 00:06:55,200
okay so in order to apply the text editor way
169
00:06:55,366 --> 00:07:00,833
we need to change at least one single readnote
170
00:07:00,900 --> 00:07:04,133
just to have the relative path
171
00:07:04,133 --> 00:07:06,366
and the absolute new path
172
00:07:06,366 --> 00:07:09,233
okay so I'm going to get in there
173
00:07:10,466 --> 00:07:13,699
and I'm going to
174
00:07:15,100 --> 00:07:18,666
my desktop mode folder
175
00:07:19,366 --> 00:07:20,566
and here you are
176
00:07:20,566 --> 00:07:23,733
okay so this is going to be the one
177
00:07:23,733 --> 00:07:25,666
the read one
178
00:07:25,733 --> 00:07:27,633
okay so I'm going to save
179
00:07:28,466 --> 00:07:29,566
I'm going to quit
180
00:07:29,766 --> 00:07:33,666
and now let's open this relink with any text editor
181
00:07:33,666 --> 00:07:35,399
remember that you can use
182
00:07:35,533 --> 00:07:37,966
the regular text editor with Mac
183
00:07:37,966 --> 00:07:40,599
or the block notes from Windows
184
00:07:40,600 --> 00:07:42,966
just any plain text editor
185
00:07:42,966 --> 00:07:43,966
I'm going to use
186
00:07:43,966 --> 00:07:46,366
for the sake of this exercise
187
00:07:46,366 --> 00:07:47,999
to be more clear
188
00:07:48,700 --> 00:07:49,666
the text Granger
189
00:07:49,666 --> 00:07:52,933
which is a script editor
190
00:07:52,933 --> 00:07:57,566
so you can use Python or any other script language
191
00:07:57,600 --> 00:07:59,666
and in here is going to be clear
192
00:08:01,733 --> 00:08:03,966
to use this okay
193
00:08:04,933 --> 00:08:11,566
so let's search for the read one
194
00:08:11,566 --> 00:08:14,566
which is the one that is having the new path
195
00:08:14,566 --> 00:08:18,233
okay so let's start by using the search option
196
00:08:18,766 --> 00:08:21,966
which is in here find
197
00:08:22,933 --> 00:08:26,399
and let's find read one
198
00:08:26,666 --> 00:08:28,833
okay case sensitive
199
00:08:29,066 --> 00:08:31,233
okay so next
200
00:08:31,400 --> 00:08:32,833
and here you are
201
00:08:33,000 --> 00:08:36,066
this is the one that I was searching for
202
00:08:36,300 --> 00:08:41,766
okay so this first part is having
203
00:08:41,766 --> 00:08:43,399
as you can see here
204
00:08:43,766 --> 00:08:45,766
that move folder
205
00:08:45,766 --> 00:08:48,999
okay so what I'm going to do is
206
00:08:49,000 --> 00:08:54,100
I'm going to find the original path
207
00:08:54,466 --> 00:08:56,366
and I'm going to replace with this one
208
00:08:56,366 --> 00:08:58,433
so the original path
209
00:08:59,400 --> 00:09:04,233
is going to be on any other readnote
210
00:09:04,566 --> 00:09:06,999
so for instance in here
211
00:09:07,466 --> 00:09:09,666
okay so remember
212
00:09:09,666 --> 00:09:12,966
you need to have exactly the same
213
00:09:13,166 --> 00:09:16,633
same amount of slashes
214
00:09:16,800 --> 00:09:18,366
okay or backslash
215
00:09:18,366 --> 00:09:20,466
in case you are using Windows
216
00:09:21,200 --> 00:09:24,700
so if you finish your call with this
217
00:09:25,200 --> 00:09:28,400
that should be in both okay
218
00:09:28,666 --> 00:09:32,899
so I'm going to get that
219
00:09:35,666 --> 00:09:37,366
and at the same way
220
00:09:38,066 --> 00:09:41,966
don't mistake any spaces
221
00:09:41,966 --> 00:09:44,866
okay so you have the same
222
00:09:45,533 --> 00:09:49,033
okay same structure this lash
223
00:09:49,266 --> 00:09:55,066
okay so now remember you have to put case sensitive
224
00:09:55,066 --> 00:09:58,299
okay I'm going to remove the entire world
225
00:09:58,700 --> 00:10:03,000
because I don't want just to have a whole block
226
00:10:03,266 --> 00:10:07,499
but any part of the text that is containing this
227
00:10:08,133 --> 00:10:11,999
is going to be substitute with this
228
00:10:12,400 --> 00:10:16,266
okay so now I'm going to replace all
229
00:10:17,700 --> 00:10:19,766
okay so now as you can see
230
00:10:19,766 --> 00:10:25,366
everything in here has changed from the original folder
231
00:10:25,400 --> 00:10:28,300
to the move folder okay
232
00:10:28,600 --> 00:10:32,200
so that's the nice thing of using nuke
233
00:10:32,200 --> 00:10:33,366
because everything
234
00:10:33,366 --> 00:10:34,899
even this creeps
235
00:10:35,133 --> 00:10:36,899
are human breathable
236
00:10:36,900 --> 00:10:39,766
okay so we can operate everything
237
00:10:39,966 --> 00:10:42,499
once we have our change
238
00:10:42,500 --> 00:10:43,966
we're going to save
239
00:10:44,066 --> 00:10:47,699
we are not going to change anything else in the script
240
00:10:47,700 --> 00:10:50,533
because we can break the structure of the script
241
00:10:50,533 --> 00:10:51,999
and that is going to corrupt
242
00:10:52,000 --> 00:10:55,466
okay so I'm going to save without formatting
243
00:10:55,466 --> 00:10:57,599
and now I'm going to close
244
00:10:59,133 --> 00:11:02,099
and this relink class
245
00:11:02,100 --> 00:11:06,600
is going to have all my folders perfectly aligned so
246
00:11:07,900 --> 00:11:10,633
let's open relink class
247
00:11:12,200 --> 00:11:13,300
here you are
248
00:11:13,466 --> 00:11:15,866
um here we go
249
00:11:16,700 --> 00:11:20,033
everything is now working perfectly
250
00:11:20,533 --> 00:11:24,599
okay so this is the easiest way
251
00:11:24,600 --> 00:11:27,733
because you don't need to have any knowledge
252
00:11:27,733 --> 00:11:30,466
or a scripting or anything else
253
00:11:30,466 --> 00:11:33,666
is just plain text replace
254
00:11:33,666 --> 00:11:39,199
okay so now we are going to get a bit hardcore
255
00:11:39,200 --> 00:11:42,200
because we are going to start using Python
256
00:11:42,266 --> 00:11:43,566
and for that no worries
257
00:11:43,566 --> 00:11:47,566
because I put the receipt everything in here
258
00:11:47,566 --> 00:11:49,766
so you just need to copy and paste
259
00:11:49,800 --> 00:11:52,866
but if you know a bit of Python
260
00:11:53,133 --> 00:11:57,633
you will see that even the receipt is really easy
261
00:11:57,666 --> 00:11:58,466
just to apply
262
00:11:58,466 --> 00:12:00,466
there are just a few lines of coat
263
00:12:00,466 --> 00:12:02,999
that I'm going to show you in a bit
264
00:12:03,100 --> 00:12:06,366
so let's close this again
265
00:12:06,566 --> 00:12:10,299
I'm going to delete this link class
266
00:12:11,066 --> 00:12:15,666
now I'm going to open the original again okay
267
00:12:17,166 --> 00:12:18,599
so the original
268
00:12:19,800 --> 00:12:21,300
should be working
269
00:12:21,300 --> 00:12:22,266
here you are
270
00:12:23,300 --> 00:12:26,300
okay so this time
271
00:12:26,300 --> 00:12:28,900
because I'm going to apply a Python script
272
00:12:28,933 --> 00:12:31,766
I need my script editor
273
00:12:31,766 --> 00:12:36,799
so for that I'm going to split vertical in here
274
00:12:36,800 --> 00:12:38,766
and now I'm going to call
275
00:12:40,000 --> 00:12:42,366
the script editor
276
00:12:42,866 --> 00:12:44,366
okay here you are
277
00:12:44,700 --> 00:12:48,900
so now I'm going to copy the content of these
278
00:12:48,900 --> 00:12:50,066
sticky note
279
00:12:50,866 --> 00:12:52,466
and I'm going to explain you
280
00:12:52,866 --> 00:12:54,566
what you need to do with this
281
00:12:55,100 --> 00:12:58,433
okay so first things first
282
00:12:58,933 --> 00:13:00,499
as I mentioned before
283
00:13:00,566 --> 00:13:04,633
you are going to need to change at least one read note
284
00:13:04,700 --> 00:13:05,866
just to understand
285
00:13:05,866 --> 00:13:10,966
where is the location of your absolute path
286
00:13:10,966 --> 00:13:11,733
you know the path
287
00:13:11,733 --> 00:13:14,799
containing the further structure of your images
288
00:13:14,800 --> 00:13:16,466
okay so in here
289
00:13:16,466 --> 00:13:18,166
imagine that I changed that
290
00:13:18,166 --> 00:13:19,066
I did it already
291
00:13:19,066 --> 00:13:22,399
so I got in here
292
00:13:23,266 --> 00:13:26,666
where was my original folder
293
00:13:26,666 --> 00:13:27,699
as you can see
294
00:13:27,700 --> 00:13:33,033
okay so I just put this varievo
295
00:13:33,100 --> 00:13:35,500
which is old location
296
00:13:35,766 --> 00:13:40,233
where my folder was originally placed
297
00:13:40,700 --> 00:13:42,366
and now in here
298
00:13:42,366 --> 00:13:45,233
I have another varieval
299
00:13:45,266 --> 00:13:48,899
which is called Neon Location okay
300
00:13:48,933 --> 00:13:55,899
and it's containing the path of the absolute new folder
301
00:13:55,900 --> 00:13:57,966
okay the folder containing
302
00:13:57,966 --> 00:14:02,499
now they for the structure of my images okay
303
00:14:02,966 --> 00:14:05,699
so I called here
304
00:14:05,933 --> 00:14:08,066
the first one search
305
00:14:08,566 --> 00:14:11,799
and the other one replace okay
306
00:14:12,366 --> 00:14:16,466
now in this line 7
307
00:14:16,466 --> 00:14:19,233
I put just a comment
308
00:14:19,366 --> 00:14:24,666
as to let you know that this line 8 and after
309
00:14:24,800 --> 00:14:30,000
is just operating that action to search and replace
310
00:14:30,000 --> 00:14:33,100
so what I did is just to create a loop
311
00:14:33,200 --> 00:14:34,966
a 4 in loop
312
00:14:35,266 --> 00:14:39,933
so for every element in my selection of notes
313
00:14:39,933 --> 00:14:41,499
that are read notes
314
00:14:41,500 --> 00:14:42,700
this is going to
315
00:14:43,100 --> 00:14:45,666
make sure that you are selecting read notes
316
00:14:45,666 --> 00:14:48,866
in case you are selecting other notes that are not read
317
00:14:48,866 --> 00:14:50,499
they are going to be ignored
318
00:14:50,700 --> 00:14:53,500
so from all your selection
319
00:14:53,600 --> 00:14:57,366
is going to calculate the path
320
00:14:57,766 --> 00:15:01,166
and then is going to get from this
321
00:15:01,966 --> 00:15:03,799
where is the position
322
00:15:04,600 --> 00:15:06,700
of the all location
323
00:15:06,700 --> 00:15:10,833
and where is the position of the relative path
324
00:15:10,866 --> 00:15:14,766
so now it's getting my relative path
325
00:15:14,766 --> 00:15:17,399
and applying that to the new path
326
00:15:17,400 --> 00:15:19,733
which is the one you have in here
327
00:15:19,733 --> 00:15:22,599
okay so now
328
00:15:22,666 --> 00:15:23,899
once you have that
329
00:15:23,900 --> 00:15:27,900
he's just writing in the file knob
330
00:15:28,366 --> 00:15:31,433
everything from the absolute path
331
00:15:31,866 --> 00:15:34,866
including the relative path okay
332
00:15:34,866 --> 00:15:35,866
it's really
333
00:15:35,866 --> 00:15:36,799
really easy
334
00:15:37,466 --> 00:15:41,666
so remember that we are operating with the
335
00:15:42,333 --> 00:15:44,166
selection of notes
336
00:15:44,166 --> 00:15:47,466
okay so we are going to select those notes
337
00:15:47,900 --> 00:15:49,700
you are going to place in here
338
00:15:50,133 --> 00:15:53,266
where was the folder
339
00:15:53,900 --> 00:15:56,300
and now where is the folder
340
00:15:56,300 --> 00:15:57,500
actually okay
341
00:15:57,500 --> 00:15:58,933
so once you have that
342
00:15:58,933 --> 00:16:00,499
and you selected your notes
343
00:16:00,866 --> 00:16:05,566
you just execute the action by pressing this
344
00:16:05,966 --> 00:16:07,066
and here you are
345
00:16:07,333 --> 00:16:09,166
everything has been relink
346
00:16:09,200 --> 00:16:11,333
so just by doing copy and paste
347
00:16:11,333 --> 00:16:14,866
you are going to get everything relink very
348
00:16:14,866 --> 00:16:15,966
very easily
349
00:16:16,533 --> 00:16:20,699
if you want to get this even more easy
350
00:16:20,766 --> 00:16:23,899
you can create your own model window
351
00:16:24,066 --> 00:16:28,999
and even install that as a python call on the menu
352
00:16:29,000 --> 00:16:30,366
so that is going to ask you
353
00:16:30,366 --> 00:16:32,533
where is the absolute folder
354
00:16:32,533 --> 00:16:34,233
where is the new
355
00:16:34,300 --> 00:16:35,266
of the folder
356
00:16:35,266 --> 00:16:37,699
and then is going to make the calculations
357
00:16:37,700 --> 00:16:38,500
automatically
358
00:16:38,500 --> 00:16:40,166
okay that is very
359
00:16:40,166 --> 00:16:41,899
very handy okay
360
00:16:42,366 --> 00:16:43,899
and now this time
361
00:16:44,333 --> 00:16:47,966
we are going to apply a note
362
00:16:48,100 --> 00:16:49,833
that is going to drive
363
00:16:50,133 --> 00:16:52,599
all the file knobs
364
00:16:52,933 --> 00:16:55,699
okay inside your grid notes
365
00:16:55,700 --> 00:16:59,500
okay so this is the sign for you
366
00:16:59,500 --> 00:17:00,666
when you are sure
367
00:17:00,666 --> 00:17:04,499
that you are going to be traveling with your files
368
00:17:04,500 --> 00:17:08,100
and you want to have everything preinstall
369
00:17:08,100 --> 00:17:10,066
just to make easy changes
370
00:17:10,066 --> 00:17:13,066
without the need of Python or
371
00:17:13,066 --> 00:17:14,199
or the text editor
372
00:17:14,200 --> 00:17:15,900
everything is going to be in beat
373
00:17:15,900 --> 00:17:16,700
in your script
374
00:17:16,700 --> 00:17:18,133
so it's going to be really
375
00:17:18,133 --> 00:17:20,299
really easy to call
376
00:17:21,100 --> 00:17:22,733
and is just this structure
377
00:17:22,733 --> 00:17:23,899
so what I did
378
00:17:24,100 --> 00:17:26,633
is I create a
379
00:17:26,666 --> 00:17:28,566
no operation note
380
00:17:28,733 --> 00:17:32,566
which is in here the Wop
381
00:17:32,900 --> 00:17:34,100
I changed the name
382
00:17:34,100 --> 00:17:36,466
so I put the name I wanted
383
00:17:36,466 --> 00:17:38,166
and it's in this case relink
384
00:17:38,166 --> 00:17:39,333
and then what I did
385
00:17:39,333 --> 00:17:40,799
is to populate
386
00:17:41,366 --> 00:17:44,466
using manage user knobs
387
00:17:44,566 --> 00:17:47,333
so I call all the knobs in here
388
00:17:47,333 --> 00:17:48,733
which is for instance
389
00:17:48,733 --> 00:17:50,266
the text input
390
00:17:50,266 --> 00:17:52,766
okay so you put a name
391
00:17:52,766 --> 00:17:54,933
that can be bath
392
00:17:54,933 --> 00:17:56,133
and that is the name
393
00:17:56,133 --> 00:17:57,499
you are going to fear
394
00:17:57,500 --> 00:17:59,766
when you are writing
395
00:17:59,900 --> 00:18:01,066
the expression
396
00:18:01,066 --> 00:18:02,866
and I mean the nuke expression
397
00:18:02,866 --> 00:18:04,633
on those written notes
398
00:18:04,733 --> 00:18:05,666
and the label
399
00:18:05,766 --> 00:18:07,766
something that is going to be very healthy
400
00:18:07,766 --> 00:18:08,899
is just to put
401
00:18:08,900 --> 00:18:09,766
the same name
402
00:18:09,766 --> 00:18:10,666
as the label
403
00:18:10,666 --> 00:18:13,199
okay so bath
404
00:18:14,300 --> 00:18:17,833
so that is going to create this
405
00:18:18,100 --> 00:18:21,600
okay then what I did in this example
406
00:18:21,600 --> 00:18:23,133
is just for you
407
00:18:23,133 --> 00:18:25,166
just to get everything easier
408
00:18:25,166 --> 00:18:26,399
so I create
409
00:18:27,133 --> 00:18:28,999
instead of a text input
410
00:18:29,133 --> 00:18:30,933
I create a file name
411
00:18:30,933 --> 00:18:33,066
so I can click in here
412
00:18:33,066 --> 00:18:35,266
and select the folder
413
00:18:35,266 --> 00:18:36,933
okay so right now
414
00:18:36,933 --> 00:18:39,266
is my original folder
415
00:18:39,400 --> 00:18:41,433
but see what happens
416
00:18:42,100 --> 00:18:43,133
when I go to the
417
00:18:43,133 --> 00:18:44,166
move folder
418
00:18:44,166 --> 00:18:47,099
and I just selected my folder
419
00:18:47,100 --> 00:18:49,166
no final file
420
00:18:49,166 --> 00:18:51,466
so just the folder structure
421
00:18:51,500 --> 00:18:53,700
so move folder
422
00:18:53,700 --> 00:18:56,466
which is the absolute path in here
423
00:18:56,500 --> 00:18:58,100
so I open and
424
00:18:58,100 --> 00:18:58,733
as soon as I
425
00:18:58,733 --> 00:18:59,799
willing that
426
00:19:00,133 --> 00:19:02,066
see everything in here
427
00:19:02,066 --> 00:19:03,399
has changed
428
00:19:03,666 --> 00:19:05,899
and now is working okay
429
00:19:05,900 --> 00:19:08,233
so I just did that
430
00:19:08,366 --> 00:19:09,899
and in here I put
431
00:19:10,400 --> 00:19:12,600
this nuke expression
432
00:19:12,600 --> 00:19:13,933
which is for you
433
00:19:13,933 --> 00:19:15,666
to copy and paste
434
00:19:15,666 --> 00:19:18,233
so I'm going to make an example
435
00:19:18,700 --> 00:19:19,933
so I'm going to copy
436
00:19:19,933 --> 00:19:21,799
by using command C
437
00:19:22,300 --> 00:19:22,966
and in here
438
00:19:22,966 --> 00:19:24,133
I put also a
439
00:19:24,133 --> 00:19:25,333
text for you
440
00:19:25,333 --> 00:19:26,799
just to tell you
441
00:19:26,800 --> 00:19:28,300
what to do with this
442
00:19:28,400 --> 00:19:29,533
but the question is
443
00:19:29,533 --> 00:19:30,133
really easy
444
00:19:30,133 --> 00:19:31,899
what we are going to do is
445
00:19:31,900 --> 00:19:33,866
we are going to replace
446
00:19:34,000 --> 00:19:35,666
the absolute path
447
00:19:35,733 --> 00:19:37,866
with this nuke expression
448
00:19:38,466 --> 00:19:40,399
so we are going to
449
00:19:40,566 --> 00:19:41,633
one of those
450
00:19:42,266 --> 00:19:44,699
and what is my absolute path
451
00:19:44,700 --> 00:19:45,733
remember is
452
00:19:45,733 --> 00:19:47,999
the path containing
453
00:19:48,533 --> 00:19:51,033
the folder okay
454
00:19:51,200 --> 00:19:52,733
that is the main folder
455
00:19:52,733 --> 00:19:54,266
of the further structure
456
00:19:54,266 --> 00:19:56,266
and when we are talking about
457
00:19:56,533 --> 00:19:57,999
the absolute path
458
00:19:58,000 --> 00:19:58,800
remember that
459
00:19:58,800 --> 00:20:00,466
we are always going to
460
00:20:00,466 --> 00:20:02,566
include the slash
461
00:20:02,566 --> 00:20:04,066
or backslash
462
00:20:04,066 --> 00:20:06,466
in case you're using Windows okay
463
00:20:06,533 --> 00:20:08,433
so we're going to select
464
00:20:08,466 --> 00:20:09,699
everything in there
465
00:20:09,766 --> 00:20:11,833
and now we are going to add
466
00:20:12,133 --> 00:20:13,733
the nuke expression
467
00:20:13,733 --> 00:20:15,599
and let me tell you
468
00:20:15,733 --> 00:20:17,533
what I'm doing in here
469
00:20:17,533 --> 00:20:18,733
so what I did
470
00:20:18,733 --> 00:20:19,966
is just what
471
00:20:20,300 --> 00:20:22,266
those square brackets
472
00:20:22,566 --> 00:20:24,633
that in any text input
473
00:20:25,266 --> 00:20:26,899
knob inside nuke
474
00:20:27,066 --> 00:20:28,633
is representing
475
00:20:28,866 --> 00:20:29,899
an expression
476
00:20:29,900 --> 00:20:31,066
a new expression
477
00:20:31,066 --> 00:20:34,966
so in here I put knob
478
00:20:35,066 --> 00:20:37,466
which is referencing to a knob
479
00:20:37,466 --> 00:20:38,299
in a certain
480
00:20:38,300 --> 00:20:40,533
note that certain note
481
00:20:40,533 --> 00:20:41,199
in this case
482
00:20:41,200 --> 00:20:43,033
is this relink
483
00:20:43,733 --> 00:20:46,299
which is this note
484
00:20:46,500 --> 00:20:47,200
as you can see
485
00:20:47,200 --> 00:20:48,133
is the name
486
00:20:48,133 --> 00:20:49,999
which is displayed in here
487
00:20:50,100 --> 00:20:51,400
and then dot
488
00:20:51,966 --> 00:20:54,066
location location
489
00:20:54,100 --> 00:20:55,433
is the knob
490
00:20:55,766 --> 00:20:57,066
that I have in there
491
00:20:57,200 --> 00:20:58,366
exactly the one
492
00:20:58,366 --> 00:20:59,566
that is pointing
493
00:20:59,566 --> 00:21:01,366
to the folder okay
494
00:21:01,733 --> 00:21:02,799
so that way
495
00:21:02,800 --> 00:21:03,700
what I did is
496
00:21:03,700 --> 00:21:04,466
just to create
497
00:21:04,466 --> 00:21:05,199
an expression
498
00:21:05,200 --> 00:21:06,266
as you can see
499
00:21:06,266 --> 00:21:08,566
with this expression arrow
500
00:21:09,000 --> 00:21:11,066
that is pointing to
501
00:21:11,066 --> 00:21:12,666
this order file
502
00:21:12,666 --> 00:21:14,966
so in case I change my mind
503
00:21:14,966 --> 00:21:16,566
now and now
504
00:21:16,566 --> 00:21:18,233
I replace this
505
00:21:18,300 --> 00:21:20,233
to the original folder again
506
00:21:20,500 --> 00:21:22,466
so as soon as I
507
00:21:23,400 --> 00:21:25,400
reload that
508
00:21:25,700 --> 00:21:27,166
he's not going to work
509
00:21:27,166 --> 00:21:29,266
so even if I change my frame
510
00:21:29,266 --> 00:21:30,833
and now I get back
511
00:21:31,800 --> 00:21:34,033
everything is going to
512
00:21:35,500 --> 00:21:37,566
get the error okay
513
00:21:38,200 --> 00:21:40,533
but now how can I change that
514
00:21:40,533 --> 00:21:46,399
well you can change it by replacing here
515
00:21:47,900 --> 00:21:50,900
the folder with the original folder again
516
00:21:51,366 --> 00:21:55,266
so now everything is perfectly working
517
00:21:55,266 --> 00:21:57,166
okay so with this
518
00:21:57,166 --> 00:22:00,799
you have the control inside the script okay
519
00:22:01,566 --> 00:22:03,766
just let me tell you that it's a bit annoying
520
00:22:03,766 --> 00:22:07,199
just to have all those expression arrows
521
00:22:07,200 --> 00:22:11,100
okay so if you want to hide those expression arrows
522
00:22:11,100 --> 00:22:13,800
just press alt e
523
00:22:13,966 --> 00:22:18,933
okay so that is going to hide your expression arrows
524
00:22:18,933 --> 00:22:21,266
but something that could be nice
525
00:22:21,266 --> 00:22:25,466
is to find a way to place this nuke expression
526
00:22:26,500 --> 00:22:27,366
automatically
527
00:22:27,366 --> 00:22:32,366
without the need to go one by one each of my read notes
528
00:22:32,366 --> 00:22:34,366
and placing this manually
529
00:22:34,366 --> 00:22:36,066
so how to do that
530
00:22:36,066 --> 00:22:39,599
well remember what we did to replace the path
531
00:22:39,600 --> 00:22:40,933
with the text editor
532
00:22:40,933 --> 00:22:43,733
well you can do exactly the same
533
00:22:43,733 --> 00:22:46,766
so instead of putting a path
534
00:22:46,766 --> 00:22:50,733
you are going to put this expression okay
535
00:22:50,733 --> 00:22:51,933
but actually
536
00:22:51,933 --> 00:22:53,333
in terms of effects
537
00:22:53,333 --> 00:22:55,666
edit makes no difference
538
00:22:55,666 --> 00:22:57,999
because he's just an extreme
539
00:22:58,000 --> 00:23:01,266
so a chain of just characters
540
00:23:01,466 --> 00:23:02,299
and this time
541
00:23:02,300 --> 00:23:05,700
we're going to get a bit smarter
542
00:23:05,700 --> 00:23:10,366
so you are going to get something that is high class
543
00:23:10,366 --> 00:23:13,099
we are going to install a panel
544
00:23:13,133 --> 00:23:18,099
that Frank Rooter created and publish on Wikipedia um
545
00:23:18,533 --> 00:23:22,199
let me point out where you can find it
546
00:23:22,666 --> 00:23:24,099
which is in here
547
00:23:24,100 --> 00:23:27,200
so Wikipedia okay
548
00:23:27,900 --> 00:23:31,300
I've left the link to this page
549
00:23:31,300 --> 00:23:33,366
on the class files for this class
550
00:23:33,366 --> 00:23:36,999
okay so you can just get here directly
551
00:23:37,200 --> 00:23:39,266
Frank is one of the most important
552
00:23:39,266 --> 00:23:41,066
nuke masters in the world
553
00:23:41,066 --> 00:23:42,999
so he created many
554
00:23:43,000 --> 00:23:44,333
many useful tools
555
00:23:44,333 --> 00:23:46,499
and this is one of those
556
00:23:46,500 --> 00:23:48,033
so you are gonna love it
557
00:23:48,066 --> 00:23:48,799
it's really easy
558
00:23:48,800 --> 00:23:50,500
so you just getting here
559
00:23:50,500 --> 00:23:51,866
you download it
560
00:23:52,000 --> 00:23:53,466
I did it already
561
00:23:54,133 --> 00:23:55,899
and then to install it
562
00:23:55,966 --> 00:23:58,399
you just follow the instructions in here
563
00:23:58,400 --> 00:23:59,733
so we are going to do it together
564
00:23:59,733 --> 00:24:01,099
no worries so
565
00:24:01,166 --> 00:24:02,799
in order to install it
566
00:24:03,733 --> 00:24:05,833
I'm going to close nuke again
567
00:24:06,533 --> 00:24:08,799
just to make it work
568
00:24:08,800 --> 00:24:11,533
so we are going to the dark nuke folder
569
00:24:11,533 --> 00:24:14,166
we already discussed that in a previous class
570
00:24:14,166 --> 00:24:17,966
so go to folder Dot nuke
571
00:24:17,966 --> 00:24:20,566
and now as I download it
572
00:24:20,900 --> 00:24:24,266
I'm going to get it from my downloads
573
00:24:24,466 --> 00:24:28,666
inside my Dot Nuke folder so yes
574
00:24:28,900 --> 00:24:29,900
Dragon Drop
575
00:24:30,466 --> 00:24:31,599
and here you are
576
00:24:31,666 --> 00:24:33,733
now the only bit missing is
577
00:24:33,733 --> 00:24:37,199
you need to edit your menu dot p y
578
00:24:37,266 --> 00:24:38,666
in case you don't have it
579
00:24:38,666 --> 00:24:41,333
just create a menu dot p y
580
00:24:41,333 --> 00:24:45,266
by using any kind of Python script editor
581
00:24:45,266 --> 00:24:49,266
okay so I'm going to use text wrangle
582
00:24:49,900 --> 00:24:51,033
and I'm going to
583
00:24:51,166 --> 00:24:56,266
copy and paste the instructions from Wikipedia in there
584
00:24:56,666 --> 00:24:58,899
so yes from here
585
00:25:00,533 --> 00:25:01,333
copy
586
00:25:03,900 --> 00:25:14,700
and paste so now I save I close and let's open nuke
587
00:25:18,566 --> 00:25:19,466
here you are
588
00:25:19,566 --> 00:25:22,999
so now the panel is installed
589
00:25:23,000 --> 00:25:25,366
okay so by the Foley is not in there
590
00:25:25,366 --> 00:25:27,199
so I'm going to call it in here
591
00:25:28,000 --> 00:25:29,566
Windows custom
592
00:25:29,966 --> 00:25:30,966
and here we are
593
00:25:30,966 --> 00:25:33,599
okay so I'm going to open
594
00:25:36,266 --> 00:25:37,799
my script again
595
00:25:39,300 --> 00:25:40,400
and here you are
596
00:25:40,800 --> 00:25:44,033
so now again as always
597
00:25:44,466 --> 00:25:48,566
we're going to get the path I have in here ready
598
00:25:48,566 --> 00:25:49,699
the original path
599
00:25:51,266 --> 00:25:52,233
so
600
00:25:54,533 --> 00:25:55,699
here you are
601
00:25:57,733 --> 00:25:58,666
and now
602
00:26:01,133 --> 00:26:04,433
I'm going to search for that
603
00:26:08,133 --> 00:26:09,633
and I'm going to replace
604
00:26:11,800 --> 00:26:13,000
with the new one
605
00:26:16,000 --> 00:26:16,866
okay
606
00:26:20,933 --> 00:26:23,566
in here okay sensitive
607
00:26:24,266 --> 00:26:26,233
and now he's telling me already
608
00:26:27,300 --> 00:26:30,866
all the information in here okay
609
00:26:31,766 --> 00:26:34,899
and what you should do is just to select
610
00:26:35,566 --> 00:26:39,733
if you want all the notes or just the select notes
611
00:26:39,733 --> 00:26:41,333
so I'm going to do it with the selected
612
00:26:41,333 --> 00:26:43,366
so I have more control
613
00:26:44,166 --> 00:26:46,766
so in here okay
614
00:26:46,766 --> 00:26:50,366
so you can update to understand what's going on in here
615
00:26:50,366 --> 00:26:53,066
and then you replace
616
00:26:53,866 --> 00:26:55,899
once you place the replace
617
00:26:56,333 --> 00:26:58,399
everything is going to be working
618
00:26:58,400 --> 00:27:02,200
and you can get the search and replace panel
619
00:27:02,266 --> 00:27:03,499
installing your nuke
620
00:27:03,500 --> 00:27:05,100
so is going to be very
621
00:27:05,100 --> 00:27:07,700
very handy to change not only this
622
00:27:07,700 --> 00:27:09,700
but many other options
623
00:27:09,700 --> 00:27:13,000
that you can get that many
624
00:27:13,000 --> 00:27:18,266
many values from any note existing in your note graph
625
00:27:19,300 --> 00:27:26,966
okay so that is a search and replace panel now
626
00:27:28,300 --> 00:27:30,000
let's close again
627
00:27:30,666 --> 00:27:31,833
and this time
628
00:27:32,866 --> 00:27:34,933
we are going to do something different
629
00:27:34,933 --> 00:27:36,533
what we are going to do now
630
00:27:36,533 --> 00:27:39,666
is we are going to place the footage
631
00:27:40,133 --> 00:27:43,733
to be everything in a relative pattern
632
00:27:43,733 --> 00:27:47,866
okay so I don't care now about the absolute
633
00:27:48,000 --> 00:27:50,266
position of the folder
634
00:27:50,266 --> 00:27:53,266
the important thing is going to be the relation
635
00:27:53,266 --> 00:27:57,766
between where my script is going to be located at
636
00:27:58,333 --> 00:28:01,466
and the folder containing the images
637
00:28:01,466 --> 00:28:03,499
so this is going to be very handy
638
00:28:03,500 --> 00:28:06,400
when you are placing everything in a drive
639
00:28:06,400 --> 00:28:09,333
and you want that drive just to travel from
640
00:28:09,333 --> 00:28:10,999
one computer to another
641
00:28:11,300 --> 00:28:14,966
or this is the way I used to send you
642
00:28:15,000 --> 00:28:17,333
the images for the class files
643
00:28:17,333 --> 00:28:21,999
so as you decompress the sip containing everything
644
00:28:22,100 --> 00:28:24,800
the script and the footage is in the same folder
645
00:28:24,800 --> 00:28:27,000
so when you open the script
646
00:28:27,100 --> 00:28:30,866
everything is relative to the position of that script
647
00:28:31,100 --> 00:28:32,766
that is quite nice
648
00:28:32,766 --> 00:28:33,866
but is not very handy
649
00:28:33,866 --> 00:28:36,566
when you are working in a whole facility
650
00:28:36,566 --> 00:28:39,933
and you are working with many people on the same street
651
00:28:39,933 --> 00:28:41,666
or the same for their structure
652
00:28:41,666 --> 00:28:44,866
because that is going to change constantly
653
00:28:44,866 --> 00:28:47,133
but when you are working alone
654
00:28:47,133 --> 00:28:50,799
and you want to move from one computer to another
655
00:28:50,800 --> 00:28:55,366
but you are going to still use the same drive
656
00:28:55,366 --> 00:28:57,366
that is going to be very handy
657
00:28:57,366 --> 00:28:59,033
so let me show you how
658
00:28:59,266 --> 00:29:01,466
we're going to open again nuke
659
00:29:02,066 --> 00:29:03,799
and now again
660
00:29:03,800 --> 00:29:05,233
we're going to open
661
00:29:05,966 --> 00:29:07,066
this is script
662
00:29:08,266 --> 00:29:09,799
this is not working
663
00:29:09,800 --> 00:29:13,033
because the absolute path has changed
664
00:29:13,133 --> 00:29:14,733
well this time
665
00:29:14,733 --> 00:29:16,966
I don't care about the absolute path
666
00:29:16,966 --> 00:29:20,199
so what I need is just to place my script
667
00:29:20,266 --> 00:29:22,899
in the relative path of my folder
668
00:29:22,900 --> 00:29:24,966
so I'm going to save
669
00:29:26,000 --> 00:29:30,466
savecom as now in here
670
00:29:30,533 --> 00:29:33,366
let's go to the desktop
671
00:29:34,533 --> 00:29:36,199
to the move folder
672
00:29:36,200 --> 00:29:37,866
that is containing my footage
673
00:29:37,866 --> 00:29:39,733
and I'm going to save it in here
674
00:29:39,733 --> 00:29:42,433
okay so I'm going to call it
675
00:29:43,666 --> 00:29:45,099
relative
676
00:29:47,600 --> 00:29:54,600
path okay so safe right now is doing nothing no worries
677
00:29:54,600 --> 00:29:57,966
but now we are going to the project settings
678
00:29:58,166 --> 00:29:59,533
and in the project settings
679
00:29:59,533 --> 00:30:01,999
you have this project directory
680
00:30:02,000 --> 00:30:04,866
okay so by default you will find it
681
00:30:04,866 --> 00:30:06,833
that is empty okay
682
00:30:06,966 --> 00:30:10,499
so what you need to put is just pressing here
683
00:30:10,666 --> 00:30:12,499
he's going to tell you okay
684
00:30:12,500 --> 00:30:16,366
everything is relative to the position of this script
685
00:30:16,533 --> 00:30:19,099
okay so now I save
686
00:30:19,166 --> 00:30:23,466
and now I'm going to all my read notes
687
00:30:23,466 --> 00:30:26,766
and I'm going to delete the absolute path
688
00:30:26,766 --> 00:30:29,499
so including this lash
689
00:30:29,500 --> 00:30:31,266
I'm going to delete that
690
00:30:31,666 --> 00:30:34,033
and now as soon as I delete it
691
00:30:34,500 --> 00:30:35,800
now is working
692
00:30:35,800 --> 00:30:42,666
is because everything now has been set to be relative
693
00:30:42,666 --> 00:30:44,733
okay so again
694
00:30:44,733 --> 00:30:48,366
remember if you want to change everything at once
695
00:30:48,366 --> 00:30:51,833
you have now three different methods okay
696
00:30:51,866 --> 00:30:56,233
but the important thing is there is no absolute path
697
00:30:56,300 --> 00:30:57,933
just the relative path
698
00:30:57,933 --> 00:30:59,899
and everything is going to be set
699
00:31:00,300 --> 00:31:02,433
to the position of the script
700
00:31:02,800 --> 00:31:06,033
okay in case you have your script
701
00:31:07,266 --> 00:31:12,166
like for instance inside the folder so
702
00:31:13,800 --> 00:31:21,400
script and now in here you get relative path
703
00:31:22,333 --> 00:31:24,433
inside okay
704
00:31:25,700 --> 00:31:28,866
now if you want to make that work
705
00:31:29,900 --> 00:31:34,066
you're going to call dot dot slash
706
00:31:34,500 --> 00:31:38,366
that is going to set an order to go
707
00:31:38,500 --> 00:31:41,066
outside the folder you are containing
708
00:31:41,066 --> 00:31:42,999
and then recalling that
709
00:31:43,333 --> 00:31:49,399
so that is in a whole relative path to the script
710
00:31:50,066 --> 00:31:52,633
and then we have another very different
711
00:31:52,766 --> 00:31:56,566
which is how the system is going to behave
712
00:31:56,666 --> 00:31:59,533
when you are in Windows or in Mac
713
00:31:59,533 --> 00:32:00,866
or in Linux
714
00:32:01,000 --> 00:32:03,033
so this is not the sign
715
00:32:03,200 --> 00:32:08,500
to change the path of the access to the images
716
00:32:08,666 --> 00:32:11,433
but is actually designed to
717
00:32:11,933 --> 00:32:15,399
understand how the system is handling
718
00:32:15,400 --> 00:32:18,700
with the folders you are accessing to the network
719
00:32:18,700 --> 00:32:21,100
okay so imagine that
720
00:32:23,533 --> 00:32:30,399
volume inside the Windows environment can be set letter
721
00:32:30,666 --> 00:32:34,399
set so I'm going to put here an example
722
00:32:34,400 --> 00:32:37,366
and imagine that is set column
723
00:32:37,466 --> 00:32:39,599
okay so that is the volume
724
00:32:39,666 --> 00:32:45,099
while in Mac can be volumes
725
00:32:46,533 --> 00:32:49,933
network drive
726
00:32:49,933 --> 00:32:51,033
for instance
727
00:32:51,066 --> 00:32:55,066
so he's actually pointing to the same drive
728
00:32:55,166 --> 00:32:57,699
but he's axising in a different way
729
00:32:57,700 --> 00:32:59,933
depending on the operative system
730
00:32:59,933 --> 00:33:02,099
and then the same for Linux
731
00:33:02,100 --> 00:33:04,166
okay so we can just
732
00:33:04,666 --> 00:33:10,266
teach nuke how to search for the absolute path
733
00:33:10,666 --> 00:33:13,799
in relation to the operative system
734
00:33:13,800 --> 00:33:15,866
when nuke is being operated
735
00:33:15,866 --> 00:33:17,966
okay so for doing that
736
00:33:18,500 --> 00:33:20,433
we are going to the preferences
737
00:33:20,900 --> 00:33:23,466
and then in the preferences in general
738
00:33:23,466 --> 00:33:26,499
you have this path substitution
739
00:33:26,500 --> 00:33:31,833
okay so that means that if you get a path in OS X
740
00:33:31,866 --> 00:33:33,299
so for instance
741
00:33:34,166 --> 00:33:38,499
volumes uh drive
742
00:33:39,400 --> 00:33:40,966
in here can be
743
00:33:41,166 --> 00:33:44,699
yes seat okay
744
00:33:44,966 --> 00:33:45,966
and in Linux
745
00:33:46,300 --> 00:33:47,366
another way
746
00:33:47,366 --> 00:33:52,699
so then every time nuke is going to find that
747
00:33:52,700 --> 00:33:55,400
in Windows you are pointing at said
748
00:33:55,733 --> 00:33:58,166
then in always aches
749
00:33:58,166 --> 00:34:02,766
so Mac is going to look at volumes drive
750
00:34:03,000 --> 00:34:04,500
whatever okay
751
00:34:04,700 --> 00:34:08,400
so now you have six different approaches
752
00:34:08,533 --> 00:34:11,966
just to get your path substitution
753
00:34:12,000 --> 00:34:16,300
and to get everything working more dynamically okay
754
00:34:16,500 --> 00:34:21,066
so the next time you get a change of the folders
755
00:34:21,066 --> 00:34:22,799
or you are changing computers
756
00:34:22,800 --> 00:34:25,100
or any other case scenario
757
00:34:25,400 --> 00:34:27,533
you are going to be really fast
758
00:34:27,533 --> 00:34:30,966
and even when you are working with teams of people
759
00:34:30,966 --> 00:34:32,733
working in different computers
760
00:34:32,733 --> 00:34:34,266
with different environments
761
00:34:34,266 --> 00:34:37,666
with different locations for the folder
762
00:34:37,666 --> 00:34:40,466
so everything can be really
763
00:34:40,466 --> 00:34:41,533
really easy
764
00:34:41,533 --> 00:34:44,366
if you get all those methods
765
00:34:44,700 --> 00:34:45,466
just to avoid
766
00:34:45,466 --> 00:34:51,299
to get stuck just on changing a single parameter
767
00:34:51,300 --> 00:34:52,500
so remember
768
00:34:52,500 --> 00:34:56,500
I'm here to help you focus on the art
769
00:34:56,933 --> 00:34:58,799
not on the technical side
770
00:34:58,800 --> 00:35:01,333
okay so that's all for this week
771
00:35:01,333 --> 00:35:03,133
if you have any comments
772
00:35:03,133 --> 00:35:06,399
questions or suggestions as always
773
00:35:06,400 --> 00:35:09,266
you are very welcome to post them in the forums
774
00:35:09,533 --> 00:35:11,466
so until the next time
775
00:35:11,466 --> 00:35:12,499
this has been
776
00:35:12,500 --> 00:35:15,366
Victor Perez for effects PhD
777
00:35:15,733 --> 00:35:16,866
thanks for watching
51491
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.