Hi guys, I’m not a coder so I’m not able to implement this feature;
I’m talking about the Wire Color Render Pass that Vray is able to generate.
It looks like this:http://www.amgraphisme.com/wp-content/uploads/2012/10/02abWire.jpg
Useful for create speed mask in Gimp or Photoshop with the Magic Wand.
I know that in Blender I can create a material with random color but I think it’s useful have the same result with a click on render pass and one render.
Very cool! Well, we have object and material indexes (indices?), but I see that such color pass can be very useful (each plane has its own color) if it requires less setup.
Actually, you can do a color representation of the object and material ID quite easily in Blender.
Add a Set Alpha node with the object id pass, make a group of it and you have just one node to check your pass and pick the pixel to know what id number generate with the ID Mask node
It doesn’t matter because the colors are just usefull to pick the right ID. Once you have the number of the ID you want, create add the ID Mask node and check anti-aliasing!
You can check the diffuse color and glossy color pass if you can get the information there. If I am not mistaken in this situation the wire color pass from vray would not help you either.
Hi I found this thread on search engine, here’s an alternative method. I use Object Index instead of material index. To use Object Index go to Properties Window > Object > Relations tab > Pass Index, then on Properties > Render Layers > Passes check the Object Index box.