Jump to content

render elements behind transparent objects


Matt McDonald
 Share

Recommended Posts

Using render elements I am trying to get a object ID pass or MR Labeled Element pass to include object which are behind glass. If you look at the attached images you will see what I am talking about. You can see in my beauty pass I have a row of teapots behind a piece of glass. In the object ID pass only the first tea pot is partially shown and the rest are obscured.

 

I see that I could hide the glass, render and then render again with the glass but I'm really trying to do it all in one pass. Any suggestions would be much appreciated.

 

Cheers

Matt

Link to comment
Share on other sites

I am using Mental Ray. An MR Labeled Element is a render element which will mask materials which have a certain shader applied to them. The problem doesn't seem to be specific to that render element though. Material ID and Object ID elements produce the same problem.

 

The affect shadows option in V-Ray eh? That's the option you have to enable if you want any exterior light to get inside your building right? I'm not sure that MR has a similar option. I have Transparency propagates Alpha channel but that does not seem to affect the render elements, only the alpha for the beauty pass.

Link to comment
Share on other sites

I have done this by rendering a separate pass with the transparent object as grey and everything else as black, then use this as the alpha. Of cause you will have to render the teapot and glass separatley.

 

Not the most elegant solution but it worked for me

 

jhv

Link to comment
Share on other sites

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...