Material Property adjustment to Entire Scene
Hello - I want to be able to change values such as below to the entire scene. I use VRay materials. It would be nice if it can do it for every types of materials.
1- texmap diffuse filtering to the entire scene. There are three options.
Pyramidal .texmap_diffuse.filtering = 0
Summed Area .texmap_diffuse.filtering = 1
None .texmap_diffuse.filtering = 2
2- Change blur of ONLY diffuse maps to value I set.
.texmap_diffuse.coords.blur = (value i set)
3- Change Gamma on the map to value i define.
tmap.bitmap.inputGamma
Comments
...
You can use similar method that I described in previous thread.
bga
link
No problem do you have link to the previous thread? Thanks
...
I mean your previous thread
http://www.scriptspot.com/forums/3ds-max/scripts-wanted/scene-material-v...
bga
Here is where I am at
I was able to create it until this point but now i am stuck :).
1- I want to be able to change spinner value for blur and RGBlevel have decimal point. "example .001"
2- Filtering to be able to look at what i have selected in process on. scene material or selected objects. Filtering also doesn't work on multimaterials.
Hope you can help. Thanks
...
#1. Type of your spinners for "Blur" and "RGBVal" need to be "float" (not "integer")
type:#float
#2. In previous thread I give U an answer for Multimaterial problem
bga
...
Let say U have two spinners (if U not assigne "type" argument spinner will be float type)
Then U can use recursive function (I also added suport for other material types)
Type argument can be #blur or #RGBLevel
process obj.mat type:#blur blurVal:spn_blur.value rgbVal:spn_rgbLevel --or process obj.mat type:#RGBLevel blurVal:spn_blur.value rgbVal:spn_rgbLevel
bga
Thank you
float type worked! fn I am struggling with but i think i'll have to keep working on it. I'll look into it more in detail. Thank you for sharing knowledge!