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
22 views

realtime window into a scene

I have a realtime view into a room as a mask on a plane. All you can see of the room is through the mask /2D plane that is exported as a 3D model (.GLtf or .glb preferably) I achieve this effect in ...
0
votes
1answer
30 views

Where is the 'selected to active' bake option in new version?

Where is the 'selected to active' bake option in new 2.8 version? There is 'bake from multires' now, but options are only normals and displacement, and I need to bake color
1
vote
1answer
126 views

ID Mask by Pass Index in bpy

New to Blender, and the documentation for bpy is throwing me for a few loops. I got a setup in the compositing layer working for my desired goal as shown: This renders an image and a color-coded mask ...
0
votes
0answers
124 views

Cryptomatte material masks export

Is there a simpler way to export all separate masks of materials using open exr multi-layer format for post processing in photoshop using the exr-io plugin? I always end up in a time consuming node ...
0
votes
0answers
54 views

Movie Clip Editor Multiple Masks

New to Blender, have a quick question about masking. I am greenscreening some photos, however some areas do not cut out correctly (space between ladder notches), so I have resorted to masking and ...
0
votes
0answers
25 views

Apply OpenCV functions on blender images without saving them

I am using openCV to do some operations on images I am generating using blender. I am trying to get masks of all the images in the render then apply some openCV functions to gather some data without ...
4
votes
1answer
296 views

Cryptomatte - Clean edges

blender people, please, does exist a solution to make a clean render pass for ID colors - materials? I want to achieve a same solution like in VRAY - material ID. After that, I want to import it in ...
0
votes
0answers
21 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 ...
1
vote
2answers
488 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 ...
2
votes
1answer
590 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
378 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
46 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 ...
1
vote
1answer
114 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
402 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 ...
2
votes
0answers
547 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
1k 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
174 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
760 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
211 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
348 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
561 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
228 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
587 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
4k 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
1k 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 ...
4
votes
3answers
4k 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 ...