Reference:Glass old.inc

From POV-Wiki
Revision as of 14:33, 15 March 2012 by Jholsenback (talk | contribs) (link repair)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This file contains glass textures for POV-Ray versions 3.1 and earlier. These textures do not take advantage of the new features introduced with POV-Ray 3.5 and are included for backwards compatability, you will get better results with the materials in glass.inc.

Note: As of version 3.7 the definitions in glass_old.inc have been deprecated. To suppress warnings generated from using these textures you should consider converting them to materials.

Using the following example:

texture {T_Glass4} interior {I_Glass caustics 1}

should be rewritten as:

material {
  texture {
    pigment { color rgbf <0.98, 1.0, 0.99, 0.75> }
    finish { F_Glass4 }
    }
  interior { I_Glass caustics 1 }
  }
Glass finishes

F_Glass1, ..., F_Glass4

Glass textures
T_Glass1
Simple clear glass.
T_Glass2
More like an acrylic plastic.
T_Glass3
An excellent lead crystal glass.
T_Glass4
T_Old_Glass
T_Winebottle_Glass
T_Beerbottle_Glass
T_Ruby_Glass
T_Green_Glass
T_Dark_Green_Glass
T_Yellow_Glass
T_Orange_Glass
Orange/amber glass.
T_Vicksbottle_Glass