RenderMask

367 votes
Version: 
5.90.0
Date Updated: 
09/03/2018
Author Name: 
Ivan Tepavicharov

Render different types of masks (Luminance, RGB, Reflection, Lights/Shadows, ObjectsID, SSS, Texture, AO, ZDepth, Specular, Refraction). The script don't affect the scene materials, lights and render settings.
(this version support only V-Ray render engine)

 Version: 5.90.0

  • add support "V-Ray Next" (this version support only V-Ray render engine)

 

Additional Info: 

Category "IllusionBoxStudio"

Version Requirement: 
3dsmax 2012 - 2019

Comments

Comment viewing options

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

Looks like the script may

Looks like the script may have added a state set, but I dont know how to remove it

Morne Studio's picture

1 Mask done, then black after that

Hi

Thanks for the script. I'm on Max 2019 and VRay Next. I rendered 1 mask fine and saved out an EXR. Then closed the script. Then I want to carry on with normal, but it renders black as if I still have the mask active

Ivan Tepavicharov's picture

ok, thanks a lot for this

ok, thanks a lot for this report. if you want you may replace this line with this:

theMultiMat[theMultiMat.materialIDList[m]].opacity_texmap = OpacityMap[1]

gLab's picture

Thanks a lot!

for updating the script!

Fo me it works perfectly. Only one minor issue: When a selected object has a multmaterial with a submaterial containing a falloff map in the opacity slot the script crashes with "Unknown property: "opacityMap" in VrayLightMtl:VrayLightMtl"
The script opens with line 933 highlighted:
theMultiMat[theMultiMat.materialIDList[m]].opacityMap = OpacityMap[1]

Thanks again
g. Lab

AttachmentSize
error_message_line933-rendermask_v5.90.0.jpg 253.45 KB
pacitores's picture

I tried to copy the file into

I tried to copy the file into a new one and it is not working again the script, so im not sure why is this happening.

thanks again

PABLO

pablo acitores

pacitores's picture

ok! i tried to do a mask in a

ok! i tried to do a mask in a new file and it is working. I created the 3dsmax files before updating the script so maybe that´s why it didn´t work.

Thanks for your time anyway :)))

PABLO

pablo acitores

Ivan Tepavicharov's picture

ok, thanks.i will see what

ok, thanks.
i will see what happening, i don't have V-Ray Next but before sharing the script here, my friend from Chaos Group test the script and everything working fine.

So, try this please:
select some objects try to make mask (Luminance) but turn on "SAVE Mask in 3dsmax File", then open the file and look the material of the objects, i need to know:
- what material these objects have (Standard, VrayLightMtl, VrayMtl, etc.)
- what is diffuse color of the material

I would be grateful if you could share this information with me.

thanks man.

if you wish send me email.

pacitores's picture

hello, sorry for the minimum

hello, sorry for the minimum information. I´m using last version of render mask (5.90.00) with vray NEXT. When i use it and click render mask it open the vray frame buffer but then the render is completly black.

THANKS for your quick answer :)

PABLO

pablo acitores

Ivan Tepavicharov's picture

How to help when the info is

How to help when the info is 'the script doesn't work'. Please specify the problem.
Which version of the script you use?

pacitores's picture

vray next

the script doesn´t work with vray NEXT. i dont know if i did something wrong during the installation...any suggestions please?
thanks

pablo acitores

Comment viewing options

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