Maya Script: V-Ray Tuner 2 Render Per Light

V-Ray Tuner 2 released – Updated for V-Ray for Maya 2.0

It’s done! After many new things being added and a serious upgrade of both my knowledge of V-Ray and my MEL skills, it’s a big improvement over the last version and includes many things specifically for V-Ray for Maya 2.0, which just went into public beta testing for people who pre-ordered it. Grab it here. The major changes are:

  • Added per-light pass rendering script. More on this below.
  • Made a material converter for V-Ray for Maya to V-Ray for Max (see end of this post).
  • Added sync light size and target rect lights buttons.
  • Added a bunch of little feedback things like GI readout on load/refresh and resolution settings. Lots of hot help added so look at the Help line and Script Editor feedback for new stuff.
  • Option to load V-Ray plug-in if it’s not loaded.
  • Quick LWFMe button to set up a linear workflow in one click.
  • Launch IMap Viewer from Utilities menu.
  • Added padding to right so scroll bar doesn’t crop in by default
  • Made menus with lots of stuff to save space.
  • Added another row of checkbox controls to some common features for animators. To keep it less confusing, I organized these logically in vertical rows according to areas they affect (DMC, Linear Workflow, etc).
  • Added LightMaps menu to give quick access to disk cache modes for Irradiance Map and Light Cache for animators. You need to set up the cache file paths first and then these work as expected. Feedback about which is active is given if you hit Refresh or change one of the menu settings.
  • Various V-Ray RT specific items added.
  • Added Maya2VRay material converter. All code for this written and supported by Paul Dreisen Thanks again, Paul.
  • Increased Max AA DMC samples slider for those using high values with Nederhorst settings or very high DMC adaptation.
  • Option to load from Utilities for render feedback for Mac OS X. In Windows, this is the Output Window (it was created because there is no stdout for Windows). Unfortunately, since there are so many different distros for Linux, there’s no way to pick one file that I can launch on Linux, so this is OS X only.
  • Updated Attach Cam procedure for V-Ray 2. It probably won’t work with 1.5 now.

Per-Light Rendering

This was created as an imitation of Maxwell Render’s Multilight, since I also use Maxwell and love that feature. The script goes through your scene and renders out a file for each of your visible V-Ray lights (don’t use Maya lights with V-Ray if you’re new to V-Ray) and saves them according to the light name (Dome, VraySun, environments included). The naming part is the reason for the Render Globals window opening (leave that open until it’s done). If you have meshes with V-Ray Light Materials in your scene, you simply have to select those before running the PerLightRender script and it will work with those as well:

Click Here to Learn More from Dave Girard

Click Here to Download the Script

Click Here to View Autodesk Products