1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
|
<!-- This file copyright Persistence of Vision Raytracer Pty. Ltd. 2003-2004 -->
<html>
<head>
<!-- NOTE: In order to users to help find information about POV-Ray using -->
<!-- web search engines, we ask you to *not* let them index documentation -->
<!-- mirrors because effectively, when searching, users will get hundreds -->
<!-- of results containing the same information! For this reason, the two -->
<!-- meta tags below disable archiving and indexing of this page by all -->
<!-- search engines that support these meta tags. -->
<meta content="noarchive" name="robots">
<meta content="noindex" name="robots">
<meta content="no-cache" http-equiv="Pragma">
<meta content="0" http-equiv="expires">
<title>3.7.8 glass.inc, glass_old.inc</title>
<link href="povray35.css" rel="stylesheet" type="text/css">
</head>
<body>
<table class="NavBar" width="100%">
<tr>
<td align="left" nowrap="" valign="middle" width="32">
<a href="s_138.html"><img alt="previous" border="0" src="prev.png"></a>
</td>
<td align="left" valign="middle" width="30%">
<a href="s_138.html">3.7.7 functions.inc</a>
</td>
<td align="center" valign="middle">
<strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>3.7.8
glass.inc, glass_old.inc</strong>
</td>
<td align="right" valign="middle" width="30%">
<a href="s_140.html">3.7.9 math.inc</a>
</td>
<td align="right" nowrap="" valign="middle" width="32">
<a href="s_140.html"><img alt="next" border="0" src="next.png"></a>
</td>
</tr>
</table>
<h3><a name="s03_07_08">3.7.8 </a>glass.inc, glass_old.inc</h3>
<p>
This file contains glass materials using new features introduced in POV 3.1 and 3.5. The old glass.inc file is
still included for backwards compatibility (it is named glass_old.inc, and is included by glass.inc, so you do not
need to change any scenes), but these materials will give more realistic results.
</p>
<h4><a name="s03_07_08_01">3.7.8.1 </a>Glass colors (with transparency)</h4>
<table cellpadding="5" cellspacing="5" summary="glass.inc glass colors with transparency" width="100%">
<tr valign="top">
<td width="33%">
<code> Col_Glass_Beerbottle<br> Col_Glass_Bluish<br> Col_Glass_Clear<br> Col_Glass_Dark_Green<br> </code>
</td>
<td width="33%">
<code> Col_Glass_General<br> Col_Glass_Green<br> Col_Glass_Old<br> Col_Glass_Orange<br> </code>
</td>
<td width="33%">
<code> Col_Glass_Ruby<br> Col_Glass_Vicksbottle<br> Col_Glass_Winebottle<br> Col_Glass_Yellow<br> </code>
</td>
</tr>
</table>
<h4><a name="s03_07_08_02">3.7.8.2 </a>Glass colors (without transparency, for fade_color)</h4>
<table cellpadding="5" cellspacing="5" summary="glass.inc glass colors without transparency for fade_color" width="100%">
<tr valign="top">
<td width="33%">
<code> Col_Amber_01<br> Col_Amber_02<br> Col_Amber_03<br> Col_Amber_04<br> Col_Amber_05<br> </code>
</td>
<td width="33%">
<code> Col_Amber_06<br> Col_Amber_07<br> Col_Amber_08<br> Col_Amber_09<br> Col_Amethyst_01<br> </code>
</td>
<td width="33%">
<code> Col_Amethyst_02<br> Col_Amethyst_03<br> Col_Amethyst_04<br> Col_Amethyst_05<br>
Col_Amethyst_06<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Apatite_01<br> Col_Apatite_02<br> Col_Apatite_03<br> Col_Apatite_04<br> Col_Apatite_05<br> </code>
</td>
<td>
<code> Col_Aquamarine_01<br> Col_Aquamarine_02<br> Col_Aquamarine_03<br> Col_Aquamarine_04<br> Col_Aquamarine_05<br>
</code>
</td>
<td>
<code> Col_Aquamarine_06<br> Col_Azurite_01<br> Col_Azurite_02<br> Col_Azurite_03<br> Col_Azurite_04<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Beerbottle<br> Col_Blue_01<br> Col_Blue_02<br> Col_Blue_03<br> Col_Blue_04<br> </code>
</td>
<td>
<code> Col_Citrine_01<br> Col_Dark_Green<br> Col_Emerald_01<br> Col_Emerald_02<br> Col_Emerald_03<br> </code>
</td>
<td>
<code> Col_Emerald_04<br> Col_Emerald_05<br> Col_Emerald_06<br> Col_Emerald_07<br> Col_Fluorite_01<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Fluorite_02<br> Col_Fluorite_03<br> Col_Fluorite_04<br> Col_Fluorite_05<br> Col_Fluorite_06<br> </code>
</td>
<td>
<code> Col_Fluorite_07<br> Col_Fluorite_08<br> Col_Fluorite_09<br> Col_Green<br> Col_Green_01<br> </code>
</td>
<td>
<code> Col_Green_02<br> Col_Green_03<br> Col_Green_04<br> Col_Gypsum_01<br> Col_Gypsum_02<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Gypsum_03<br> Col_Gypsum_04<br> Col_Gypsum_05<br> Col_Gypsum_06<br> Col_Orange<br> </code>
</td>
<td>
<code> Col_Red_01<br> Col_Red_02<br> Col_Red_03<br> Col_Red_04<br> Col_Ruby<br> </code>
</td>
<td>
<code> Col_Ruby_01<br> Col_Ruby_02<br> Col_Ruby_03<br> Col_Ruby_04<br> Col_Ruby_05<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Sapphire_01<br> Col_Sapphire_02<br> Col_Sapphire_03<br> Col_Topaz_01<br> Col_Topaz_02<br> </code>
</td>
<td>
<code> Col_Topaz_03<br> Col_Tourmaline_01<br> Col_Tourmaline_02<br> Col_Tourmaline_03<br> Col_Tourmaline_04<br> </code>
</td>
<td>
<code> Col_Tourmaline_05<br> Col_Tourmaline_06<br> Col_Vicksbottle<br> Col_Winebottle<br> Col_Yellow<br> </code>
</td>
</tr>
<tr valign="top">
<td>
<code> Col_Yellow_01<br> Col_Yellow_02<br> Col_Yellow_03<br> Col_Yellow_04<br> </code>
</td>
<td>
<code> </code>
</td>
<td>
<code> </code>
</td>
</tr>
</table>
<h4><a name="s03_07_08_03">3.7.8.3 </a>Glass finishes</h4>
<code>F_Glass5, ..., F_Glass10</code>
<h4><a name="s03_07_08_04">3.7.8.4 </a>Glass interiors</h4>
<dl>
<dt>
<code>I_Glass1, ..., I_Glass4</code>
<dd>
<code>I_Glass_Fade_Sqr1</code> (identical to <code>I_Glass1</code>)
<dd>
<code>I_Glass_Fade_Exp1</code> (identical to <code>I_Glass2</code>)
<dd>
<code>I_Glass_Fade_Exp2</code> (identical to <code>I_Glass3</code>)
<dd>
<code>I_Glass_Fade_Exp3</code> (identical to <code>I_Glass4</code>)
<dd>
Glass interiors with various fade_power settings.
<dt>
<code>I_Glass_Dispersion1, I_Glass_Dispersion2</code>
<dd>
Glass interiors with dispersion. <code>I_Glass_Dispersion1</code> has an approximately natural glass dispersion. <code>I_Glass_Dispersion2</code>
is exaggerated.
<dt>
<code>I_Glass_Caustics1, I_Glass_Caustics2</code>
<dd>
Glass interiors with caustics.
</dl>
<h4><a name="s03_07_08_05">3.7.8.5 </a>Glass interior macros</h4>
<p>
<code>I_Glass_Exp(Distance)</code> and <code>I_Glass_Sqr(Distance)</code>.<br> These macros return an interior with
either exponential or fade_power 2 falloff, and a fade_distance of Distance.
</p>
<h4><a name="s03_07_08_06">3.7.8.6 </a>glass_old.inc</h4>
<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 included for backwards compatability, you will get better results
with the materials in glass.inc.
</p>
<p>
These textures are designed to be used with the I_Glass interior, also defined in this file.
</p>
<h5><a name="s03_07_08_06_01">3.7.8.6.1 </a>Glass finishes</h5>
<p>
<code>F_Glass1, ..., F_Glass4</code>
</p>
<h5><a name="s03_07_08_06_02">3.7.8.6.2 </a>Glass textures</h5>
<dl>
<dt>
<code>T_Glass1</code>
<dd>
Simple clear glass.
<dt>
<code>T_Glass2</code>
<dd>
More like an acrylic plastic.
<dt>
<code>T_Glass3</code>
<dd>
An excellent lead crystal glass.
<dt>
<code>T_Glass4</code>
<dt>
<code>T_Old_Glass</code>
<dt>
<code>T_Winebottle_Glass</code>
<dt>
<code>T_Beerbottle_Glass</code>
<dt>
<code>T_Ruby_Glass</code>
<dt>
<code>T_Green_Glass</code>
<dt>
<code>T_Dark_Green_Glass</code>
<dt>
<code>T_Yellow_Glass</code>
<dt>
<code>T_Orange_Glass</code>
<dd>
Orange/amber glass.
<dt>
<code>T_Vicksbottle_Glass</code>
</dl>
<br>
<table class="NavBar" width="100%">
<tr>
<td align="left" nowrap="" valign="middle" width="32">
<a href="s_138.html"><img alt="previous" border="0" src="prev.png"></a>
</td>
<td align="left" valign="middle" width="30%">
<a href="s_138.html">3.7.7 functions.inc</a>
</td>
<td align="center" valign="middle">
<strong>3.7.8 glass.inc, glass_old.inc</strong>
</td>
<td align="right" valign="middle" width="30%">
<a href="s_140.html">3.7.9 math.inc</a>
</td>
<td align="right" nowrap="" valign="middle" width="32">
<a href="s_140.html"><img alt="next" border="0" src="next.png"></a>
</td>
</tr>
</table>
</body> </html>
|