Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   problem with the mia_ material_x (https://simplymaya.com/forum/showthread.php?t=30999)

masbt 25-09-2008 04:46 AM

problem with the mia_ material_x
 
I am working in an animation with just two glasses and a camera following a path to experiment with the mia_material_x (maya 2008). My problem is that when one glass is behind the other it became unrealistically dark and I don't know how to solve this without changing the black background color. I have tried a lot of parameters but I don't know how to do it.



animation



scene

Jay 25-09-2008 05:51 AM

Try turning up refraction in the render settings in Mental ray

_J

masbt 25-09-2008 06:59 PM

It doesn't work.
thank you anyway.

Jay 25-09-2008 07:42 PM

I just looked at your scene, jeez dude, talk about complicate your scene. first use a spot light for the over head light with a nice penumbra for the falloff, this will make life a little easier other than that get rid of the other light start simple when it comes to lighting and add as you feel needded. I then noticed youve pasted the material from one glass to the next, just create a new mia x material and drag and drop onto the glasses, theres no need to copy and paste them, this could be half the problem too as mental ray can get a bit odd at times.

also having that black backdrop will certainly not help matters overall, but by using the one shader will cut down on your settings. Also switch on and off the raytraced shads on the light to get an idea of what settings in the render panel to crank up or down. I reshot your scene in 2 mins and it was fine for a test shot, just a few tweaks here and there to help it but other than that this made all the diffrence to the output.

Jay

masbt 25-09-2008 10:33 PM

Thank you for your time .
It doesn't matter if I change the lights, is allways the same. I have changed the pasted material (is the whole glass what was pasted), but is the same. Also I have played with the reflection and refractions in the mental ray settings but I keep getting this:

http://www.telefonica.net/web2/masbt/files/a4.jpg


In other animation a ball pass behind the glass with the same effect, proof that the guilty is not the pasted material, but the look is not so unrealistic:

ball animation


I am beguining to think that perhaps it cant be done using this material. I dont know.

Jay 25-09-2008 11:29 PM

1 Attachment(s)
Heh, I beg to differ...

Jay

masbt 25-09-2008 11:59 PM

How did you do that?

Tell me, please

Gen 26-09-2008 01:37 AM

1 Attachment(s)
I agree with Jay there, I deleted your lights and used a spotlight and added a poly plane in the back with a gray surface shader. The problem was with your mia_material raytrace settings, you needed to boost the max trace depth in the advanced refraction section, otherwise you could have jacked up the raytrace render settings and nothing would have changed. Also the render settings were crazy for testing, that resolution was insane :x

Jay 26-09-2008 01:48 AM

Thanks Gen for the backup.

it can be achieved as well without the adjustment on that setting as its a physical shader but as with these things they can achieve some great results the more you play around with certain settings.

masbt: anyway I hope both these options helps you out. I just did all my render on a 640 x 480, one spotlight overhead and the same shader on both glasses, then hit the render button!!

Happy rendering

Jay

Jay 26-09-2008 02:06 AM

1 Attachment(s)
Another one for you, the back glass object has a dielectric shader on it. I chose the same angle as Gect because I thought by lowering the refraction setting for the front glass will show you the effect of widening the top of it

Jay

masbt 26-09-2008 02:23 AM

At last. This was the magic setting.

thank you very much.

I feel such a noob watching the GecT works...

masbt 26-09-2008 03:20 AM

I strike back

http://www.telefonica.net/web2/masbt/files/a5.jpg

Gen 26-09-2008 12:41 PM

1 Attachment(s)
Thank you masbt :) Looks better, the highlights seem really strong though. The texture on the plane is really blurry, is it actually like that or is there filtering applied? Something was irking me about that glass shader so I went back and checked again, you had the transparency all the way up but it was still so dark. Then I realized it was just picking up too much of the dark grey floor in the reflections so I used fresnel reflections, even made another glass shader to compare and it was indeed the reflections.

Jay's test made me want to putz around with the dielectric shader, it looks good but how would you get rid of that grain? I always found that shader to be a little unfriendly, simple is good sometimes but for that reason I couldn't figure out the grain issue.

honestdom 26-09-2008 01:20 PM

can someone help me with my glass problem now? :P

Gen 26-09-2008 06:24 PM

Quote:

Originally posted by hammer.horror
can someone help me with my glass problem now? :P
What kinda problem are you having?

Edit: Nvm I see it in your sig.


All times are GMT. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018