ScriptSpot home

RenderMask

Downloads

Earlier releases (2)
  • Version 5.72

    Release notes

    v5.72 v5.72 - Add "Shadow Mask" - BugFixed in "ObjetsID Mask" when use "Default Scaneline Renderer" - BugFixed in "ObjetsID Mask" when create dialog whit tumbs. - Replace "Keep OpacityMap - White Matte" and "Keep OpacityMap - Black Matte" whit one button "Keep OpacityMap"

  • Version 5.71

    Release notes

    v5.71 - Upgrade "Mask State", now each object can be in more than one group. - "Mask State" corresponds with "Name Selection Set" - BugFixed when save file in "*.exr" file.

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
5.90.0
From original requirements
2012–2019
Original version requirement
3dsmax 2012 - 2019
Author’s update date
Legacy votes
377
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

More by this author

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)

 

Setup & notes

Category "IllusionBoxStudio"

Comments (312)
theedge

Keep updating RenderMask ?

Hello,
It would be very sad to let such a great script die.
Would any MaxScripy competent good soul(s) be willing to take over the maintenance and update the script for new versions of VRay ?
I am a very poor scripted but I'd gladly offer my help in any other useful fields.
Thank you very much !

Kiril Alexandrov

To Ivan

Hi Ivan,

Recently I've encountered the issue of not rendering the opacity maps as well. Not finding any update on the subject, I was forced to edited your script to fix the problem for myself. As you're no longer using Vray, I can give you the updated code for you to share.
This tool that you've developed is amazing and quite useful so I'll be glad to contribute to the community.

Best,
K.

neil pangilinan

2021 update

Could there be any update here? It's crashing in 3dsmax 2021..

Plsss..

neil pangilinan

2021 update

Could there be any update here? It's crashing in 3dsmax 2021..

Plsss..

neil pangilinan

vray map opacity update

Hi Ivan,

I hope you can give a small token to update your script which I truly loved in my entire career!

It is not working in vray material opacity map. I know you can fix it. :-)

Reply to neil pangilinan
Ivan Tepavicharov

I don't have vray installed on my PC, someone to share some info please (print screens, the info from maxscript listener) something related to this error.

Ivan Tepavicharov

I don't use Vray anymore and I can't check the problem .... for now, sorry about that.

Best
Ivan

Reply to Ivan Tepavicharov
James Burrell

In case you do get around to it, I think I have found the issue. It appears to fail when a material has a map in the opacity map slot of a material but the map is missing or the path is just 'empty' so to speak.

James Burrell

Broken again

Unfortunately Vray 5 seems to have broken the script. Something to do with Vraylightmtl Opacitymap?

Ivan Tepavicharov

fixed link

the link is fixed, sorry for the late

Best
Ivan

Mark McTernan

Download link needs updating please

Hi, thank you for this great script. Please can the download link be updated to v5.90.0?
Thanks

kostas K

rendermask version

Still the wrong link. V5.82 up.. :(

ron alon

link is for an old render mask

hi

the link provided is for RenderMask 5.82
can you please add a link for RenderMask 5.9

Reply to ron alon
theedge

Wrong link

Same for me. Still have vesion 5.82 through the download link...

thikithiki

rendermask can't DL v5.90

Hi,thank you for your tools everytime.
download link is v5.82. so please upload rendermask v5.90 again!
v5.82 doesn't work on 3dsmax 2020.

Mark

the download link gives us to

the download link gives us the 5.82.0 version, from 2015. :(

Dmitriy

Download link is broken

The link is not working.
Can I somehow get v5.90.0? really needed, thanks!

Reply to Dmitriy
Ivan Tepavicharov

I will fix this tomorrow.
Sorry for the broken link, we update our site and developers deleted everything from server.

Reply to M3
Ivan Tepavicharov

the link was updated, you may download the script

ahmad

download link is broken

please Fix

Henry Yu

Max2020

Hi

Just wondering, will you have 2020 version soon?

Reply to Henry Yu
Ivan Tepavicharov

I don't use 3ds max anymore.
The script should work under max 2020, if the problem is in the installation file, please install the script to 2020 root dir.

ChinmayT

proxy objects - wire color... shadows / black spots

hi in the wire color with proxy objects i see some kind kind of spots / shadows with vray next and render mask 5.90 also tried the mod...

I have not really understood the solution to this..

Hope there is a fix

Thanks in advance...

Really love the script.. very useful

Thanks

zrK

FIX

Hello everyone ! here is a fix to the script, including the addons, and fixes for the 2 sides issue and keep opacity issue.

Cheers,

Please Ivan, consider adding those into your future releases !!

Attachments
Reply to zrK
Ivan Tepavicharov

i check this addons a months ago and i don't want to add something which is good only for one or two people.
Sorry.
In future i don't want to spend time for this script. For me is good as it is now.

FIX (again)

I hope some people will find those addons usefull in the future :)
Render masks through glasses, for example, is for me a huge improvment !
Thanks for your work, and here is a minor fix (there was a bug with groups)

Attachments
Moritz

Problem with one-sided geometry

Whenever we try to render a mask for a forestpack object, or any other object with on-sided geometry (eg. leaves), all faces with their backside towards the camera are rendered black. This happens only with version 5.9., the older Verion is working fine. Any idea what is causing this? It seems something like "force two-sided" is missing.

best regards,
Moritz

zrK

Vray next addons

Hi Ivan ! Please please could bring into your new version the modifications that was very usefull : "preserve material objects" button & "don't use Vray VFB" opition ??
If needed i can resend you the modified version of the 5.82 !
I hope this can be doable :)

edit :
I encounter also the same problem as Moritz, rendermask doesn't work with single sided polygons !

Attachments
Renato Klieger

no more scanline???

Why only VRAY? why whyyyyyy

Katarina

Deadline 10.7

Hello! I have to say that I really like RenderMask and find it so much useful, saved me a lot of time and I have to thank you very much for it. I am thankful that there are people like you and I hope to share many things that I make in future.
I have a small question. Is it possible for you to make it work in Deadline Repository 10.7? :) It would help me a lot. I really don't know how it works or if it is much work, but I had to ask at least.

Thank you very much in advance!

Katarina

AntonTkachuk

Opacity Bug

Hi Ivan,

We are having the problem with the opacity map. Whenever we switch it on script crushes and comes up with the same error as previously reported "Unknown property: "opacityMap" in VrayLightMtl:VrayLightMtl"

After the crash the file becomes corrupt and when rendering normally it renders only Black & white (As if it was rendering masks)

Would be great if you had a look at this!

We only experience it in Max 2019, Vray 3.6 & new Rendermask

Much appreciated.
Anton

Pazsi

Keep OpacityMap Bug

Hi,

When I try to render a simple luminance mask of a tree which has "OpacityMap", I tick the "Keep OpacityMap" and hit the render mask button. Nothing happens and even the 3ds Max objects become unclickable.

What could be the reason or solution? Thank you for your help in advance! (2019 3ds Max - Vray Next)

Reply to Pazsi
AntonTkachuk

Fix

Hi,

Please do like Ivan suggested in his previous post.

You will need to go to Render mask Right Click-Edit Script

Then you will need to go to the top bar Search-Go to- in the Destination line type in 933

Replace the line with this one
theMultiMat[theMultiMat.materialIDList[m]].opacity_texmap = OpacityMap[1]

Then on your Macroscript window go File-Save and close the editor

Best,
Anton

birket

any update on this one? Struggling to get it to work with VRay 3.6 in Max2019 also

Morne Studio

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

Reply to Morne Studio
Morne Studio

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

gLab

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

Attachments
Reply to gLab
Ivan Tepavicharov

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]

PABLO

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

Reply to PABLO
Ivan Tepavicharov

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

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

Reply to PABLO
Ivan Tepavicharov

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.

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

Reply to PABLO
PABLO

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

theedge

Update for V-Ray Next ?

Hello,
I know you are very busy and would like to thank you for this useful script.
Are you planning to update Rendermask to work with V-Ray next, as the new version stopped support for standard materials.

Thanks.

Reply to theedge
gLab

Update for Vray Next?

Hi,
I'd be very happy too if you could update the script for Vray Next. As far as I can see it no longer works at all. Even with Vray Materials. The Frame Buffer stays black. (Tested only with luminance as this is the mode we use most of the time.)

I would like to donate if you'd make it work again :)

Thanks!

Reply to gLab
theedge

Donation / commercial version

I would also gladly pay for this script as it is incredibly useful and proved to be very reliable over the years.

Reply to Ivan Tepavicharov
Ivan Tepavicharov

"V-Ray Next" support done.
This version of the script (5.90.0) support only V-Ray render engine.

I don't have this version of the Vray and that's why i upgrade the script without testing, please if you find some bugs send me mail with some info (print screens, info from maxscript Listener, etc.)

enhancements

Hello Irvan ! thanks a lot for your update :) will this work also with the previous vray releases or only with the "next" version ?
Also, would it be possible for you to add the enhancements that was made some months ago (render in max frame buffer, keep material on some objetcs, and so on ..) ??
If so i can send you the modifications that was made in your code !
Cheers,

Thomas

Reply to zrK
Ivan Tepavicharov

This version work with all V-Ray versions.

Ok, send me what you want, no problem.

modification

Thank you very much :) here is a link with the modified version of your script :

https://www.sendspace.com/file/sakr3a

As a reminder here are the modifications : possibility to use max frame buffer instead of the VFB to preserve history and avoid color mapping on masks & option to preserve material on selected objetcts (very useful to allow rendering of an object behind glasses !)

Cheers !

Attachments
evanesac

Fstorm support

Any chance to support Fstorm Renderer! Until now i couldn´t make it to work there...
Thx

Reply to evanesac
Ivan Tepavicharov

impossible on this stage, i freeze this script for now because my priorities is different
sorry about that

Studio2a

Love it

We still use this script all the time. Thanks!

DimitrisP

Fstorm render

Hello Ivan Tepavicharov, your script is amazing could you please make it compatible with fstorm render.

Pinokio

Gr8 work.. is it possible to add another feature??

Hi.. loving this script day by day... great work has made my life easier..

Just wondering if wire color would include / render opacity maps? ( Like 3ds max's / Vray's original wire color )

Thanks a lot !!!

Sebastian Kochel

rendermask 2018

Hi Ivan
Are you planning to release version for max 2018 ?

Reply to Sebastian Kochel
Ivan Tepavicharov

from installation file try to use 2017 version, i don't have max2018 but should be work.

Uwe Kreuzahler

max 2018

Hi Ivan,

any chance to add max 2018 into the install script?

If you dont have time for it, any way to explain a manual installation?

Thanks

Cheers

Uwe

slavcho

corona 1.7 + max 2017

From my experience with vray this script is life saver. Does it now work with Corona 1.7 and max 2017? Best regards

Victor

Corona Version

Hi, I know in Corona you can render Masks, but I still think this script is pretty handy to render quick mask you might need in psds files, so could you do the script available to Corona or make another script for it.
Thank you so much.

Victor

Reply to Victor
Victor

Corona Version

I saw on your website that you updated the script:
"add support “CoronaRender” (partly)"

Still it isn't working for me, either because I'm using Corona or Max 2018

valwizard

doesnt work with corona

Hi, there. It is a powerful tool but does not work with corona renderer at all. Used max 2017+ corona + RM v5.82.3

vinai

Max froze while Render Mask was trying to reneder a mask

Hi Ivan,

This is a wonderful tool ,it has have saved me a lot of time in my workflow.
Thank you very much for sharing it. Love it..

At the moment Max crashed while rendermask was trying to render a scene leaving the scene in that mask state. Now all my cameras render in that mask state.

Could you/anyone please help me to revert the scene back to the normal state?
It would save a days work for me.

Thanks in advance

Reply to vinai
Ivan Tepavicharov

Max froze while Render Mask

I can not do anything if I do not have a maxfile that is causing the problem.

Best
Ivan

Nuno

Max 2018

Hi!

This script is really useful, I use it on a daily basis!
Could you please update it to Max2018?
Thanks!

Reply to Nuno
Ivan Tepavicharov

max2018

from installation file try to use 2017 version, i don't have max2018 but should be work.

Karim Jamal Eddine

uninstall

How can I uninstall rendermask? Please help!

Jesinalbert Gomez

MaxScript rollout handler exception - "vfb_autosave_enable"

Hi, thanks a lot for this script. It's part of my workflow since the day i found it!

I'm trying to use it with Corona, but i'm getting an error every time i try to render a mask. I'm attaching you a printscreen of the problem.

https://pasteboard.co/c5L7ddmjV.jpg

Thanks again for taking the time, creating and improving this script!

 

Alex_H

Vray VFB -> temporary deactivate of corrections

Hello Ivan,
thank you very much for that great script. It saved my life already hundred times.

Would it be possible, that rendermask temporary disables levels, exposure, .. corrections done with Vray Frame Buffer ?

Thank you
Kind regards
Alex

Reply to Alex_H
zrK

already done !

Hello Alex, this modified version of the script bring that feature, using the Max FB instead of the VFB !!

" Submitted by zrK on Fri, 2016-04-15 07:28.
Modifications

Hello again :) I took the liberty to hire a talented guy who modified your script with my previous request. Here is a link to this version that i find very very usefull, maybe you can add those mods into your installer if you find them interresting ? Cheers

https://www.sendspace.com/file/soe9ld

(Credit Andriy Pogribniy)
"

Unfortunately, Ivan didn't kept those changes into his release, i found them very usefull for production

birket

Forest Pro doesn't seem to work with RenderMask

I have a forestpro object that contains a load of bushes (they are vrayproxies). When I select the forestpro object and use rendermask, the render is just black. Does render mask not support forestpro properly? We are on Max2016. Cheers.

Reply to birket
Ivan Tepavicharov

version of the Forest Pro?
Is there an option to send me maxfile with one object that makes problem?
thanks

bunyamin

thank 2017

thank you for 2017

skeay

Deadline 8 support

Love this script but can we have an update to Deadline Version 8? Thanks :)

bunyamin

hurry 2017

we wait 2017 version please add quickly ı like you ıf this script not on max max is emty

Reply to bunyamin
Ivan Tepavicharov

i don't have max2017 :))look

i don't have max2017 :))
look in root of max installation if there have "MacroScripts" folder, then use the max2016 installation of the script....or install the script in empty folder (it doesn't matter where) and copy the *.mcr file manually..... OK, cool? :))

Simon Gregory

max 2017

Hey Guys,

Just wondering will you be making an update for max 2017, we've tried installing it but so far had no joy getting it to work

Victor

Make same script for Corona Renderer?

Hi, I used your Script a lot when I used Vray, but now that Im using Corona, I cant use it because It doesn't work, Could you make and update version which works with Corona? Thank you

Reply to Victor
Ivan Tepavicharov

it's almost ready, but i don't have free time to finish

llld

shadow mask problem

Thanks for your script.
but "shadow mask" dosen't work in vray.it's all black.i can't see and select the shadow in ps. so i read the script and found that all selected objects are black material, same as unselected objects.and the background color is black too.is that a bug or maybe i missed somthing?

zrK

Modifications

Hello again :) I took the liberty to hire a talented guy who modified your script with my previous request. Here is a link to this version that i find very very usefull, maybe you can add those mods into your installer if you find them interresting ? Cheers

https://www.sendspace.com/file/soe9ld

(Credit Andriy Pogribniy)

zrK

Frame Buffer

Hello Ivan :) Using your script almost everyday, i am wondering if a slight tweak could be possible ?
I'm using the Vray Frame Buffer, and it would be fantastic if RenderMask could force using the max Frame buffer instead ?

That would preserve the previous render (for region renders for examples) and mainly, that would avoid the color corrections or exposure corrections applied on the VFB, that affect a lot the masks !!

I have no idea if this is possible though ...

Cheers,

Ahmad

Forest Pack Support

First we would like to thank you for the life saver script its our number one script in the office:).
We are trying to use RenderMask with the Forest Pack plugin Pro from itoo soft.
Sometimes it works and sometimes it doesn't, most of the time it does not work and we tried several tricks and modes (Wirecolors, Luminance etc..) selecting at the same time the distributed elements and the surface we are scattering on, non of these works. So I thought sharing this with you.
Thank you a lot for your efforts and the good work.

Reply to Ahmad
alessandro meneghin

Forest

Hi, if you want that Rendermask work fine with Forest pro, you have to unchheck the CONSOLIDATE button on the Geometry panel in each Forest object. ;-)

Growanimated

Almost perfect.. almost! Except opacity map issue.. :(

Thanks for your script.

But there is an issue with the opacity map option. The rendered matte cutout and the foreground object material opacity don't match up!

Perhaps this is because of 2 sided material?

Is there a way to fix this? Or am I missing something?

3ds max "matte element with object id" works perfectly but using it render times are a lot bigger.

Cheers!
G

tOm

Thank you !

Hi Ivan,

It is a great news for me that you have updated this wonderful script (I'm talking about the long awaited Multimaterial feature).
I'm going to wait the next update with the output's format lock feature asked by zrK to do the update though :)

Thank you again !

Fábio da Costa Santos

Problem with opacity masks

Hi, great script.
Unfortunately there's a bug on the opacity map function in the latest version of Rendermask. If checked, and there's only one object with opacity map in the scene, all other objects get the material with opacity mask applied to them when rendermask is rendering.

I'm using 3DS Max 2016 with mentalray for rendering.

Thanks for your work!

Fabio

Thank you so much for this real time saver script !!! amazing !
Any chance to fix the multisub material opacity with the next update ?

Regards,

Sadly, the multisub opacity problem remains in the last 5.80.7 update ;(

Reply to protocol
zrK

I second this request :) Would be great if the Multi/Sub opacity was fixed !

Thank you for this script !

Reply to zrK
Ivan Tepavicharov

ОК, send me sample files or explain in more detail.
Оbviously 'Keep Opacity Map' does not work in all situations.

Thanks fo taking time to look at this :)
Here is a sample file of a tree using a multisub for example.
The render alpha is ok, but when rendered by your script, the opacity of the leaf is used on the trunk also ...
Hope this helps !!

Kind regards,

Attachments

Thanks a lot Ivan for your work ! i'm impatient to test this !!!
I'm facing a problem installing this version, it seems to interfer with a previous
installed version. I'm stuck on the 5.77.5
Is there any to clean/uninstall previous and reinstall the new one ?
(Only one computer did this, others install correctly)

Also i was wondering if this is possible to lock the output's format, for exemple on *.jpg files when you hit the "Render Mask" button, just like 3ds max do ?

Your script should be fully intagrated into 3ds max, a must have ! Cheers !!

Reply to zrK
Ivan Tepavicharov

For 3dsmax 2013 - 2015 look in 'macroscripts' folder in 3dsmax root. Find 'IBS_RenderMask.mcr' or 'rRenderMask.mcr' and delete it.
Install script again.

No problem for '.jpg' format, check for update soon.

peter istrate

VrayRT support

Hi mate,

Will this great plugin get support for VrayRT any time soon ?
Thanks.

Regards,
Peter.

kritikoskostas

luminance dont work with keep opacity map

If I have more than one object in the scene which covers the subject I want to do the mask, opacity map works as if you've applied to all objects.
Even if I have two objects with different opacity map again to mask apply one of the two maps.
Thank you in advance for your solution to this problem.

pastilanhala

Anybody else in this world needs a stable life. - Marla Ahlgrimm

1rv

Ivan, many thanks for really amazing tool.
May I ask you what render settings should be used to achieve this level of antialiasing? I simply can't get this quality in my VrayWireColor, VrayMtlSelect and other passes.
Thank you in advance.

Bob Morane

Deactivate effects on mask render ?

Hi, you're script is a real timesaver !
Thanks for sharing it !

I was wondering if you could add the environment's effects deactivation when rendering a mask ?
(For example, pass renders white when having a fog in the Environment)

And maybe set the background to white for AO and Shadow pass (Easier when blending it in Photoshop)

I managed to make it simply by putting a line in your script:

if mask_type_rdo.state == 6 or mask_type_rdo.state == 10 then (backgroundColor = white) else (backgroundColor = black)

but it's not perfect with the Shadow Pass ; background renders transparent gray because of the VrayColorMapping...

tOm

Opacity map doesn't work with Multi/Sub object

Hi,

Your script is great but the "Keep OpacityMap" option doesn't work with Multi/Sub-Object materials (VRay 3, 3dsmax Design 2015). I see I am not the only person interested by this feature.

Do you plan to update it ?
It would be much appreciated :D

Thank you

titane357

Any chance to have an Octane render workflow ?

kritikoskostas

problem with keep opacity map

don't work with keep opacity map! test with 3ds max 2014 & vray3.03. pleaase help!!!

real08121985

Problem with Opacity on Multisubtextures

Hi, awesome script, I use it daily at work and it helps alot!

One problem: When I render a mask of a multisubmaterial object then opacity maps will not be masked correctly. Your script applies one opacity mask to the whole object, not only the material id the opacity map belongs to. Here is a possible fix for the "White Material -- Luminance" section, but it doesnt always work:


	local multisub = multisubmaterial numsubs:i.mat.materialList.count
	for n=1 to i.mat.materialList.count do
	(
		local standardmat = StandardMaterial diffuse:white selfIllumAmount:100
		standardmat.opacityMap = i.mat.materialList[n].texmap_opacity
		multisub.materialList[n] = standardmat
	)
	i.material = multisub
Stas

Please adapt under CoronaRender!

Reply to Stas
Ivan Tepavicharov

for now is a little complicated for CoronaRender

outgribe

Great script

It could be absolutely excellent if Z-depth map can recognize opacity/refraction. For example all oblects under glass have same depth map as glass object.

stenionet

Very good scritp.
Is there a way to get rid of the Aliasing?

Reply to stenionet
Ivan Tepavicharov

#stenionet - Yes, I plan to have the option to disable AA.

 

Joanna Scott

Render mask and Proxies

Hi all,

Does anyone know how to get rendermask to successfully render out masks of proxied objects? I have over 3,000 objects which I needed to convert to .vrmesh as my file would have crashed. When I try to render a mask of these it doesn't give a smooth black and white mask?

Can anyone help with this?

Cheers,
Jo

3dbybrunolopes

Atmosphere Effects

It would be nice to have a option to disable all the atmosphere effects while using rendermask...

And yes, it would be nice to make it work with corona :)

Keep the good(amazing) work with this script.

Rodrigo

Corona Renderer

Hi, great and usefull script.
So help to use it in Corona Renderer, please!
Thanks.

gLab

Opacity Map Problem

Hi,
Thank you for this great tool!

Unfortunately the opacity map bug described by daveb867 is still present.
As soon as one material in a multi/sub material has an opacity map, the whole object is rendered with that map when "keep opacity map" is ticked. (See attached image)

Any chance to fix it in a further release?
Thanks
g.

Attachments
guy

help please

hey all,
i have installed rendermask in my max 2014 and when i try using it to render a simple luminance mask it renders a mask of all the objects in the scene and not only the selected one, + it renders the mask in black so in the RGB channel it's black on black insted of white on black.
anybody knows?
thx
guy

NicolasC

no way to download the last version on your website :( thanks ...

Reply to NicolasC
NicolasC

Ok, I guess it's due to access control here at the office, I guess we're not allowed to download .exe files directly ... I'll find another way, like downloading it from my phone :) cheers.

Colin Senner

Absolutely love this script, added to my can't live without scripts. Keep up the good work, and consider losing the .exe installer and do it through an MZP file. :)

A+
Colin

Dave Buckley

Opacity Maps

I'm having issues rendering objects that have a multi-sub material applied to them where some of the sub materials have opacity masks and others dont.

For example a tree. The trunk doesn't have opacity but the leaves do.

Whenever I try to render either a luminance or wire colour with 'Keep Opacity Map' checked, it seems to apply the opacity map to the whole object. So the leaves are correct, but the trunk and branches also have the leaf opacity map applied to them?

Is there any fix for this?

I should probably add that the objects I'm trying to render are VRay Proxies and so separating the leaves from the trunks isn't an option.

Reply to Dave Buckley
birket

ZDepth problem

I am trying to render out a zdepth pass in a vray interior scene using rendermask, but the render is just black. Any ideas why?

NicolasC

latest version download

Hello Ivan,

it seems that the latest version isn't on your website ... or maybe am I doing something wrong :) could you please check that ?
Thanks A LOT !

Cheers.

richierr

RGB pass

Hello,
firsty thanks a lot for this great tool. I would ask, is there possibility to render directly RGB pass with alpha, or I should render Lumininance pass and then I have to compose it?
Thanks.

NicolasC

Yup same problems here (max2012 / latest VRay version) ... not tested on max2014 yet. But please, an update :)

Thks !

Alex York

Issues

It does appear to work sometimes on some scenes and not on others. I can't narrow down why some scenes won't work. I think it might be something to do with Vray and colourcorrection maybe.

Reply to Alex York
Ivan Tepavicharov

OK, I apologize for this but ..... I do not have "3dsmax 2014" and Vray 2.40 to test.
Тhe problem seems to be some changes in Vray (I think so).
Check for update soon.

Reply to Alex York
Branko Živković

In vray 2.40.04 "adaptationOnly" settings are changed. Now instead of checkbox (BooleanClass) option U need to use dropdown list (integer)


renderers.current.colorMapping_adaptationOnly = int_value (zero based)
-- adaptationOnly modes:
int_value = 0 -- Color mapping and gamma
int_value = 1 -- None (don't apply anything)
int_value = 2 -- Color mappimg only (no gamma)

bronius

working

It's working to me on 3dsMAX2014

Alex York

Boolean Woes

Yes, it does appear this script is now totally broken. I think this is something to do with the latest Vray version.

Sadly this script is now unusable... does anyone know of a good alternative temporarily?

danb4026

max 2014 error

Maxscript rollout handler exception

Unable to convert: 1 to type: Boolean

this happens on line 2171: renders.current.colorMapping_linearWorkflow = false

I have come to rely on this script...can you get it to work?

Does Ivan even look at these comments?

Alex York

2014 error

hi,

Great script! Getting an error with 2014 design and vray 2.40.04.

---------------------------
MAXScript Rollout Handler Exception
---------------------------
-- Unable to convert: false to type: Integer
---------------------------
OK
---------------------------

line is:

renderers.current.colorMapping_adaptationOnly = false

UPDATE:

If I change the above from "false" to "1.0" (it told me it should be an integer) it works!

Jono

Vray 2014

Hey Ivan,

Brilliant script!! so good!

Just updated to Vray 2014, and it doesnt seem to work anymore. Im on Max 2014, and it worked fine with Vray for 2013.

Installs fine, but when you go to render mask, MAXScript rollout handler exception appears and the render fails...

What is the best way to fix this??

Thanks again, you are a champion

Jono

whereareyou

vray proxy and opacity textures problem

Hi, this tool is great!! I always use!! thanks and congratulations Ivan, I only have a little problem with vray proxy and opacity textures, the script make the mask wrong, with a lot of holes... Any tip?

k2000

Hi everyone.Great tool -

Hi everyone.
Great tool - perfect one!!
Is there any way to add option - production render of selected object/objects
(no masks)?

Thx

themaxxer

want to push the instance option...
"is it possible to add an option to the wirecolor tool to handle instances as one object?"

thanks. I use the script almost every day...

best regards
themaxxer

stealthx

It is fast and it works ... incredible!!! Thank you.

themaxxer

is it possible to add an option to the wirecolor tool to handle instances as one object? if you add random colors all instances get an other color, that's not so nice...

great script, thanks.

best regards
themaxxer

stanley_asbeek

Nice one caebrasil, thanks a lot, I will check that out ASAP ;-)

Ivan, I was wondering if you already thought about maybe using layers as a selection in staid of actually selecting the object in your scene.

We where actually talking about all this on VRay's forum, and the idea of using layers as a selection went up, and I think it would be a great way to handle large selection sets.

Now, I know it's easy to select the object through the layer manager, but the idea is to go a little further and being able to see through XRef as well.

Often, now, if I need to render a mask of something in a XRef, I need to merge, select, render, and the scene are becoming big (several hundred Mo compressed) and fastidious to work with.

If the layers where a way of selecting object, and it would be reading through the XRef, it would be a life saver.

I hope I'm not bothering you too much at once ;-)

Cheers,

Stan

ps : Yo Kab, tout va super ici! Gros bisous de nous deux!

Laurent

scene scale

Hi Ivan,

First of all, big thank for that script. It's one of the most usefull!

But, I noticed most of the passes (Zdepth, AO, etc.) don't care about the scene scale and are always computed in meters.

It's a bit annoying cause, even if the value can be edit, it refuses decimals...

Could you fix that?

(@Cabbage: I guess you have that kind of problem, try to scale down (1/100) the zdepth values and you will have a correct zdepth rendermask pass)

Private:
Iow Stan! What's up in Australia? Bonjour à Reb! Bizzz!

stanley_asbeek

Matte Objects

Hey Ivan,

I'm using a lot of Matte object, and I was wondering if you planned to add this in your script, it would be such a time saver...

A little bit like the "Black Hole" in DeeX V-Ray Arsenal, but inverses.

Thanks a lot

Stan

Reply to Ivan Tepavicharov
stanley_asbeek

Hi Ivan,

I'm sorry if I didn't understoud the idea of the script in your way.
But as far as I know your script is design to create a mask of OA, luminance, ID, reflection, texture, etc

Isn't the whole idea creating a mask of the selected object by rendering out only those with specified properties (OA, refl, texture, color, etc) and all the rest black?

If yes, I don't really see how having only the selected object rendering with the material that are already applied and the rest black would be completely out of the idea of this script. :-)

I might have misleading when I pointed that "DeeX V-Ray Arsenal" but that was only because they have a script that renders only selected object with the rest black (matte). Not for all the rest of the script which is basically a solid rocks for maya.

Now it's right, the only difference with all the other options that you're providing, is that for the base material (to be rendered correctly) need to have the rest as matte objs.

I hope I made me more clear about my thoughts,

Anyway, Thanks for your script, it's great, and you're greatly helping the community by providing updates and attention to us.

Cheers

Stan

Cabbage

Z depth distance

I love this Script, most used script i have, please can you fix the far distance on the z depth mask, its waaay too close:(

Reply to Cabbage
Michael

Change Units setup

I think rendermask works in meters.
If you work in cm, think to divide your values ​​by 100 and your Zdepth will be correct ;)
Is it possible to add a function for change the Unit in rendermask? Because for the radius of the AO is limited to 1 and I can't put a smaller value.

Thanks.

Ivan Tepavicharov

New in 5.77:

- add Mentalray support in "Reflection" and "Light" mask
- add "Specular" mask
- add turnoff active Effects
- add switch "anti aliasing" in "ZDepth" mask
- add "auto detect" in "ZDepth" mask

Reply to Ivan Tepavicharov
Branko Živković

Hi Ivan.
Again you done very nice job on this update.
It is posible to add the option for extracting velocity pass from *.exr g-buffer. Vray have a huge problem with generating this pass.
Acurate motion blur is very difficult to achieve without a precise V-pass, but other than that this pass can be used for flickering reduction
http://www.juvano.com/Deflickering-with-Velocity-Pass
Cheers!

Ivan Tepavicharov

stanley_asbeek - find and delete "rRenderMask.mcr", then install new version

trixian

Small request

Hi.

This script is a life saver, but one thing that bothers me is that if I have vray lens effects on, it calculates those. Could you make it automatically disable all effects and such?

stanley_asbeek

Hey there

I don't know why, but it's a few versions new that I can't update, I'm sticking with version 5.

I try to install it a few the time but it doesn't update in my max,

I tried to find your scripts in the user profile enu folder and inside max folder but I can't find them, so I can't delete the old versions...

Is there a chance you release your script not as a exe?
I would make it much easier to manage workstations ;-)

Thanks anyway, the news features looks awesome :-)

laron

idea

hey!
amazing script here! thanks!

one additional wish if possible:
would be great having an option to just simply "render selected" as is. rgba(+chanels maybe).

Ive just run to an issue of need to render only one object with all reflections and shadows on it but I dont need the rest. there are several workarounds for this but all needs some hassle... with this script it would be just a press of a button I imagined :)

just an idea.., thx anyways!
Aron

ecemoksuz

Dont appear when i hit rendermask button!

Hello thanks for such a great script first of all..It used to work fine, i have no idea what i might have done, but when i hit rendermask button it doesnt appear on my window anymore, any ideas?

crystal3d

Bug report - exposure control

Hi,

I have used your tool and it is promising already, however it does not remember the "vray exposure control" settings afer usage for example:

my exposure control effect is set to "vray exposure control" and it switches to "no exposure control" after making an alpha with script.

yunusbbayram

mental ray support would have been nice though.

chakib

You did it again

Man, you're a king !

NikkoN

Thanks for the update! Powerful plugin. AO and DOF is very cool!

Branko Živković

Hi Ivan,
very nice update in this version.
A suggestion:
In most cases when it comes to do some compositing in Nuke or Fusion, additional passes like ZDepth, Alpha and other masks types need to be rendered in double resolution without using antialiasing filtering.
It would be nice if your script has that option (turn on/off AA).
Cheers!

Ivan Tepavicharov

ZDepth very soon. :-)

Ivan Tepavicharov

For SSS you must have light selected in "sss dialog".
Z Depth???? I want it too :-))) Soon maybe.

chakib

Great new adds

I love the fast AO pass !!! the SSS mask doesn't work for me ( everything looks black, maybe a demo should clearify that )

I have 2 request if possible :
- Can you add a depth z_map mask type too ?
- Can you add also the vrayshadow ( not the vrayshadow map )
to the shadow mask type please ?

i will be very thankful !

fajar

@ character making max 9 cant running this script, Ivan can you fix that....say

@"\submission\3dsmax\SubmitMaxToDeadline_Functions.ms" 

become

"\\submission\\3dsmax\\SubmitMaxToDeadline_Functions.ms"

also could you add the function on submit to deadline to check it installed or not....(dont have deadline so I Cant try it)

in case windows didnt installed on "C:\\" (some XP user , dual booting user)


local MyWinPath= sysInfo.windowsdir
local MyIePath = getFilenamePath MyWinPath + "Program Files\\Internet Explorer\\iexplore.exe"
		
  on help_btn pressed do
   (
     ShellLaunch MyIePath "http://www.tepavicharov.com/scripts.html"
   )
  on donate_btn pressed do
   (
    ShellLaunch MyIePath "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4TJFMZJQA4RP8"
   )

thanks for the beautifull script

zhao

It didn't supported particle system

😛Ivan,I found this tool didn't supported PF Geometry,I hope you can improve the function.

impi

exe

Ivan
Can you have the install as a zip/rar ...?
Exe + no admin right = :(
Thanks

Itoo forest

Thank you for this so usefull script.
I try to use it with itoo forest but it doesn't work.
For example, if i have a forest with a multimaterial object randomize, it only renders the first ID on each plane.
Is it normal?
C*

Reply to cotentin
Ivan Tepavicharov

You must install itoo forest to see where the problem

chakib

Question

I did a test for the light/shadow mask, but it work only with "Vray shadowmap" ad not with the standart "Vrayshadow", i don't use vrayshadowmap so this is my question : why choosing this shadow mode instead of the standart one ?

Reply to chakib
Ivan Tepavicharov

I did a test with all types of shadows, works well for me.
which version of Vray you use?

Namoi

Sorry to bump myself, but the "keep opacity" is still broken using Mental Ray renderer.
I looked at the code : in the get_all_opacity_map function you only look at the "opacity" string to retrieve opacity map, but in Arch and Design material it is cutout_map.

Also :
Is it possible to have "force 2 side" as an option.
I explain : If you create a mask for a tree as an example, single faced leaves are transparent depending of the facing normals which result in an incomplete mask.

And it would be wonderful if the shadow Mask option worked with Mental Ray renderer.

Thanks for this great script

chakib

You did it !!!

Thank you so much for adding the shadow map it's very useful !!!

brodie

Max 2011

Can I get this to work for Max 2011? I noticed that the installer only listed 2012 and 2013.

-Brodie

Reply to brodie
Ivan Tepavicharov

Use "2012" installer, work for all version befor 3dsmax 2013.

fajar

Thank you very much ivan, i did quick test and it work well. Thanks.

Ivan Tepavicharov

v5.72
- Add "Shadow Mask"
- BugFixed in "ObjetsID Mask" when use "Default Scaneline Renderer"

- BugFixed in "ObjetsID Mask" when create dialog whit tumbs.
- Replace "Keep OpacityMap - White Matte" and "Keep OpacityMap - Black Matte" whit one button "Keep OpacityMap"

v5.71
- Upgrade "Mask State", now each object can be in more than one group.
- "Mask State" corresponds with "Name Selection Set"
- BugFixed when save file in "*.exr" file.

Caetano Brasil

Excelent addition, "ObjectsID Mask"! And max 2013!!
Thanks!

chakib

Please

Can you make and option to make just the shadow maps for only selected objects?

Ivan Tepavicharov

for max 2013

Fixed installation for 3ds max 2013

Edgar Protsko

Ivan Tepavicharov

Привет Иван.Я Тебе письмо отправил, но Ты не ответил )))))

Отменный просто скрипт рендермаск, спасибо большое.

Однако есть сразу несколько вопросов.

1. Куда конкретно установились все файлы скрипта ?

Я указал путь ( папку с 2012 максом ) и всё установилось, всё ок работает отменно, кнопку сделал.

Потом я заметил что у меня древняя версия 5.4 а у Тебя уже гораздо свежее и лучше.

Решил удалить вручную старую версию, но ни сами файлы ни в поисковике, вообще нигде так и не нашел.

Как удалить то его, чтобы четко поставить новую версию ?

2. Поддерживает ли анимацию ?

Вот у меня анимация на 3000 кадров ( роботы трансформеры, взрывы, всё как обычно )

В самом максе, например в вирее четко выставлены кадры с 1 по 3000 и выбрана папка куда рендерится анимация ( сохраняются кадры )

Так вот можно ли ( и как ) отрендерить те же 3000 кадров но уже только этой самой макси ( например как в моем случае "броня" ) ?

Florian Dubiel

object IDs

How about an option for object IDs? sometimes material IDs are not the right one, objects IDs and a randomize ID function would be great :)

Reply to Florian Dubiel
Ivan Tepavicharov

...How about an option for object IDs? sometimes material IDs are not the right one, objects IDs and a randomize ID function would be great :)...

good idea.

Namoi

Force 2 sides

Hi,

Is it possible to have "force 2 side" as an option.
I explain : If you create a mask for a tree as an example, single faced leaves are transparent depending of the facing normals which result in an incomplete mask.
It's the only problem i found in this script.

... and RAHH, i've jsut installed last version and it is not possible to choose the renderer anymore WHY ? Please add it back, pretty, pretty please !

I also confirm that the "keep opacity" is broken usin Mental Ry renderer.
I looked at the code : in the get_all_opacity_map function you only look at the "opacity" string to retrieve opacity map, but in Arch and Design material it is cutout_map.

Thanks

Nafetsu

VrayMtl (like before)

Ivan Tepavicharov

..."Keep opacity" option seems to be broken...

What kind material you use?

Nafetsu

opacity

"Keep opacity" option seems to be broken.

Reinstall 4.82 on max2012 and get back "opacity keeping"...

Anyway, great great script thanks a lot for it !

mario

great!!
any chance to get the "floor" reflection for the masks?

I mean, you render a room, with a TV on it, with reflective floor, and want to composite it in fotosop or after effects

Reply to mario
Ivan Tepavicharov

"...any chance to get the "floor" reflection for the masks?..."

Difficult to do for now. I will think about it.

dollah3d

3d script

hello im new here

Sasha

Спасибо Иван за Script.
Очень полезная и удобная штучка.Просто праздник какой то!
Удачи и здоровья Вам!

3dbybrunolopes

Mask "lights"

Hello,

Nice update but when I use the mask "lights" type, it turns off the lights and doesn't restore...

Reply to 3dbybrunolopes
Ivan Tepavicharov

Hello, Nice update but when I use the mask "lights" type, it turns off the lights and doesn't restore...

I did a test and everything looks good.... What kind of lights did you use?


Reply to 3dbybrunolopes
Ivan Tepavicharov

"It happens with the vrayies lights, and it turn's off the VrayExposureControl too..."


Which version of the Vray you have?

cloobok

Установка на старую версию ???

Привет,! После установки на предыдущую версию, ничего не меняется. Может нужно подчистить где то ? MAX 2012.Спасибо.

Reply to cloobok
cloobok

Разобрался !!!

Пришлось подчищать_C:\Users\Admin\AppData\Local\Autodesk

lord_vogel

Rendermask wont start

Hello there,
I try to use Rendermask with my 3D S Max 2012 x64 on a win 7 x64 system but it didnt start even when i try to start by "run script"...

what should i do?

Reply to lord_vogel
Ivan Tepavicharov

After installation go to "Customize","Customize User Interface" in the "Category" dropdown list find "RequiemScripts"

shayanzoro

tnx

really thanks

themaxxer

great script!

I have an idea to make it even better. is it possible to generate "masks" for all used materials in scene automatically? the script has to give every material an unique matID and make an array to render them. or am I wrong and this is much more difficult?

thanks and best regards
themaxxer

Reply to themaxxer
Ivan Tepavicharov

Тhe idea is interesting

I have an idea to make it even better. is it possible to generate "masks" for all used materials in scene automatically? the script has to give every material an unique matID and make an array to render them. or am I wrong and this is much more difficult?

The idea is interesting. I'll try.

Ivan Tepavicharov

birket - in "Render Scene" dialog is the "Render Hidden Geometry" is turned ON?

Yes?

No - we never have that checked.

(BTW, the cars that you can see being reflected are in an XREF Scene file - not sure if that has anything to do with it)

Reply to birket
Ivan Tepavicharov

The script does not support xRefObjects & xRefScenes. Sorry.

birket

Seems to have a problem with VrayCarPaintMtl

I'm doing some RenderMasks of Env.Reflections, and where there are VrayCarPaintMtl shaders in the reflected objects, I am just seeing the actual carpaint - not a B+W matte.

I'm using Vray 2.0

Reply to birket
Ivan Tepavicharov

The idea of "env.reflection" is to generate reflections from the environment as a black and white image which is different from objects materials. The script ignores all materials in the scene and set new reflecting materials.
This gives you more freedom in composing.

Env.Reflection problem

Maybe I wasn't being clear. Here's a render of an environment reflection showing the problem. Can this be sorted out?

Attachments
onodi.andras

Awesome

Amazing script. I was always trying to look for scripts that I needed, but by checking the front page of scriptspot i realized that there are tons of other situations I can use scripts in. :)

Leandro Salerno

Suggestion

would be interesting in future to create "State Sets".
the new feature of 3ds max ...

congratulations for the script is excellent!

Barbiturat

Спасибо! Отличный скрипт.

cloobok

загрузка

не могу загрузить по ссылкам

Reply to cloobok
Ivan Tepavicharov

По каким ссылкам пытаетесь загрузить?
Ссылку,которую я оставил введет к моему сайту, с которого можно скачать скрипты.

загрузка

нажимаю загрузка на сайте через _хром_. Выдает :

Suggestions:

  • Try reloading: www.­tepavicharov.­com/­scripts/­render_mask.­exe
  • Search on Google:нажимаю на ссылку exe и тоже самое повторяется.Раньше срабатывало иногда, а сейчас вообще перестало.Может если не затруднит скинуть на ящик ?
Reply to cloobok
Ivan Tepavicharov

На какой ящик скинуть?
Я проверил - через хром качается нормально, может с твоим браузером проблема :)

может быть....но проверил через пару других - тоже самое, буду разбираться

birket

Still having big delays

We are still having major problems with RenderMask. It is a key part of our pipeline and difficult to work wothout it. We are still on Max 2009 x64 and are now using Vray2.0.

It seems that problems started since we started using a lot more ForestPro objects (large areas of grass, shrubs and trees). Clicking on RenderMask creates huge hangs - sometimes before a render even starts, but sometimes once the render has completed. The renders themselves usually take only about 1 minute. Only real solution is to quite out of the scene and start again.

Can this be solved at all? Are there compatability issues with ForestPro?

EDIT:-
As soon as I click on Render Mask, note at the bottom of screen says 'MXS auto increased heap to 10301440'. Not sure if this is relevant. Max just hangs with one processor core at 100% activity, and ram useage for 3dsmax.exe session is fixed at 630,160k. I have left it 10-15 minutes but no change. Only way to get going is to crash out of Max.

Thankyou. I am happy to donate funds if this can be sorted. Do you have any ideas what the problem might be?

Reply to birket
Ivan Tepavicharov

I have only some guesses.
I hope to have an answer by Monday

Reply to birket
Ivan Tepavicharov

birket

Send me your email to ask you something.

Ivan Tepavicharov

RenderMask - new in v5.3

The big change in this version is a search function for opacity maps. Now the options "Keep OpacityMap - White Matte" and "Keep OpacityMap - Black Matte" work more accurately. The next step is to work with Xref scenes. I hope soon to deal with it.

kurson

make a paypal

great work, big tool for my Pipeeline, (plaese Ivan, make a paypal donate buton)

mustafa mamdouh

Materials ID

First it is really useful script ..
I want to know if there is a way to deal with one selected object has multi\sub material applied and i want to render only one id from it

Reply to mustafa mamdouh
Ivan Tepavicharov

mustafa, if I understand correctly, will be very difficult.
To be sure give me an example (what you have in the material of the object and what you want to be the final result)

Reply to Ivan Tepavicharov
mustafa mamdouh

Sorry i didn't explain it properly .. may an example can do it
if i have object has multi/sub-object material applied for his polygons level .. say glass and brick mat .. and i want to mask glass only >> but the result of script will be the whole selected object so i need to detach every polygon group separately to mask them one by one ... can you do it without making this silly process

Reply to mustafa mamdouh
Ivan Tepavicharov

Now I understood. I know about this flaw. In the next version will be included. Initially it will only work with one object or more objects but with identical material.

Thanks for the advice

Reply to Ivan Tepavicharov
mustafa mamdouh

Great News

I can't wait to see it ...
okay i have more suggestions for you to make it more great

-> you may add feature to convert all masks to selections (channel layers) within photoshop file (PSD)

-> support for alpha channel (opacity material)

by the way I tested it in 3ds max 2012 64-bit .. and working very well

anyway thanks to make our workflow better

birket

Very slow to recover after render complete

I am experiencing very very long delays once the rendermask is complete on my projects. They are reasonably complax projects of buildings with quite a few ForestPro objects (trees/grass/bushes etc). The rendermask (for the glass objects, for example) completes in under 2 minutes (using Vray distributed rendering). However, 3dsmax locks up ('not responding' message) for quite a few minutes after completion. CPU is set at 100% on one of the 4 cores and memory usage is not changing.

My system is Windows 7 x64, Max 2009 x64, Vray 1.5rc5, 8GB Ram

Any ideas? Its painful!

Reply to birket
Ivan Tepavicharov

- repa2
for now I can not do anything with Xref scenes. The concept and original idea of the script which I started, does not allow to write for Xref scenes.

- kazzagazza
Go to:
"maxroot\ui\macroscripts", find "rRenderMask.mcr" end delete.

- birket
I know about this problem. Try to turn on "Keep OpacityMap - Black Matte"

Karen Gazzard

uninstall?

Hi, great script, but I need to uninstall so that I can install the latest version (installing new version over top of old one is not working) Please can you advise how to do this?

Thanks in advance

PS I'm using 3ds Max design 2011

repa2

great plugin

Thank you Ivan for this amazing plugin!
But I have a bug: if vray Xref scene has objects with vrayLight mat, these objects will be always included in the mask.

Example attached.

Attachments
Christiaan Klaassen

Hey Ivan,

Thanks a lot, i can stop nagging my boss now!

Cheers
Chris

Christiaan Klaassen

Install without exe?

Hey,

Is there anyway of being able to install this without running the .exe file.
We have security on the workstations that prevents users from installing and it would be useful to just have a drag and drop script or mse installer.

Thanks
Chris

3dbybrunolopes

Submit to Deadline option?

Hello,

I use your script for several years. but every time I need to render a mask, I need to do it locally, because i use Deadline as my render farm manager, and the plugin only allow us to send to netrender.

How about a option to submit to deadline?
Or a bake changes to scene option, and after I can submit to deadline as a regular render, after saving the file as "maskready" file.

Just a suggestion that I think that will be useful in other kind of pipelines.

Thanks.
Bruno Lopes

calvin

Script

This script is great, I use a lot for years now! Thank you very much!
One thing you cold add is "Copy to Clipboard" option. So with this I can just Paste on Photoshop, without save it. Original "Copy Image" on "Rendered Frame Window" doens`t work properly if I have rendered big images (it consider zoom and windows frame, for example).

birket

Falloff and XREFs

RenderMask is ACE!, but can we have an option to have no falloff if we choose to render an Env Reflection? Its a bit of a pain - normally we just want a plain black/white matte of where reflections are and where they aren't. At the moment, I have to ramp up the Falloff value quite high, and then run levels in Photoshop to get it to be pure black and white.

Also, we make extensive use of XREF scenes in our pipeline. It would be great if, somehow, rendermask would allow us to select objects (by name or material) that are buried within an XREF scene. At the moment, we have to merge a particular XREF(s) in to use RenderMask.

Would this be possible?

Reply to birket
Ivan Tepavicharov

The idea to have the option to remove the "falloff" is good, and i will add it as soon as possible.
As "xRef" things sit a bit more complicated, but will try.

Ivan Tepavicharov

Reply to birket
birket

It seems that rendering an env mask with XREF scenes doesn't work properly:- you need to merge in the XREFs in order to get it to work.

Any ideas why? Could this be fixed?

Reply to birket
Caetano Brasil

Me too, I use XREF a lot.
But I don't have this problem, it works fine without merge in scene. I'm using 3dsmax 2010 (64bit).
Maybe this is a problem with 3dsmax version? I mean, if you use 2011 version...

birket

I'm using Vray 1.50.SP4a and Max2009 x64. I'm using DR to render out mattes using the latest version of RenderMask. All DR buckets render black, whereas local buckets render fine.

Any ideas?

(I am trying to produce a mask on a ForestPro object. Could that be the problem?)

(my scene also includes a number of XREF scenes)

Brittnell Anderson

I appreciate your intent on motivating me to learn more about maxscript, however, my reasoning in asking the original author about the possibility of a z-depth specific modification/version was mainly due to the fact that most of the complex (it's not as simple as it might seem) groundwork is already evident in his script... Without me having to learn, and then re-invent, the wheel.

The reason I say it is complex (at least to me) is that it is doing more than simply scripting a black environment fog, and then adding a global self-illuminated white material override (which can also be done in Mental Ray). This script doesn't seem to take such a simple approach, but appears to go through all scene materials, find existing opacity maps in each, leave them, while changing diffuse to white and self-illumination to 100%. It then resets all materials back to their original state after render.

This is what I am most excited about, and is what gives the (excellent) effect of rendering out the z-depth with proper rendering of opacity-mapped objects such as foliage planes or other sorts of billboard objects. The global material override leaves things like billboard trees as solid rectangles (same as Max's default z-buffer render element).

With that said, it still may be that the material digging/bitmap swapping/etc. seems easy to an experienced scripter, but to me it does not seem like an efficient use of time to "put some of my own effort into it". Especially when the script is usable for nice "proper" z-depth passes as-is with just a little bit of "user guidance".

In all honesty, I'm not a scripter, and likely never will be (too many other pots already on the fire), but I'm not sure that should preclude me from making general "Hey wouldn't it be cool?" type suggestions... even if they are pie-in-the-sky.

Brittnell Anderson

Hmmm... How difficult would it be to convert this script to render all objects (full scene) out with the same transparency/illumination settings you're using now (specifically: "Mask Type: Luminance"/"Keep OpacityMap - White Matte"), but also with a black environment fog?

Such an approach should be able to output z-buffer passes that work with transparency (well, at least better than Max's native render element).

Ps. I almost forgot to mention that I love this script, and use it frequently.

Edit: Works fine just putting the environment fog in there manually. Just need to remember to turn it off for the beauty pass. Would still be great to have a dedicated "render z-buffer" button on this script that would add the atmospheric for the pass, then ditch it when done... But no pressure from me, this works pretty darn well as-is.

Thanks again!

Really this would be a totally different tool no? It would be a ZBuffer tool, not a mask tool.

It would not be hard for you to write this yourself. It sounds daunting but it is pretty basic stuff as far as maxscript goes.

If you use VRay, you could even just set the override material to a white and then the environment fog to black. pretty easy. You'll also want to hide any of your glass objects if you want to consider the z depth behind them.

Look up 'Working with Atmospherics' and 'renderers' in the MaxScript Reference and specifically renderers.current. You can get all the information you need out of those two topics.

After you have written something with a some success, you can find a lot of help in the forums here or the maxScript forums on CGSociety.

http://forums.cgsociety.org/forumdisplay.php?f=98

People will be more likely to help you after you have put some of your own effort into it.

Caetano Brasil

This script is great, I use a lot for years now! Thank you very much!
One thing you cold add is "Copy to Clipboard" option. So with this I can just Paste on Photoshop, without save it. Original "Copy Image" on "Rendered Frame Window" doens`t work properly if I have rendered big images (it consider zoom and windows frame, for example).
Anyway, thanks!

pixela

Thank you for this great plugin.
Any chance that it would be updated for Max 2011?

Ivan Tepavicharov

I do not use 3dsmax 2010 and I have no idea whether it works or not. If there are any specific problems, please let me know.

Thanks

mipmap

Hi, is there any chance to see a max 2010 version? It would be useful
Thankyou for your great work man

andrewdavidyoung

Great plugin. I use it all the time.

I render some scenes that have mirrors in them. Is there any way to render a mask for the objects reflection?

renderhjs

why is there even a *.exe file linked. I would never download that.

Reply to renderhjs
Ivan Tepavicharov

"why is there even a *.exe

"why is there even a *.exe file linked. I would never download that."

 In this case the problem is not in exe files. Try to download, do not bite.

Panayot Karabakalov

Hey Ivan, your download link open some "Sexy gallery Blogstream" :(

dedandy

HeyThere is a worm on

Hey

There is a worm on website!... My Avast close connection 

apb042

amazing plugin, but i have two quick questions-
does this work with vista 64?
are there installation instructions available? i had this running on my xp 64 machine (which fried), and can't remember how i got it running. thought i found a tutorial video somewhere on the interwebs. thanks!

Reply to apb042
Ivan Tepavicharov

The script is tested in max2008 & max2009, x32 & x64 version.
Install script in 3DSMAX ROOT directory. Run 3dsmax end find "RenderMask" in "Customize User Interface", category "RequiemScripts"

af13

Ivan, you are amazing.

By adding that "separate render" checkbox, you just saved me hours. Literally.

THANK YOU!

Reply to af13
Ivan Tepavicharov

"By adding that "separate

"By adding that "separate render" checkbox, you just saved me hours. Literally."

next step is to put a new function that divides each mask in a separate folder (optional)
af13

I love this script and use it all the time. But, here's my dream suggestion.

I would love to be able to have it render several masks at once. So, I could select several objects (from a list or just selecting them) and then have it batch render individual masks for each of the items. Now that would be incredible.

titane357

fast and nice updates , thanks !! but your web page give always a warning message...

andrewjohn81

I love this script as well. It definitely saves some serious time. I have had it crash though, so be careful. Although, I can only get it to crash on one particular file, so I'm not too worries. Just save first and you should be golden. It only crashes on trying to render. Assigning wire color is fine.

Anyway, I added cyan, yellow, and magenta to the script as well. I don't really know how to do position well, so "random" and "select RGB wirecolor" aren't quite aligned in the center, but that's really not important to me.

I'd recommend the original creator to add those colors. I won't post that script, but if someone needs it I can paste you the updated parts, and where to put them. I just don't want to send this out since it's not my script.

the additional colors may not work as well, but they are still pretty darn good. In photoshop you can just select Red, minus blue, minus green...for red. Red, plus green, minus blue for yellow...etc. I just create actions for that to speed it up a bit and assign them to hotkeys. If you have a bunch of parts you need to make adjustments on, the additional 3 selections can really reduce the need for more renders. If parts aren't touching, you might reuse colors and use the intersect selection option. I can't remember the hotkey for it, but there is a key combo for intersect as well. Just make your selection for all the colors, then lasso+intersect option around the part you need to focus on.

Loving this plugin. Hopefully the additional colors/option to add them yourself, will be added on the next release.

Martin Geupel

I love the script, but could you please support finalRender? Anyway, thanks for the script!

visualz

i love this friggin' script! 

gary m davis // visualZ.com
3d animation and compositing specialist
3ds Max/Mudbox | Combustion/Toxik

tecnat

Now it works fine!!

Thank you

tecnat

v.4.24 exe file installs the old v4.23 version. It still doesn't works with vRay SP3 on my computer.

I use it with SP2 and saves me lot of time making my masks. Thank you for this great tool!

Reply to tecnat
Ivan Tepavicharov

"v.4.24 exe file installs the old v4.23 version. It still doesn't works with vRay SP3 on my computer."

Try to download again. If still have problem, please send me printscreen of the message with the error.

This version of the script work on my computer.

What is your version of 3dsmax?

fajar

Hmmm.... great script !!

thank man!! very much thank!!

I've seen your video tutorial !! I'm little interest about your litlle script/plugin called tress collection v2.00. could you upload it!! or give some information about it, something like where I can get/download it!!

thank's man!!

jamoka

great script..thnx

---------------------------------
cgattack.com

titane357

Love your plug, but nead a SP3 flavor ! :-)

Pepster3D

Looks like a great plugin. I installed it and when I try to run the script, nothing happens. What did I do wrong?

nuosyo

muy bueno el scrip... muchas gracias

trick

Why doesn't this tool have more points. It's practically the only easy masking tool that supports opacity maps with VRay. ***** stars !!!

Reply to trick
Ivan Tepavicharov

I have some problem with update of post.
I delete the old post then post again.
The point is not important. :-)))

Hi Ivan,

Can VRayMtlWrapper support opacity maps in underlying materials ? When I have opacity mapped leaves in a VRayMtlWrapper-VRay2Sided-VrayMtl structure, the opacity maps are not correctly rendered.

titane357

Nice plug !!! very easy to use => fun