Questions tagged [id-mask]

The ID mask node will use the Object Index pass to produce an anti-aliased alpha mask for the object index specified. The mask is opaque where the object is, and transparent where the object isn't.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

The output isn't updated by the changes in the compositing node tree with python script

I am new to blender scripting. I found that the changes in compositing node tree are not updated until the compositor nodes editor is shown on the window. I want to output the rendered RGB image and ...
0
votes
0answers
15 views

Material in render different to Material showing up in the IndexMA pass

I am trying to create a mask based on materials having certain nodes. In this case I want to filter any shader that uses the Glass BDSF Node, I have this object with a couple of different materials as ...
0
votes
1answer
123 views

Anti-aliasing of ID Mask is more coarse than Cryptomatte

The edges of the Cryptomatte are smooth, but the edges of the ID Mask are rough even if the anti-aliasing option is checked. The anti-aliasing option of ID Mask seems to have a very small difference ...
1
vote
0answers
63 views

I get border artifacts when using Cryptomatte or ID Mask

I tested masking in the Blender compositor. Please see the GIF below. The 1st to 3rd outputs are Crptomattes(obj, mat, asset) and the 4th to 5th outputs are ID Masks(obj, mat). All mattes have border ...
5
votes
0answers
139 views

Get image pixels from multiple viewer nodes

For Blender 2.81 and Cycles render. I want to access all of the following data passes from a Python script: Z Normal ...
0
votes
0answers
9 views

Get the active mask in the clip editor

I am writing an addon that displays in the Mask mode of the Clip Editor. I only want my panel to display when there is an active mask selected. Currently, it shows only when in mask mode and the video ...
0
votes
0answers
31 views

Masking out parts of an object for compositing

I am making a model of an Arc Reactor. In the model, there are some wires and a sphere with emission material, inside a glass material to create a glow effect. Now I want to make these emitting ...
0
votes
1answer
47 views

ID mask noisy when using Volume Scatter for World volume

I've made a sword in this medieval blacksmith scene an ID mask so that I can give it a glare effect without affecting the rest of the scene, but because I used Volume Scattering for the world volume, ...
1
vote
0answers
268 views

How to mask an imported image as a plane in Blender 2.8?

I have the following scene in Blender 2.8: I imported the Blender logo as a plane (File > Import > Images as Planes ---which is a plugin---). I want to create a rectangular mask on the Blender logo ...
1
vote
0answers
419 views

Object/Group Instances and Pass Index

For Post Production in the Compositor, I heavily rely on using Object/Material Index masks. Normally, I select a single object and then give it an unique number in the Pass Index/Material Index slider ...
5
votes
2answers
691 views

How to utilize material (or object) index behind a refractive material in cycle?

The material (and object) index works only when the object is uncovered by other objects. But the thing is the object can be visible behind a transparent or semi-transparent objects. In cycles it ...
0
votes
0answers
160 views

Object outline appears when using ID Mask

I have an ID Mask, and this yellow-like line appears in my render when I'm using the ID Mask node. (The line appears around the drawers on the right side os the image) I tried using the Fast Gausian ...
0
votes
1answer
583 views

How do I make a script to set object index for every object?

I wat to make a script that will, for every mesh in the scene, set a different object pass index so I don't have to select every mesh in my scene to assign a different number. I know this is possible ...
0
votes
0answers
184 views

Node setup to access ID masks in Cycles?

In the compositor, there is a dedicated ID mask node where you put in the number of the mask you want, and it will output it. We can get access to ID masks in Cycles materials via the Object Info ...
0
votes
0answers
273 views

How to mask mesh using an object

I am running a cloth simulation on a human avatar. I want to hide the human mesh that is underneath the cloth and not the entire human mesh. Is it possible to do something like this using the ...
3
votes
1answer
478 views

Any way to have multiple ID masks?

It is possible to have multiple objects share the same ID mask in the compositor. It does not seem possible to have objects possess multiple ID mask values though. Is there any way around this? I want ...
0
votes
1answer
185 views

I can't get Object Index to give me a clean Luma Matte. Please Help! [duplicate]

Why is it that I can't get a clean looking Luma Matte from either Object Index or Material Index Pass. As you can see in the example I provided, I do have anti-aliasing checked in the ID Mask. What is ...
1
vote
1answer
514 views

How to use flat color shading with anti-aliasing for multi-materials?

I've been searching a while now for a solution to render out a flat colored map for masking out objects in photoshop. I found this very helpfull topic: https://blenderartists.org/forum/showthread.php?...
2
votes
2answers
3k views

How to achieve a flat colored render pass from material id/index for masking

I'm trying to get a render pass that splits all different materials into flat shaded objects (like material id in 3ds max) with anti aliasing. The output colors aren't important. (random colors are ...
3
votes
1answer
863 views

Object ID to a whole group

How to add an index ID to thousand of objects? Selecting the whole group and changing the ID, It applies only to the singular object.. a solution could be to assign a different material and so to ...
3
votes
3answers
3k views

Compositor ID Mask not working?

I want to give my model a glare effect at robots eye, so I gave the material assigned to the eye Pass Index of 1 then when I went to compositor and made this node set up, in the viewer I could ...