File: s_159.html

package info (click to toggle)
povray 1%3A3.6.1-12
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 31,084 kB
  • ctags: 20,310
  • sloc: ansic: 110,032; cpp: 86,573; sh: 13,595; pascal: 5,942; asm: 2,994; makefile: 1,753; ada: 1,637
file content (189 lines) | stat: -rw-r--r-- 5,545 bytes parent folder | download | duplicates (2)
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

<!--  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.7 Lights</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_158.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_158.html">3.8.6 Camera</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>3.8.7 
   Lights</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_160.html">3.8.8 Objects</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_160.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 
<h3><a name="s03_08_07">3.8.7 </a>Lights</h3>
<a name="s03_08_07_i1"><a name="quickref, lights"></a><a name="s03_08_07_i2">
<dl class="Syntax">
 
 <dt class="SubDesc">
   Specify light sources for the scene or for specific objects 
 <dt>
   LIGHT: 
 <dd>
   <code>LIGHT_SOURCE | LIGHT_GROUP</code> 
</dl>

<dl class="Syntax">
 
 <dt class="SubDesc">
   Describe the position, type and properties of a light source for the scene: 
 <dt>
   LIGHT_SOURCE: 
 <dd class="Jump">
   <a href="s_111.html#s03_04_07">Jump to SDL</a> 
 <dd>
   <code><strong>light_source {</strong> V_LOCATION, COLOR [LIGHT_SOURCE_ITEMS] <strong>}</strong></code> 
 <dt>
   LIGHT_SOURCE_ITEMS: 
 <dd>
   <code>[LIGHT_TYPE] &amp; [AREA_LIGHT_ITEMS] &amp; [LIGHT_MODIFIERS]</code> 
 <dt>
   LIGHT_TYPE: 
 <dd>
   <code><strong>spotlight</strong>&nbsp;[SPOTLIGHT_ITEMS] | <strong>cylinder</strong>&nbsp;[SPOTLIGHT_ITEMS]</code> 
 <dt>
   SPOTLIGHT_ITEMS: 
 <dd>
   <code>[<strong>radius</strong>&nbsp;FLOAT] &amp; [<strong>falloff</strong>&nbsp;FLOAT] &amp; [<strong>tightness</strong>&nbsp;FLOAT] 
  &amp; [<strong>point_at</strong>&nbsp;VECTOR]</code> 
 <dt>
   AREA_LIGHT_ITEMS: 
 <dd>
   <code><strong>area_light</strong> V_AXIS1, V_AXIS2, I_SIZE1, I_SIZE2 [AREA_LIGHT_MODIFIERS]</code> 
 <dt>
   AREA_LIGHT_MODIFIERS: 
 <dd>
   <code>[<strong>adaptive</strong>&nbsp;INT] &amp; [<strong>jitter</strong>] &amp; [<strong>circular</strong>] 
  &amp; [<strong>orient</strong>]</code> 
 <dt>
   LIGHT_MODIFIERS: 
 <dd>
   <code>[LIGHT_PHOTONS] &amp; [<strong>looks_like&nbsp;{</strong>&nbsp;OBJECT&nbsp;<strong>}</strong>] &amp; 
  [TRANSFORMATION...] &amp; [<strong>fade_distance</strong>&nbsp;FLOAT] &amp; [<strong>fade_power</strong>&nbsp;FLOAT] 
  &amp; [<strong>media_attenuation</strong>&nbsp;[BOOL]] &amp; [<strong>media_interaction</strong>&nbsp;[BOOL]] &amp; [<strong>shadowless</strong>] 
  &amp; [<strong>projected_through&nbsp;{</strong>&nbsp;OBJECT_IDENTIFIER&nbsp;<strong>}</strong>] &amp; [<strong>parallel</strong>&nbsp;[<strong>point_at</strong>&nbsp;VECTOR]]</code> 
  
</dl>

<dl class="Syntax">
 
 <dt class="SubDesc">
   Specify how a light source should interact with photons: 
 <dt>
   LIGHT_PHOTONS: 
 <dd>
   <code><strong>photons {</strong> LIGHT_PHOTON_ITEMS <strong>}</strong></code> 
 <dt>
   LIGHT_PHOTON_ITEMS: 
 <dd>
   <code>[<strong>refraction</strong>&nbsp;BOOL] &amp; [<strong>reflection</strong>&nbsp;BOOL] &amp; [<strong>area_light</strong>]</code> 
  
</dl>

<p>
  <a href="s_153.html#s03_08_01">Quick Reference Contents</a> 
</p>

<h4><a name="s03_08_07_01">3.8.7.1 </a>Lightgroup</h4>
<a name="s03_08_07_01_i1"><a name="quickref, lightgroup"></a><a name="s03_08_07_01_i2">
<dl class="Syntax">
 
 <dt class="SubDesc">
   Assign objects to specific light sources: 
 <dt>
   LIGHT_GROUP: 
 <dd class="Jump">
   <a href="s_112.html#s03_04_08">Jump to SDL</a> 
 <dd>
   <code><strong>light_group {</strong> LIGHT_GROUP_ITEM... [LIGHT_GROUP_MODIFIERS] <strong>}</strong></code> 
 <dt>
   LIGHT_GROUP_ITEM: 
 <dd>
   <code>LIGHT_SOURCE | OBJECT | LIGHT_GROUP</code> 
 <dt>
   LIGHT_GROUP_MODIFIERS: 
 <dd>
   <code>[<strong>global_lights</strong> BOOL] &amp; [TRANSFORMATION...]</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_158.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_158.html">3.8.6 Camera</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong>3.8.7 Lights</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_160.html">3.8.8 Objects</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_160.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 </body> </html>