File: s_152.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 (323 lines) | stat: -rw-r--r-- 8,698 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
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

<!--  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 Quick Reference</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_151.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_151.html">3.7.20 Other files</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>3.8 
   Quick Reference</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_153.html">3.8.1 Quick Reference Contents</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_153.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 
<h2><a name="s03_08">3.8 </a>Quick Reference</h2>

<p>
  This is a consolidation of the entire syntax for the POV-Ray's Scene Description Language. Note that the syntax 
 conventions used here are slightly different than those used in the user documentation.<a name="s03_08_i1"><a name="quickref"></a> 
 
</p>

<p>
  The following syntax conventions are used: 
</p>

<dl class="Explain">
 
 <dt>
   <code>ITEM</code> 
 <dd>
   An item not in brackets indicates that it is a required item. 
 <dt>
   <code>[ITEM]</code> 
 <dd>
   Brackets surround an optional item. If brackets are part of the item, that is noted where applicable. 
 <dt>
   <code>ITEM...</code> 
 <dd>
   An ellipsis indicates an item that may be used one or more times. 
 <dt>
   <code>[ITEM...]</code> 
 <dd>
   An ellipsis within brackets indicates an item that may be used zero or more times. 
 <dt>
   <code>ITEM&nbsp;ITEM</code> 
 <dd>
   Two or more juxtaposed items indicates that they should be used in the given order. 
 <dt>
   <code>ITEM&nbsp;|&nbsp;ITEM</code> 
 <dd>
   A pipe separates two or more alternatives from which only one item should be used. 
 <dt>
   <code>ITEM&nbsp;&amp;&nbsp;ITEM&nbsp;&nbsp;</code> 
 <dd>
   An ampersand separates two or more items that may be used in any order. 
</dl>

<p>
  Juxtaposition has precedence over the pipe or ampersand. In the following example, you would select one of the 
 keyword and vector pairs. For that last pair, the keyword itself is optional. 
</p>

<p class="Explain">
  <strong><code>rgb</code></strong>&nbsp;3D_VECTOR | <strong><code>rgbf</code></strong>&nbsp;4D_VECTOR 
 | <strong><code>rgbt</code></strong>&nbsp;4D_VECTOR | [<strong><code>rgbft</code></strong>]&nbsp;5D_VECTOR 
</p>

<p>
  Some item names are simply descriptive in nature. An indication of the item's type is given by a prefix on the item 
 name, as follows: 
</p>

<dl class="Explain" compact="">
 
 <dt>
   <code>F_</code> 
 <dd>
   A FLOAT item 
 <dt>
   <code>I_</code> 
 <dd>
   An INT item 
 <dt>
   <code>V_</code> 
 <dd>
   A VECTOR item 
 <dt>
   <code>V4_&nbsp;</code> 
 <dd>
   A 4-D VECTOR item 
</dl>

<p class="Note">
  <em>NOTE:</em> this document provides only the syntax of the Scene Description Language (SDL). The 
 intent is to provide a single reference for all statements and keywords. It does not provide definitions for the 
 numerous keywords nor explain their usage. 
</p>

<p><strong>
 Section Contents
</strong>

<ul>
 
 <li>
  <a href="s_153.html#s03_08_01">3.8.1 Quick Reference Contents</a>
 <li>
  <a href="s_154.html#s03_08_02">3.8.2 The Scene</a>
 <li>
  <a href="s_155.html#s03_08_03">3.8.3 Language Basics</a>
  <ul>
   
   <li>
    <a href="s_155.html#s03_08_03_01">3.8.3.1 Floats</a>
   <li>
    <a href="s_155.html#s03_08_03_02">3.8.3.2 Vectors</a>
   <li>
    <a href="s_155.html#s03_08_03_03">3.8.3.3 Colors</a>
   <li>
    <a href="s_155.html#s03_08_03_04">3.8.3.4 User defined Functions</a>
   <li>
    <a href="s_155.html#s03_08_03_05">3.8.3.5 Strings</a>
   <li>
    <a href="s_155.html#s03_08_03_06">3.8.3.6 Arrays</a>
   <li>
    <a href="s_155.html#s03_08_03_07">3.8.3.7 Splines</a>
  </ul>

 <li>
  <a href="s_156.html#s03_08_04">3.8.4 Language Directives</a>
  <ul>
   
   <li>
    <a href="s_156.html#s03_08_04_01">3.8.4.1 File Inclusion</a>
   <li>
    <a href="s_156.html#s03_08_04_02">3.8.4.2 Identifier Declaration</a>
   <li>
    <a href="s_156.html#s03_08_04_03">3.8.4.3 File Input/Output</a>
   <li>
    <a href="s_156.html#s03_08_04_04">3.8.4.4 Default Texture</a>
   <li>
    <a href="s_156.html#s03_08_04_05">3.8.4.5 Version Identfier</a>
   <li>
    <a href="s_156.html#s03_08_04_06">3.8.4.6 Control Flow Directives</a>
   <li>
    <a href="s_156.html#s03_08_04_07">3.8.4.7 Message Streams</a>
   <li>
    <a href="s_156.html#s03_08_04_08">3.8.4.8 Macro</a>
   <li>
    <a href="s_156.html#s03_08_04_09">3.8.4.9 Embedded Directives</a>
  </ul>

 <li>
  <a href="s_157.html#s03_08_05">3.8.5 Transformations</a>
 <li>
  <a href="s_158.html#s03_08_06">3.8.6 Camera</a>
 <li>
  <a href="s_159.html#s03_08_07">3.8.7 Lights</a>
  <ul>
   
   <li>
    <a href="s_159.html#s03_08_07_01">3.8.7.1 Lightgroup</a>
  </ul>

 <li>
  <a href="s_160.html#s03_08_08">3.8.8 Objects</a>
  <ul>
   
   <li>
    <a href="s_160.html#s03_08_08_01">3.8.8.1 Finite Solid Objects</a>
   <li>
    <a href="s_160.html#s03_08_08_02">3.8.8.2 Finite Patch Objects</a>
   <li>
    <a href="s_160.html#s03_08_08_03">3.8.8.3 Infinite Solid Objects</a>
   <li>
    <a href="s_160.html#s03_08_08_04">3.8.8.4 Isosurface</a>
   <li>
    <a href="s_160.html#s03_08_08_05">3.8.8.5 Parametric</a>
   <li>
    <a href="s_160.html#s03_08_08_06">3.8.8.6 CSG</a>
  </ul>

 <li>
  <a href="s_161.html#s03_08_09">3.8.9 Object Modifiers</a>
  <ul>
   
   <li>
    <a href="s_161.html#s03_08_09_01">3.8.9.1 UV Mapping</a>
   <li>
    <a href="s_161.html#s03_08_09_02">3.8.9.2 Material</a>
   <li>
    <a href="s_161.html#s03_08_09_03">3.8.9.3 Interior</a>
   <li>
    <a href="s_161.html#s03_08_09_04">3.8.9.4 Interior Texture</a>
  </ul>

 <li>
  <a href="s_162.html#s03_08_10">3.8.10 Texture</a>
  <ul>
   
   <li>
    <a href="s_162.html#s03_08_10_01">3.8.10.1 Plain Texture</a>
   <li>
    <a href="s_162.html#s03_08_10_02">3.8.10.2 Layered Texture</a>
   <li>
    <a href="s_162.html#s03_08_10_03">3.8.10.3 Patterned Texture</a>
   <li>
    <a href="s_162.html#s03_08_10_04">3.8.10.4 Pigment</a>
   <li>
    <a href="s_162.html#s03_08_10_05">3.8.10.5 Normal</a>
   <li>
    <a href="s_162.html#s03_08_10_06">3.8.10.6 Finish</a>
   <li>
    <a href="s_162.html#s03_08_10_07">3.8.10.7 Pattern</a>
   <li>
    <a href="s_162.html#s03_08_10_08">3.8.10.8 Pattern Modifiers</a>
  </ul>

 <li>
  <a href="s_163.html#s03_08_11">3.8.11 Media</a>
 <li>
  <a href="s_164.html#s03_08_12">3.8.12 Atmospheric Effects</a>
  <ul>
   
   <li>
    <a href="s_164.html#s03_08_12_01">3.8.12.1 Background</a>
   <li>
    <a href="s_164.html#s03_08_12_02">3.8.12.2 Fog</a>
   <li>
    <a href="s_164.html#s03_08_12_03">3.8.12.3 Sky Sphere</a>
   <li>
    <a href="s_164.html#s03_08_12_04">3.8.12.4 Rainbow</a>
  </ul>

 <li>
  <a href="s_165.html#s03_08_13">3.8.13 Global Settings</a>
  <ul>
   
   <li>
    <a href="s_165.html#s03_08_13_01">3.8.13.1 Radiosity</a>
   <li>
    <a href="s_165.html#s03_08_13_02">3.8.13.2 Photons</a>
  </ul>

</ul>
 <br> 
<table class="NavBar" width="100%">
  
 <tr>
   
  <td align="left" nowrap="" valign="middle" width="32">
    <a href="s_151.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_151.html">3.7.20 Other files</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong>3.8 Quick Reference</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_153.html">3.8.1 Quick Reference Contents</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_153.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 </body> </html>