Difference between revisions of "Reference:Glass old.inc"

From POV-Wiki
Jump to navigation Jump to search
m (link repair)
 
m (canonicalize a version number)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Include Files]]
 
[[Category:Include Files]]
 
<p>This file contains glass textures for POV-Ray versions 3.1 and earlier.  
 
<p>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
+
These textures do not take advantage of the new features introduced with POV-Ray v3.5 and are
 
included for backwards compatability, you will get better results with the
 
included for backwards compatability, you will get better results with the
 
materials in glass.inc.</p>
 
materials in glass.inc.</p>

Latest revision as of 15:10, 9 June 2021

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 v3.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