Jump to content

Objects ID in Mantra image plane?


Recommended Posts

Hello I have little problem how to create automaticaly image plane for objects ID in one pass so EXR. I when I added image plane, preset Node ID, nothing happen. I found in help.

Tip

You can output the object ID and/or primitive IDs to deep raster planes, and then use them to easily select objects or primitives in the compositor.

To output the object or primitive ID, set up the following parameters:

*

Variable name = Op_Id (or Prim_Id)

*

File/Plane name = Op_Id (or Prim_Id)

*

Channel depth, Variable type = Floating point

*

Sample filter = closest surface

*

Pixel filter = minmax idcover (a special filtering mode for ID channels)

but ID layer is still like alpha. I cant find it there. Some Ideas? Thanks a lot. BC

there is simple hip.

Edited by blackchicken
Link to comment
Share on other sites

I am not sure how to upload a file here but what you are missing is the Rendering parameter from the Mantra node which is called "Generate Op Ids for objects".

Edited by postezz
Link to comment
Share on other sites

  • 2 weeks later...

So that really good, but a lot of work. I thing that 3ds max has something automaticaly added. So is there somebody who work more with this layer? I thing that add random constant material to object ID and create simple rendering layer could`t be too much work for houdini. Any idea? Thanks a lot...

Link to comment
Share on other sites

A lot of work? I don't find it complicated.you can check this threat too : http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=11229&highlight=object++plane .If i don't have too many objects i like to assign constant shaders to the object by channel - RGB, this way you can have correct motion blur and AA.If you insist of having different colors you can set this with a random expression for color on sop level.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...