Jump to content

How to render Material ID in Mental Ray..


arkinel
 Share

Recommended Posts

Hello everyone, i would like to know if there are ways to render the material ID in the scence using mental ray rendering in 3dsmax. As i tried to render in the rendering elements such as the ones attach here and its not the result as i expected. I like to achive like the last image here that was rendered in vray with the different color as per the different materials, and its good for the post production process.

Thanks for your help..

 

image-1 full rendered interior

image-2 material id

image-3 matte

image-4 object id

image-5 vray material id

Link to comment
Share on other sites

Thanks for your response.

I tried the material overide but it doesn't work without lights, it works with lights but there are shades, highlights and shadows. don't understand about the scene shader. what do you mean by that? sorry to tell you that i am not an advance user of 3dmax. thank you for your help.

Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I am trying to do the same thing with rendering elements by material ID with a Revit model exported to Max thru FBX. This creates Pro-Materials in Max to which I assign material IDs. I want to render and have a Matte for varying wall materials, trims, windows and so forth for use in Photoshop. However my Matte render element consistently comes out blank. I can do it by using the Select Objects option in Matte, but materials don't work. Any idea why ?

Link to comment
Share on other sites

  • 2 weeks later...

On the materials editor, there is a box with numbers 0-15 which controls the material ID channel. You need to set each material to a separate material ID. For example floor to #1 , glass to #2, etc. Then when you render, you will get the different colored objects.

Link to comment
Share on other sites

Thanks muchly frank1331. I did manage to find exactly what you said from a different source, so I am now in deep Photoshop compositing territory. A must for when you're dealing with people who are undecisive with colors.

Finding that "Material ID" box in the materials editor panel takes some doing the first time around tho : )

 

I appreciate the help.

Link to comment
Share on other sites

  • 2 years later...
I made a quick ten boxes and a quick ten materials. Applied. Rendered Material ID element and got the attached.

 

So _I_ think there is a way and wonder why yours did not work. It looks like you only have 2 material IDs assigned.

i cant find mtl ID in mental ray there is only object id

Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...