Jump to content

Looking for scripts


Recommended Posts

I'm just wondering if there are any scripts out there for a couple of things related to VRay:

 

  • find all vray materials with 'use interpolation' checked for reflection/refraction
  • make all vray material treat glossy rays as GI rays 'never'
  • turn off 'affect specular' in all vray lights

 

in case you hadn't noticed, I hate white dots :)

Link to comment
Share on other sites

Hey Dave - one of my favorite scripts is VMC (VRay Material Control) that lets you set virtually any material property en masse. It's trivial to do the first 2 with it: http://www.scriptspot.com/3ds-max/scripts/vmc-vray-material-control

 

I briefly check the VRay Light Lister script and it doesn't seem to reveal the "affect specular" option so that'll take a bit of custom code. You can sloppy select a bunch of lights / geometry that you want to affect (even a select all will work), paste this text in the maxscript listener and hit the numeric enter key to run it. That'll turn off affect specular on all VRay lights within the current selection.

 

for l in selection where classof l == VRayLight do try (l.affect_specular = off) catch()

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...