View Full Version : Mental Ray and Transparency Bug (Need Help)
03 March 2011, 05:51 PM
I am having an issue in Mental Ray that I hope to recitify asap as I have to do the final render for tonight.
Basically, the scene is simple, I had to render a butterfly landing on a flower. No problem. I wanted a shadow cast on the main flower by another flower, but I didn't want the flower to render. So I turned off Primary Visibility in Render Stats for the objects. And it's working for the most part. However, when I render it in mental ray, any textures with transparency, such as the butterflies wings and the flowers petals.. the transparent parts show the flower in them (The one that isn't supposed to be visible in renders). If I turn off the visibility altogether you no longer see the reflection, but of course the shadow doesn't cast.
I really want to fix this as soon as possible. If anyone could help, that'd be great!
03 March 2011, 05:56 PM
Also un-check "Visible in Reflections" in the area you unchecked "Primary Visibility"
03 March 2011, 06:00 PM
I'll try that right now. Thanks!
03 March 2011, 06:05 PM
also Refractions just make sure it casts shadows...you probably don't want the hidden one to receive shadows either.
03 March 2011, 06:09 PM
Unfortunately that didn't work. I also turned off the reflections in the wings to see if that would work, but it didn't either.
Just to give a more clear idea of what I mean I am going to post the image, and also a wire render so you can see the placement.
Edit: I also turned off the other paremeters you suggested to no avail. Hrm, very frustrating
03 March 2011, 07:08 PM
I fiddled around with it some more, but I so far, other than turning it off entirely I can't get it to disappear. Does anyone have any other ideas?
03 March 2011, 07:46 PM
Hard to tell really, did you apply the settings to each piece of geometry or a group?
03 March 2011, 09:16 PM
I went to the hypergraph and applied them all individually. :/ Blah.
03 March 2011, 01:33 AM
First off if you want to apply attributes to multiple objects you can select them and then use the Attribute Spread Sheet under Window->General Editors->Attribute Spread Sheet. This allows you to set multiple objects' attributes.
As far as the transparency issue, if you select the objects shape node then go under the mental ray section, try unchecking Visible in Transparency
03 March 2011, 01:31 PM
I will try that today! Thank you for the response! I'll let you know if it worked.
03 March 2011, 06:19 PM
It worked! Thank you very much. Such an easy solution that I'd have never found on my own.
03 March 2011, 06:19 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.