×
Menu

3.2 Modeling glass

 
In real life, glass objects always have a thickness. Even when really thin, their depth is often not inconsiderable. In order to compute proper refractions, Iray expects light rays to travel through solid geometry.
 
In some cases, the thickness really is negligible. Examples are far-away windows or soap bubbles, cases where refraction effects are no longer visible. In such cases, modeling objects without a thickness is fine, if the materials are set up accordingly. The thin-walled feature of MDL is designed for just this purpose. Remember that refractions will be ignored with this setting enabled.
 
Thin-walled glass material
 
Glass material on a solid geometry
 
Iray will be able to properly compute and render refractions when glass is modeled as a solid geometry. The following example illustrates how important it is to model glass geometries in the exact same way as they appear in real life in order to get an accurate result with Iray.
 
 
Light bulb modeled with a single continuous line. Once the curve is revolved in Maya, the result will be a solid geometry. When rendered with a physical glass material, the bulb will look like its one solid piece of glass.
 
 
To model a realistic bulb, ensure that the hull is one thin layer of glass that always has a thickness. Model a very thin external layer. Note the drastic difference between the solid light bulb above and this version which uses a modelled hull.