Vray Render Setup

Hi Everyone
In the Vray Render window under Image sampler (Antialiasing)
where it says (Render Mask) i would like to select "None" and or "Selected" with max script.
been trying to figure it out but no luck also attached an image.

thank you in advance.

AttachmentSize
render_mask.jpg157.59 KB

Comments

Comment viewing options

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

.

To set it to NONE:

aa = renderers.current
aa.imageSampler_renderMask_type = 0

To set it to SELECTED:

aa = renderers.current
aa.imageSampler_renderMask_type = 2

If 0 and 2 not give you the correct result, due to VRAy version differences then try other numbers. But NONE should be alwas 0.
The vray should be the active renrerer.

Mrjacks2o's picture

Thank you

Thank you Miauu! works great.

Comment viewing options

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