Anthony, I'm looking to write a script to batch render denoised plates. If I could get a hold of a script that does that I can alter it to suit my needs but I absolutely can't find one anywhere. Do you know where I can find one? Thanks in advance.
Not quite sure it's what you're thinking of, but the two things you'd modify with a nk script like that would be the input and output - so a Read and a Write node pretty much. If you're happy writing a python command line thingie that takes in parameters you could then do nuke -t python_script.py blah.####.exr and have the python script know to load your template and replace the input/output filepaths, and hit the execute button. Another variant would be to have a python script in the script editor that you feed in a list of filepaths, and it creates a nuke template, and saves it out with all the filepaths baked down, so you can then just tell nuke to render those scripts in batch? There's quite a few and they're all dependent on which bits you want to automate and batch so you probably won't find a 'batch render denoise plate' script as it's often composed of a lot of smaller pieces that's facility or process-specific..
@@tanantish Thanks for getting back to me. I was thinking of something that would run in the terminal in "interactive mode," I think they call it. I'd feed it the script name and have it "split" the filenames for read and write out of that and then execute and update the existing script. I thought that was the big great thing about python and Nook was that you could easily do stuff like this ... I'm sure this is cake for a full time programmer but I haven't coded in a long time. Like this: ==> mkDegrain.ph vfx_0540_v0000.nk So the python script would grab the shot number and find the proper file to load, save the script and execute the write node (which would already be in the script as part of my template.) I'd stack these in the terminal one after another and just let it cook overnight. It seems so easy. Maybe I could just write it in bash ...
Okay, so turns out I ended up patching together some videos since I realised that I've not given the backend/pipeline/batch processing side of things enough love. They're being converted by youtube now, but the next two should be a lightweight exploration of the command line that might help with that (it's bare bones and deals more with the CLI side though)
No stress! If you do find yourself still lost, let me know on this (or another vid, whatever) and I can do up say, another one or put up a blog post with say, a suggested "here's a rough outline of what i learnt in order" if that helps?
@@tanantish Thanks for the response! (RUclips rarely sends me notifications so I didn't see this until now). Finally gonna start the series so I'll comment should I get stuck, thanks again : )
uhh a little bit of a silly question maybe but, is this tailored towards people who already know Python? or people who doesn't know anything about python at all. Thank you!
Not a silly question at all! Back when i started these I was focusing more on general concepts in the context of nuke - I was assuming that people would have some basic python so I don't think i cover very well (at all) core things like python's syntax and what I think of as "housekeeping" like modules, classes, and things like that. Unfortunately I don't know what it feels like to not know python anymore (if that makes any sense) - if you have a poke at the first two vids and it's completely "WTaF is going on??!" could you see if you can explain what you're missing? It might be time for me to carve something up that'll try take someone from the don't know anything about python _at all_ level and that could give me some hints at what i should target.
Just want to say big thanks for all your content! Really nice to see a python nuke oriented tutorial series! Keep it up :)
Thank you so much for the video, I just didn't know where to start and this really helps
Thank you. I need these videos. I've been using Nuke and proprietary comp software before that. Now I hope to learn python to grow as an artist
We're in for a treat! Thanks for sharing :)
Thank You So much . Such Great Content
Anthony, I'm looking to write a script to batch render denoised plates. If I could get a hold of a script that does that I can alter it to suit my needs but I absolutely can't find one anywhere. Do you know where I can find one? Thanks in advance.
Not quite sure it's what you're thinking of, but the two things you'd modify with a nk script like that would be the input and output - so a Read and a Write node pretty much. If you're happy writing a python command line thingie that takes in parameters you could then do
nuke -t python_script.py blah.####.exr
and have the python script know to load your template and replace the input/output filepaths, and hit the execute button. Another variant would be to have a python script in the script editor that you feed in a list of filepaths, and it creates a nuke template, and saves it out with all the filepaths baked down, so you can then just tell nuke to render those scripts in batch?
There's quite a few and they're all dependent on which bits you want to automate and batch so you probably won't find a 'batch render denoise plate' script as it's often composed of a lot of smaller pieces that's facility or process-specific..
@@tanantish Thanks for getting back to me. I was thinking of something that would run in the terminal in "interactive mode," I think they call it. I'd feed it the script name and have it "split" the filenames for read and write out of that and then execute and update the existing script. I thought that was the big great thing about python and Nook was that you could easily do stuff like this ... I'm sure this is cake for a full time programmer but I haven't coded in a long time.
Like this: ==> mkDegrain.ph vfx_0540_v0000.nk
So the python script would grab the shot number and find the proper file to load, save the script and execute the write node (which would already be in the script as part of my template.)
I'd stack these in the terminal one after another and just let it cook overnight. It seems so easy. Maybe I could just write it in bash ...
Okay, so turns out I ended up patching together some videos since I realised that I've not given the backend/pipeline/batch processing side of things enough love. They're being converted by youtube now, but the next two should be a lightweight exploration of the command line that might help with that (it's bare bones and deals more with the CLI side though)
Thanks! Very useful content
Thank you I've been needing to learn but don't even know what to look up half the time!
No stress! If you do find yourself still lost, let me know on this (or another vid, whatever) and I can do up say, another one or put up a blog post with say, a suggested "here's a rough outline of what i learnt in order" if that helps?
@@tanantish Thanks for the response! (RUclips rarely sends me notifications so I didn't see this until now). Finally gonna start the series so I'll comment should I get stuck, thanks again : )
Mental note: when using a DSLR for recording video, maybe shave properly :P
OMG YES!
uhh a little bit of a silly question maybe but, is this tailored towards people who already know Python? or people who doesn't know anything about python at all. Thank you!
Not a silly question at all! Back when i started these I was focusing more on general concepts in the context of nuke - I was assuming that people would have some basic python so I don't think i cover very well (at all) core things like python's syntax and what I think of as "housekeeping" like modules, classes, and things like that.
Unfortunately I don't know what it feels like to not know python anymore (if that makes any sense) - if you have a poke at the first two vids and it's completely "WTaF is going on??!" could you see if you can explain what you're missing? It might be time for me to carve something up that'll try take someone from the don't know anything about python _at all_ level and that could give me some hints at what i should target.
dude you rule