mia_material/glass shader

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  06 June 2009
mia_material/glass shader

So I have a very simple wine glass.

Mia_material, glass solid preset, diffuse color is just a littler darker than white, glossiness just under 1, max trace depth 10, IOR is 1.5, solid is checked rather than thin walled, fresnel reflection is on, ect

Mental Ray, production, caustics with accuracy of 300, final gather with accuracy of 500, raytracing with 10, 10, 20 (turning those 3 up eliminated most of those black pits).

Directional light of 1, other side with a spotlight with .6, rim spotlight in behind with .3

All that gives me the image attached. In the camera attributes, if the background color is the normal black, you can barely see it, change it to a light gray, you see it like in the image. But it seems too clear, the bottom of the glass is very white on certain camera angles render. Seems like it could use something else, but I'm not sure what, this is my first time really using mia_material
Attached Images
File Type: jpg 01.jpg (7.6 KB, 136 views)

Last edited by BrianD24 : 06 June 2009 at 09:43 PM.
  06 June 2009
make sure skip inside reflections is unchecked also
  06 June 2009
Originally Posted by H2: make sure skip inside reflections is unchecked also

Yeah thats unchecked, forgot to mention that one
  06 June 2009
remember its not all about the settings.

take a look at some reference and mimic it, work on your lighting
  06 June 2009
Originally Posted by MAV4d: remember its not all about the settings.

take a look at some reference and mimic it, work on your lighting

Understood, good point. I'm mainly a modeler, trying to get better on the lighting/shaders side of things. Maybe I'm kinda hitting a wall due to being a modeler and theres only so much you can model a simple wine glass. Attempting some GI and other things now, instead of the traditional 3 point lighting.
  06 June 2009

I think that one thing you're missing is reflections/refractions. That is, your "scene" has nothing to refract currently? It looks like the only reflections are your lights...

Glass "in real life" takes much of its color from everything else around it. If it were perfectly clear, it would be perfectly invisible, much like what you're seeing here.

Another option would be to introduce a microscopic-scale bump map to make the glass more uneven or even a bit wavy. But I think using a large sphere with some kind of image mapped to it would help tremendously to start with. Turn off Primary Visibility on the sphere and away you go!
  06 June 2009
Agree with infernal darkness. When shading something like glass its all about the reflections and refractions. So most importantly its about the environment.

I was doing a few tests the other week with mia shaders in conjunction with p_dielectric shader. No lights in this scene just a gradient on a background sphere and another self illuminating sphere off screen to the left to give the highlight.

  06 June 2009
Try thinking in a different way as well, you're trying to recreate a photorealistic scene, a studio shot for a 'catalogue look', right?

Well, when do you see an impossibly clean wine glass sat inside an impossibly clean, glowing hemisphere with invisible lights/camera/cameraman? Never. Add in a couple of tall, skinny self-illuminating white planes (and some very dark ones for contrast) off camera.
  06 June 2009
Man very helpful posts above, thank you, some of it had me hitting my head with my hand because it makes sense, just didn't think of it. Made some nice progress, will post it soon.

Is it unusual that I ended up having a little more success with the older dia_electric material than the mia? It seems to give some really good results, I guess due to the 2 IOR attributes.
  06 June 2009
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

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

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.