<!-- 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.8.12 Atmospheric Effects</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_163.html"><img alt="previous" border="0" src="prev.png"></a> </td> <td align="left" valign="middle" width="30%"> <a href="s_163.html">3.8.11 Media</a> </td> <td align="center" valign="middle"> <strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>3.8.12 Atmospheric Effects</strong> </td> <td align="right" valign="middle" width="30%"> <a href="s_165.html">3.8.13 Global Settings</a> </td> <td align="right" nowrap="" valign="middle" width="32"> <a href="s_165.html"><img alt="next" border="0" src="next.png"></a> </td> </tr> </table> <h3><a name="s03_08_12">3.8.12 </a>Atmospheric Effects</h3> <a name="s03_08_12_i1"><a name="quickref, atmospheric effects"></a><a name="s03_08_12_i2"> <dl class="Syntax"> <dt class="SubDesc"> Describe various background and atmospheric features <dt> ATMOSPHERIC_EFFECT: <dd> <code>MEDIA | BACKGROUND | FOG | SKY_SPHERE | RAINBOW</code> </dl> <p> <a href="s_153.html#s03_08_01">Quick Reference Contents</a> </p> <h4><a name="s03_08_12_01">3.8.12.1 </a>Background</h4> <a name="s03_08_12_01_i1"><a name="quickref, background"></a><a name="s03_08_12_01_i2"> <dl class="Syntax"> <dt class="SubDesc"> Specify a background color for the scene: <dt> BACKGROUND: <dd> <code><strong>background {</strong> COLOR <strong>}</strong></code> </dl> <p> <a href="s_153.html#s03_08_01">Quick Reference Contents</a> </p> <h4><a name="s03_08_12_02">3.8.12.2 </a>Fog</h4> <a name="s03_08_12_02_i1"><a name="quickref, fog"></a><a name="s03_08_12_02_i2"> <dl class="Syntax"> <dt class="SubDesc"> Simulate a hazy or foggy atmosphere: <dt> FOG: <dd class="Jump"> <a href="s_101.html#s03_03_02_03">Jump to SDL</a> <dd> <code>CONSTANT_FOG | GROUND_FOG</code> <dt> CONSTANT_FOG: <dd> <code><strong>fog {</strong> [FOG_IDENTIFIER] [<strong>fog_type 1</strong>] FOG_ITEMS <strong>}</strong></code> <dt> FOG_ITEMS: <dd> <code><strong>distance</strong> FLOAT & COLOR & <a href="s_162.html#s03_08_10_08">[TURBULENCE</a> [<strong>turb_depth</strong> FLOAT]]</code> <dt> GROUND_FOG: <dd> <code><strong>fog {</strong> [FOG_IDENTIFIER] <strong>fog_type 2</strong> GROUND_FOG_ITEMS <strong>}</strong></code> <dt> GROUND_FOG_ITEMS: <dd> <code>FOG_ITEMS & <strong>fog_offset</strong> FLOAT & <strong>fog_alt</strong> FLOAT & [<strong>up</strong> VECTOR [TRANSFORMATION...]]</code> </dl> <p> <a href="s_153.html#s03_08_01">Quick Reference Contents</a> </p> <h4><a name="s03_08_12_03">3.8.12.3 </a>Sky Sphere</h4> <a name="s03_08_12_03_i1"><a name="quickref, sky sphere"></a><a name="s03_08_12_03_i2"> <dl class="Syntax"> <dt class="SubDesc"> Specify a sky pigment: <dt> SKY_SPHERE: <dd> <code><strong>sky_sphere {</strong> [SKY_SPHERE_IDENTIFIER] [SKY_SPHERE_ITEM...] <strong>}</strong></code> <dt> SKY_SPHERE_ITEM: <dd> <code>PIGMENT | TRANSFORMATION</code> </dl> <p> <a href="s_153.html#s03_08_01">Quick Reference Contents</a> </p> <h4><a name="s03_08_12_04">3.8.12.4 </a>Rainbow</h4> <a name="s03_08_12_04_i1"><a name="quickref, rainbow"></a><a name="s03_08_12_04_i2"> <dl class="Syntax"> <dt class="SubDesc"> Specify a rainbow arc: <dt> RAINBOW: <dd class="Jump"> <a href="s_101.html#s03_03_02_05">Jump to SDL</a> <dd> <code><strong>rainbow {</strong> [RAINBOW_IDENTIFIER] [RAINBOW_ITEMS] <strong>}</strong></code> <dt> RAINBOW_ITEMS: <dd> <code><strong>direction</strong> VECTOR & <strong>angle</strong> FLOAT & <strong>width</strong> FLOAT & <strong>distance</strong> FLOAT & <a href="s_162.html#s03_08_10_04">COLOR_MAP</a> & [<strong>jitter</strong> FLOAT] & [<strong>up</strong> VECTOR] & [<strong>arc_angle</strong> FLOAT] & [<strong>falloff_angle</strong> FLOAT]</code> </dl> <p> <a href="s_153.html#s03_08_01">Quick Reference Contents</a> </p> <br> <table class="NavBar" width="100%"> <tr> <td align="left" nowrap="" valign="middle" width="32"> <a href="s_163.html"><img alt="previous" border="0" src="prev.png"></a> </td> <td align="left" valign="middle" width="30%"> <a href="s_163.html">3.8.11 Media</a> </td> <td align="center" valign="middle"> <strong>3.8.12 Atmospheric Effects</strong> </td> <td align="right" valign="middle" width="30%"> <a href="s_165.html">3.8.13 Global Settings</a> </td> <td align="right" nowrap="" valign="middle" width="32"> <a href="s_165.html"><img alt="next" border="0" src="next.png"></a> </td> </tr> </table> </body> </html>