Now updated to 1.2 (19 October 2014) – Download link at the bottom of this post.
I wrote this simple little “ClickNRender” script that aims to AutoOptimise your scene. It works on VRay 2.x and 3.x. It’s highly experimental, so make sure you have a backup copy of your scene.
For now it’s only for stills without DOF and Moblur so don’t try it on an animation.
What the script does with the click of a button:
- Sets all your VRay render settings for you
- Sets material reflection and refraction subdivs as well as depth, based on the glossy value you entered (multisub supported)
- Sets subdivs for your lights
- Sets up your channel split to exr, based on the location of the vrimg file you enter when prompted
- Sets your dynamic ram limit to leave 4000mb free for the OS and other programs
- Sets your Light Cache subdivs based on render size
What the script does not do – yet:
- Does not touch any SSS shaders (including the VRay ones)
- Does nothing to non VRaylights
- VRay MESH Light not supported yet, instead you should manually setup a VRayLightMtl for this if needed
- Does nothing to environment, fog or lens effects – just defaults
- Does not make coffee, see future version ;- )
What will be in future versions:
- More presets – possibly in the form of sliders for example Hybrid Universal, XHQ etc
- Option to use BF instead of IRMap
- AA adjustments for DOF and Moblur
- Remember your choices from the previous time you ran the script
- Option to use for animation
- Add/remove filtering on various maps
- V-Ray 3.x specific features
- Your suggestion?
You can get predictable results without having to punch in a gazzilion settings. New guys can get a half decent render without knowing much and veterans may find it useful to tweak the numbers if you’re working with assets coming in from various sources.
There’s already a bunch of great scripts out there for optimising and there’s various ways to get to an end result, this script is just my contribution. You may find this script is not for you, and that is fine.
I already tested the script on a bunch of the typical scenes I work on everyday. Where you guys come in is to see how it performs on the type of scenes YOU work on everyday, give me some feedback and see if I can tweak the script further.
Get the updated script here: