Hello,
as I have quite a bunch of shots that always use pretty much th same setup again and again, just with different 3D-renderings, I was trying to setup a script that allows one to enter a vfx number and then generates all reads for all passes using a file structure like /shots/vfx060/passes/diffuse/vfx060_diffuse.%04d.exr and-/shots/vfx060/passes/spec/vfx060_spec.%04d.exr and so on.....hope you get the idea.
So, I tried to setup a script (once again, really poor skills in that matter, at least so far...) that you can input a number and then this number is put as a string into the readers, eg.
/shots/vfx$number/diffuse/vfx$number_diffuse.%.04d.exr
but can't get it to work.....
So annoying to always read-in all 3d-passes, steppping through all the directories....arggghh
Anybody out there that can help me?
Cheers, michi.
Oh, and some more: What are you guys using to correctly distort 3d-renderings with the lens distortion of a plate? Lookin' for something like the "lenswarp"-tool in shake, but in Nuke there seems to be this one-paramter-slider "perspDstort" only - so, I'm kinda curious 'cause to me, it always seems to be a compromise between correcting the horizontal or the vertical distortion with that thing...
Btw, is there also some kind of index which nodes concatenate (transformational-and colorwise) in Nuke and which do not?