Bitmap Blur for Vray Mutlimaterial...

Hi, could someone help me, and post a script, that sets the bitmap blur in VrayMtl for diffuse to 0.1 and for bump slot to 1? And it must work also with multimaterial (subobject materials).

Currently i have 2 scripts (separate), one sets bitmap blur to 0,1 for diffuse slot, and one for bump slot to 1. but they work with suboject material.

Could someone please help me?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
roamn's picture

Great

Great thanks, it runs :-)! and the ui is also fine :-)!

roamn's picture

Ok

Ok, but as i said or as it is clear from the title, i dont know maxscript, i wasnt even able to get these scripts working together in one script (i have to use them separatelly :-) ), if you could put them into 1 maxscript, and make them work correctly even on subojebct materials it would be great :-): Thanks, here they are:

(
for obj in selection do
(
try(
obj.material.bumpMap.coordinates.Blur = 1
) catch()
)
)

(
for obj in selection do
(
try(
obj.material.diffuseMap.coordinates.Blur = .1
) catch()
)
)

barigazy's picture

Hope this help

I wrote a small script. Just run it, select some objects,
set the values and press the button.

AttachmentSize
vraymtl_map_blur_value.ms 1.13 KB

bga

andywigley's picture

bitmap blur

Hi Barigazy
I saw your script and think its great but is it possible to alter it
to include all the slots eg reflection opacity etc that would be so useful
many thanks
andy

barigazy's picture

Supports All

Now script supports all vray maps slots

AttachmentSize
vraymtl_map_blur_value_new.ms 4.56 KB

bga

barigazy's picture

Post the code that you write

Post the code that you write for bump and blur and i finish the job for multimaterial. OK?

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.