PDA

View Full Version : MR Refraction Issues


a9studios
10-03-2007, 01:29 PM
Hey guys, here is a scene I'm working on and I seem to be having some problems with a dielectric material refracting.

Here is the render:
http://farm2.static.flickr.com/1258/1476146997_856de46566_o.jpg

I've circled the areas of the dielectric Mental Ray shader which appear black in the render, but should appear near transparent. This is a Realflow mesh exported to .obj, due to the fact that Maya 2008 doesn't support the Realflow plugins as of yet.

My refactions are set to 7, relfections 7 and total 18 under the Raytracing mental ray menu. I've tried increasing the Raytracing values, but to no effect.

Here is a Maya 2008 screenshot:
http://farm2.static.flickr.com/1221/1477002254_3b3c578fde_o.jpg

Any suggestions?

MasterZap
10-03-2007, 01:32 PM
Oh, a "make wet" pedal?

(Sorry, revealing my hidden life as a music producer ;) )

There was an error recently discovered in the Dielectric shader which would probably manifest itself similar to what you describe. Although that should be fixed in 2008. Hmm. How are your normals pointing?

I'd say my classic mantra "switch to mia_material instead".

/Z

Olegr
10-03-2007, 01:35 PM
He seems to be using 2008, so go, go MiA.

MasterZap
10-03-2007, 01:39 PM
He seems to be using 2008, so go, go MiA.

Yeah, just noticed, edited my post accordingly. I dunno how I could read "2008" as "8" originally. I mean, 2000 off? That's bad accuracy ;)

/Z

(For those that don't get it, I originally misread the version number and said something like "I'd normally tell you to go to mia_material but you seem to be on version 8")

a9studios
10-04-2007, 05:46 AM
Thanks for the replies Ole and Zap! I decided to take your advice and switch to a mia_material after having no luck reversing the normals. I think the result worked quite well (in addition to some Photoshop modifications ;))!

http://farm2.static.flickr.com/1103/1481490520_2d5988402f_o.jpg

Thanks for the help!

MasterZap
10-04-2007, 07:56 AM
Nice!

Still looks a tad less transparent than real water would.... in the mia_material, either try turning on the "Fresnel" mode (in the BRDF rollout) or just set the "BRDF 0 Degree Reflection" to 0.05 (which ends up very simlar to the facing Fresnel reflectivity of water).

Then you may need to turn up the HDRI for reflections a tad.

/Z

Olegr
10-04-2007, 09:50 AM
Adding some caustics could also be cool. Just some subtle highlights to give it a slightly less CG look.

a9studios
10-04-2007, 12:22 PM
Once again, I really appreciate the help guys! Here's another render with BRDF 0.05 Degree Reflection. A further improvement! Thanks Zap!

http://farm2.static.flickr.com/1436/1483246154_d9f991d9b4_o.jpg

@Ole - I've considered caustics but since I'm running on a very slow machine it takes about 1 and a half hours to render this without caustics. However, its worth a crack ;).

CGTalk Moderation
10-04-2007, 12:22 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.