Once you cross that nebulous critical point where you go from using proxies
occasionally to regularly, chances are you’re thinking about writing
scripts/tools to handle it automagically.
In your example, it would be possible to parse out the resolution string from
the image path, but the easier choice would be to simply hand Nuke the path to
the proxy sequence and let it set the format for you (using
read['proxy'].fromUserText('/my/proxy/path')). This would also let you to work
with a more generalized directory structure. An extremely simplified example
would be something like:
/pfcluster/Alphaville/PRODUCTION/01_joyluck/RENDERS/3D_ELEMENTS/joyluck_lightTex_v019_ln/LaserGlow/full/joyluck_lightTex_v019_ln_LaserGlow.####.exr
/pfcluster/Alphaville/PRODUCTION/01_joyluck/RENDERS/3D_ELEMENTS/joyluck_lightTex_v019_ln/LaserGlow/proxy/joyluck_lightTex_v019_ln_LaserGlow.####.exr
This way you won’t need to worry about doing any parsing, and can just set the
proxy knob if that directory exists, or leave it blank otherwise.
To be honest, however, proxies are enough of a pain that the benefits rarely
outweigh the potential for mixups and mistakes, even at 4k and above.
-Nathan
From: Bill Gilman
Sent: Saturday, March 31, 2012 6:39 PM
To: Nuke user discussion
Subject: Re: [Nuke-users] global proxy format setting?
Hi Hugo
First off, thanks for the code. It doesn't seem to be working for me but maybe
it will after you get a chance to play with it.
Out of curiosity, how hard would it be to parse, say, a resolution directory
and change it to the proxy res? Would this be best done with TCL or Python?
eg.:
/pfcluster/Alphaville/PRODUCTION/01_joyluck/RENDERS/3D_ELEMENTS/joyluck_lightTex_v019_ln/LaserGlow/4096x3112/joyluck_lightTex_v019_ln_LaserGlow.####.exr
^ ^ ^
would become
/pfcluster/Alphaville/PRODUCTION/01_joyluck/RENDERS/3D_ELEMENTS/joyluck_lightTex_v019_ln/LaserGlow/1024x778/joyluck_lightTex_v019_ln_LaserGlow.####.exr
^ ^ ^
But my real question is: everybody has to do this with shots they're using
proxies for? That seems really nuts to me. I can't imagine everyone has
automatic scripts to do this sort of thing.
Here's to it
Bill_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users