Page 1 of 1

Feature Request: Material Mask Passes

Posted: Fri Apr 03, 2015 8:37 am
by RobSteady
Material sidewalk: Mask ID 1 -> Render Output: sidewalk_mask.png
Material curbs: Mask ID 2 -> Render Output: curbs_mask.png
Material glass: Mask ID 3 -> Render Output: glass_mask.png
Material facade: Mask ID 4 -> Render Output: facade_mask.png
............

(Black/white masks that is)

Picking colors from Mat ID pass is a pain in the pass...

Re: Feature Request: Material Mask Passes

Posted: Fri Apr 03, 2015 11:50 am
by PolderAnimation
If this would be implemented. Don't do a Black/White Mask, but a RGBA pass. What would be even better.

I already use this by making my own. I make a separate render-Target.
You put your mesh in a Material Map, you link that to 4 shaders (one red, one green, one blue and one black).
Kernel Direct, global illumination Ambient, Environment: Texture environment, with a with texture. Power around 1.1,. (make sure all other lights except the texture environment is off). Camera imager, the response should be linear, exposure 1. Vignettting should be 0

Than you will get this (see image).

If you then shuffle the channels in you composite program to alpha (for example in nuke) you will get a nice alpha channel.

note: that the value of the color can differ if the exposure and power of the texture environment are different. The values could become greater then one or lens then one.

But, I think your solution is way beter, this is just a work around =).

Re: Feature Request: Material Mask Passes

Posted: Fri Apr 03, 2015 2:14 pm
by RobSteady
Nice workaround but too complicated, too many extra settings, too time consuming.
A simple ID Channel would do the trick.

I recently did a big archviz-project with 9 images and had to manually make masks for all of them.
Very annoying task because selections are not clean (with 5 materials: yes, with 55 materials, trees etc: no)
Architects want to adjust materials A LOT.

Re: Feature Request: Material Mask Passes

Posted: Mon Apr 13, 2015 11:40 am
by NVN
yes plz!

We need SW-Mask's!

Re: Feature Request: Material Mask Passes

Posted: Tue Apr 21, 2015 1:25 pm
by Andygraph3D
I agree we need mask pass !!!

Re: Feature Request: Material Mask Passes

Posted: Sat Jul 11, 2015 5:59 pm
by MrFurious
+1

The latest version now supports object masking but really we need surface mask ID's as well. Agreed MatID picking sucks I have no idea how so many people are satisfied using this method.. how about intricate detail, extreme DOF or motion blur? makes for very messy colour picking. What's more ID picking can't (to my knowledge anyway) be automated in composting software