Welcome to CGarchitect.com Untitled Document

Go Back   CGarchitect.com > 3D SOFTWARE > Mental Ray

Notices

Mental Ray Mental Images Mental Ray (Standalone & application integrated versions)

Reply
 
LinkBack Thread Tools Display Modes
Old February 10th, 2008   #1 (permalink)
Member
 
Join Date: May 2005
Location: Chicago
Posts: 67

Name: smr VIZ


United_States 


Default Glass material: which slot determine the glass color

In MR, there are several Arch & Design preset materials. I have some questions for the solid glass material. I guess in theory, the refaction will determine the glass color. So I gave a color to the color slot in refaction area. But Now I am confused. What is the role for the diffuse color. If I assign a color to the diffuse slot, it will also influence the glass color.

Does it mean the diffuse determine the original glass color. The refraction decide the glass color after the light pass through it?

Guys, please enlighten me if you have clues.
smr_VIZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 10th, 2008   #2 (permalink)
Veteran Member
 
Justin Hunt's Avatar
 
Join Date: Jan 2005
Location: Brisbane
Age: 33
Posts: 1,366

Name: Justin Hunt


Australia 


Default Re: Glass material: which slot determine the glass color

yes, if you really want to get into it, look at the advanced rendering tab, there are more refraction options. The max depth colour is great, although you have to change the shadow type from simple to segment to get the full effect. Although keep an eye out for shadow artifacting when rendering with segment.

JHV
Justin Hunt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 11th, 2008   #3 (permalink)
Senior Member
 
Brian Bradley's Avatar
 
Join Date: Sep 2005
Location: Greater Manchester
Age: 43
Posts: 422

Name: Brian Bradley


United Kingdom 


Default Re: Glass material: which slot determine the glass color

Hi James,

Something you have to keep in mind is the fact that
the A&D shader is designed for physical correctness.

Diffuse, reflection, refraction (transparency) are all
interacting with one another. If an object is opaque
with a matte surface then most of the look will come
from the diffuse slot. if it is completely see
through (glass) then the diffuse slot has little or no
effect at all and colours are derived from the light
passing though the medium.

Massively simplified I know, but the basic principle is
there. :-)

Regards
Bri
__________________
3Ds Max - Mental Ray - VRay - Brazil Training Modules
www.mentalboutmax.co.uk
The MBM Blog
www.mentalboutmax.blogspot.com
Vray Learning Resource
www.vrayelite.com
Brian Bradley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 11th, 2008   #4 (permalink)
Member
 
MasterZap's Avatar
 
Join Date: May 2006
Location: Eskilstuna
Posts: 70

Name: Håkan Andersson


Sweden 


Default Re: Glass material: which slot determine the glass color

The diffuse isn't related to the *transparency* of the glass, but the glass surfaces diffuse reflectance (if any).

Now, which one of these are the "color" of the glass is rather a semantical question. "Depends on what you mean when you say color", basically.

Glass may indeed have small small amount of diffuse reflectance, but in general you would have the diffuse amount spinner set to 0 for glass.

Glass may, however, often have a little bit of translucency. I generally recommend to turn on translucency for glass, set the weight to about 0.1 and the translucency color to white (wince this is filtered "through" any "refraction color" you put in).

The "refraction color" is *normally* the "glass color", but in real, physical glass the "color" of glass comes from internal absorbtion. In most cases (especially uniformly thick window panes) the difference between these two doesn't matter.

But basically, you put the "glass color" *either* in the "refraction color" OR in the "max depth color" in the refraction section advanced options.

However... since all this is mentioned in the manual.. why do you ask

/Z

Quote:
Originally Posted by smr_VIZ View Post
In MR, there are several Arch & Design preset materials. I have some questions for the solid glass material. I guess in theory, the refaction will determine the glass color. So I gave a color to the color slot in refaction area. But Now I am confused. What is the role for the diffuse color. If I assign a color to the diffuse slot, it will also influence the glass color.

Does it mean the diffuse determine the original glass color. The refraction decide the glass color after the light pass through it?

Guys, please enlighten me if you have clues.
__________________
mentalraytips.blogspot.com - mr Zap Andersson - a completely mental shader guy
MasterZap is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 11th, 2008   #5 (permalink)
Member
 
Join Date: May 2005
Location: Chicago
Posts: 67

Name: smr VIZ


United_States 


Default Re: Glass material: which slot determine the glass color

Wow. All these are great explanations from different areas. I like it. Thank you, guys.

Quote:
Originally Posted by MasterZap View Post

I generally recommend to turn on translucency for glass, set the weight to about 0.1 and the translucency color to white (wince this is filtered "through" any "refraction color" you put in).

/Z
MasterZap: In Falloff map, the black color will allow the light pass through it. The white color won't. But you put white in translucency. Are you sure? I will do a small test later.
smr_VIZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 12th, 2008   #6 (permalink)
Veteran Member
 
Join Date: Aug 2006
Location: Manchester
Age: 22
Posts: 741

Name: Dave Buckley


England  Send a message via MSN to daveb867


Default Re: Glass material: which slot determine the glass color

zap's method works a treat, that is the method that i tend to use when creating glass materials using the a&d shader, i'm just rendering a couple of examples of a standard wine glass model using zap's technique for colouring the glass, will post them when they are complete.

my machine is rubbishly slow and not very high spec, plus i'm at work so should be doing work they won't be too long tho and hopefully you will be able to see how nice the glass can look when using these techniques.

the next step for extra realism would be for my to incorporate some hdri into my scene, the scene i have used is just lit with two sky portals as area lights with the opiton to make them visible turned on
daveb867 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 12th, 2008   #7 (permalink)
Veteran Member
 
Join Date: Aug 2006
Location: Manchester
Age: 22
Posts: 741

Name: Dave Buckley


England  Send a message via MSN to daveb867


Default Re: Glass material: which slot determine the glass color

and as promised

this is the a&d solid glass preset, with the diffuse set to 0

translucency on, set to 0.1, and set colour to white

then clear glass has refraction colour set to white

and coloured glass has refraction colour set to the blue colour you can see
Attached Images
File Type: jpg clear glass.jpg (4.6 KB, 34 views)
File Type: jpg coloured glass.jpg (6.2 KB, 41 views)
daveb867 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 12th, 2008   #8 (permalink)
Veteran Member
 
Join Date: Aug 2006
Location: Manchester
Age: 22
Posts: 741

Name: Dave Buckley


England  Send a message via MSN to daveb867


Default Re: Glass material: which slot determine the glass color

and another quick test using the same technique only this time i have used the physical glass preset, and incorporated caustics to see what effect the transparency colour has on the caustic effect
Attached Images
File Type: jpg coloured glass and caustics.jpg (8.7 KB, 44 views)
daveb867 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 13th, 2008   #9 (permalink)
Veteran Member
 
Join Date: Aug 2006
Location: Manchester
Age: 22
Posts: 741

Name: Dave Buckley


England  Send a message via MSN to daveb867


Default Re: Glass material: which slot determine the glass color

i've just been playing with the transparency colour to add detail to the glass such as logo's etc, it works, however i feel there is something not quite right about the rendering but i can't figure out what it is?

if anybody can spot something to make this rendering better then please feel free to say so
Attached Files
File Type: zip closeupglass.zip (133.4 KB, 20 views)
daveb867 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old February 16th, 2008   #10 (permalink)
Member
 
Join Date: May 2005
Location: Chicago
Posts: 67

Name: smr VIZ


United_States 


Default Re: Glass material: which slot determine the glass color

daveb:

I like your small tests. I used to do this too.

Did you have a test for architectural glass put in a scene? If you like, how about we share what we have so far? I am pretty OK with VRay, but very basic in MR for now. Since my firm don't have VRay, so I will spend more time in MR.
smr_VIZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
glass material: comparing Max vs VRay smr_VIZ VRay Render 0 November 26th, 2007 09:12 AM
where I can assign glass color for ARCH material smr_VIZ Mental Ray 1 November 1st, 2007 11:28 AM
mental ray: glass material smr_VIZ Mental Ray 1 September 17th, 2007 05:04 PM
mr problem with glass mr material with dielectric msamer 3ds Max 9 April 6th, 2006 11:34 AM
Glass material hajer Tips, Techniques and Frequently Asked Questions 26 February 3rd, 2003 05:01 AM


All times are GMT -7. The time now is 09:33 AM.





Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
© Copyright 2001 – 2008 CGarchitect Digital Media Corp. All Rights Reserved.