Dave Buckley Posted July 6, 2011 Share Posted July 6, 2011 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/refractionmake 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 More sharing options...
luthias42 Posted July 6, 2011 Share Posted July 6, 2011 I would check Scriptspot.com. if they don't have it you can usually post a request and someone may write the script for you. Link to comment Share on other sites More sharing options...
cgrant3d Posted July 6, 2011 Share Posted July 6, 2011 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 More sharing options...
Dave Buckley Posted July 7, 2011 Author Share Posted July 7, 2011 Cheers Chris, just the job Link to comment Share on other sites More sharing options...
iwanp Posted July 7, 2011 Share Posted July 7, 2011 Thanks for asking the question Dave. Don't know why I didnt think of it.... Going through all the materials looking for 'use interpolation' is a nightmare. Going to save me a lot of time. Link to comment Share on other sites More sharing options...
Dave Buckley Posted July 7, 2011 Author Share Posted July 7, 2011 yep, receiving files where people have used interpolation is frustrating. Just wanna be able to turn it off in all materials, the increase in rendertime (or irradiance map calcs) is huge when it's turned on. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now