thanks jo, cant wait for the tut
sheesh… anything to up your post count ![]()
LMAO!
Ok, script’s done, thanks also to the very enjoyable help and directions from jacksc02 (Or Chris, that is:P).
Fire it through maxscript (i’m LAZY, people.), check what material you want changed (all, only perfectly diffuse ones, only reflective, only refractive) or the effects you want disabled (reflection or refraction glossies), pick a material as a replacement, and click replace.
AS LONG AS THE SCRIPT IS LEFT OPEN, you’ll be able to revert back with another click.
Two side notes:
A) if no material replacement is picked, the script will REMOVE the material instead of replacing it.
B)when disable glossies is checked, there is no need for a replacement material, as the materials will be replaced with copies of themselves with no glossy effects.
Lemme know if it makes your work any easier…
regards, chaps and chapettes!
Lele
edit: herm. I forgot to put in a check for texturemaps, guys.
so a material with a black reflection color, and a texture driving reflectivity will NOT be counted as a reflective material. same goes for the other options… I’ll update it soon enough, though. Sorry about that ![]()
Script issues: read!
i should be more thorough the next time.
There’s another BIG limitation: it only works with TOP-LEVEL VRAY MATERIALS.
So no multi-sub, no nesting, nothing.
Plain and simple, one vray material per object scene.
I very rarely use Multi-sub, preferring object splitting when possible, and overlooked this one completely.
I am working on the code to allow one more level (ie. shellac, multi-sub, Wrapper, and so on) at the moment, it should be ready sometimes tomorrow.
Again, i’m so very sorry for this ![]()
Regards,
Lele
Updated script
An updated version of the script’s online → here ← , or through the script’s “About” rollout.
It now supports vray materials within the first level of multi-sub object materials.
Support for more material types, and optionally more depth will be added later on.
More functions have been added: The ability to “Kill” all the diffuse channells of the scene (setting them to pure black), the ability to choose if refractive or reflective materials should be replaced or switched off (so one can selectively turn off reflection OR refraction for a scene).
There’s also a picker to select the replacement material through the selection of an object.
Anyone with C&C would be welcome…
Lele
nice work lele
eheh, Crhis, you can’t count on this one, you helped!
I need fierce, bitching critique, not a partisan pat on the back :lol:
Jokes apart, no stopping bug or huge memory leaks yet?
Lele
all working perfectly!
Used it today to set up some quick test renders