Quick Mask

72 votes
Version: 
1.4
Date Updated: 
02/16/2011
Author Name: 
Anubis

Quick black and white mask from the selected objects

Quick Mask

Now support XRef Scenes

Additional Info: 

Version Log:
[v.1.0] initial version
[v.1.1] Added copies a bitmap to the clipboard (AVG needed for Max version < 2008)
[v.1.2] Added XRef Scene support, Shapes support + code optimization
[v.1.3] Added two-sided material to render the backfaces
[v.1.4] Added support for mr_Proxy & VRayProxy

Version Requirement: 
3ds max 6 and higher
Other Software Required: 
[AVG] Avguard Extensions for Max 6 - 9
AttachmentSize
quick_mask_sel_12.ms1.46 KB
quick_mask_sel_13.ms1.55 KB
quick_mask_sel_14.ms2.13 KB

Comments

Comment viewing options

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

Hi vraypixel,

why not ;) will put this in the todo-list.

[edit] before spend any time on this, need to say that you can render animation with the current script; just setup your renderer (F10) as usual and finally call the script.

my recent MAXScripts RSS (archive here)

vraypixel's picture

Animation support?!

Hi Anubis,
Great script. Perfect for smaller scenes. Had to wait a bit when using it in a complex one with lots of xrefs but at the and it made the mask. Than waited some more to turn everything back to what it was ;)
Anyway any plans to build animation support in it?

Greats!

pSicadeLio's picture

Great!

Thank you Anubis,
now I've learned something new,
Great script! ;)

Anubis's picture

Hey Elia, its a macro script,

Hey Elia,

its a macro script, so after run it once,
just find it in your Customize dialog
and assign it to hotkey/menu/button.

my recent MAXScripts RSS (archive here)

pSicadeLio's picture

How to..make it work?

Hi,
sorry for my newbieness,
but I can't make it work,
I've run the script, but nothing happened.. =|
Is there a specific folder where put it on?

Thank in advance,
have a nice day.

Anubis's picture

thanks

still dont know whats wrong with vr in the main script but glad to see it works fine for you, cheers.

my recent MAXScripts RSS (archive here)

mustafa mamdouh's picture

problem solved

you made it ... it works now fine
best wishes with your scripts

thanks to scriptspot community

Anubis's picture

Hmm...

its hardly to help more without vray here, but... just make this test:
- made some test scene (and save it)
- assign your vray renderer
- the script mask selected, so select objects you like
- and run this script:

with undo on
(
	matB = standardMaterial diffusecolor:black \
		selfIllumAmount:100 twoSided:on
	matW = standardMaterial diffusecolor:white \
		selfIllumAmount:100 twoSided:on
 
	geometry.material = shapes.material = matB
	selection.material = matW
 
	useEnvironmentmap = off ; backgroundColor = black
 
	render()
)
max undo
AttachmentSize
quick_mask_sel_vr_test.ms 329 bytes

my recent MAXScripts RSS (archive here)

mustafa mamdouh's picture

quick mask v1.4 tested on 3ds max 2009 64-bit (vray v2.0)

ok i just tested it as normal (without vrayproxies) and it works but when i tested it with vrayproxies it didn't work .. and that what happened

First i get DOS window opened with vray icon on taskbar then max hanged for while finaly i got just a black window render

Second time i tried to restart max and tried again but this time max hanged and stop working

best regards,
mustafa

thanks to scriptspot community

Anubis's picture

Hey Mustafa

I expect this question to come out some day :)

The script using Default Scanline Renderer and that means it not support mr_proxy as well. I not use this renderers (MR or VR) but the good news is that I update the script. Now it will check the scene for proxies and switch to MR/VR if necessary.

So pleace test the last script version and drop some feedback.

Cheers

my recent MAXScripts RSS (archive here)

Comment viewing options

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