RonaldAZ Posted December 28, 2015 Share Posted December 28, 2015 Hi there! I would like to do a render passes where every object has a constant colour and right now I am doing it via takes ( which is very time consuming to set up). I have also tried the op_id and primid in mantra but that doesn't give me a different colour for each object in the scene. How would I go about doing this more efficiently? Any and all help would be greatly appreciated Cheers! Ronald Quote Link to comment Share on other sites More sharing options...
SreckoM Posted December 28, 2015 Share Posted December 28, 2015 Op-Id gives you different colour but not what you expect Those are levels of white, from 0-255, I think. Render image and inspect it you will see different values. Quote Link to comment Share on other sites More sharing options...
RonaldAZ Posted December 28, 2015 Author Share Posted December 28, 2015 Op-Id gives you different colour but not what you expect Those are levels of white, from 0-255, I think. Render image and inspect it you will see different values. Hi I got the same result but I have multiple objects in a single object geo node but op-id gives all the objects in that specific node a single colour, would it be possible to get separate colours for every object in the geometry node? Thanks! Quote Link to comment Share on other sites More sharing options...
fencer Posted December 28, 2015 Share Posted December 28, 2015 (edited) maybe this one obj_ID.hip Edited December 28, 2015 by fencer 3 Quote Link to comment Share on other sites More sharing options...
RonaldAZ Posted December 28, 2015 Author Share Posted December 28, 2015 maybe this one 01.jpg02.jpg Hey thanks fencer!This is what I was looking for! Really appreciate it! Quote Link to comment Share on other sites More sharing options...
NNois Posted December 28, 2015 Share Posted December 28, 2015 Hi, About that, did something equivalent exist for mantra to the latest "cryptomate" (from psyop) https://vimeo.com/136954966 & the paper http://www.psyop.tv/wp-content/uploads/2015/08/psyop_IDmattes_poster.pdf would it be cool ??? Quote Link to comment Share on other sites More sharing options...
RonaldAZ Posted December 29, 2015 Author Share Posted December 29, 2015 Hey thats really interesting!I'm not too sure about that but I did find a thread talking about it http://forums.odforce.net/topic/23817-cryptomatte/ Quote Link to comment Share on other sites More sharing options...
martinkindl83 Posted July 21, 2016 Share Posted July 21, 2016 Quote Link to comment Share on other sites More sharing options...
crispyastrologer Posted March 5, 2018 Share Posted March 5, 2018 On 28/12/2015 at 12:25 PM, fencer said: maybe this one obj_ID.hip Hello, I am trying to replicate your scene file, I created the obj_ID attributes for my objects but I can't see them in rendering for some reason! Did you do anything else? Quote Link to comment Share on other sites More sharing options...
fencer Posted March 5, 2018 Share Posted March 5, 2018 2 minutes ago, crispyastrologer said: Hello, I am trying to replicate your scene file, I created the obj_ID attributes for my objects but I can't see them in rendering for some reason! Did you do anything else? Did you check all render passes? Quote Link to comment Share on other sites More sharing options...
crispyastrologer Posted March 5, 2018 Share Posted March 5, 2018 3 minutes ago, fencer said: Did you check all render passes? What do you mean? Quote Link to comment Share on other sites More sharing options...
fencer Posted March 5, 2018 Share Posted March 5, 2018 2 minutes ago, crispyastrologer said: What do you mean? C, Pz, Op_Id... Quote Link to comment Share on other sites More sharing options...
crispyastrologer Posted March 5, 2018 Share Posted March 5, 2018 3 minutes ago, fencer said: C, Pz, Op_Id... Oh no I didn't, I wasn't aware that I need them, I just want the object IDs. You do not have them in your scene output. Quote Link to comment Share on other sites More sharing options...
KavinduMathish Posted January 19, 2022 Share Posted January 19, 2022 Hello. Did you manage to find what was wrong? I know this is a bit old post but I tried to do the same thing as fencer has done. I have created a attribute on points and on the mantra node I created a new image plane for that attribute. But when I check that render pass it's empty. Just black. I opened the original HIP file shared by fencer and it works perfectly. So I replicated the same setup on a new file but then it doesn't work. Am I missing something? Created a sphere and a box, created a vector attribute on both of those geo. Named it obj_ID and then in the mantra node created a new extra image plane and added the attribute name obj_ID as the VEX variable. Set it's type to vector. Hit render. The C pass has the geo. Then checked the obj_ID pass but it's empty for some reason. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.