POV-Ray : Documentation : 2.8 Quick Reference
  POV-Ray 3.6 Documentation Online View image files (*.png, *.pot, *.df3)   2.8.1 Quick Reference Contents

2.8 Quick Reference

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.

The following syntax conventions are used:

An item not in brackets indicates that it is a required item.
Brackets surround an optional item. If brackets are part of the item, that is noted where applicable.
An ellipsis indicates an item that may be used one or more times.
An ellipsis within brackets indicates an item that may be used zero or more times.
Two or more juxtaposed items indicates that they should be used in the given order.
A pipe separates two or more alternatives from which only one item should be used.
An ampersand separates two or more items that may be used in any order.

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.

rgb 3D_VECTOR | rgbf 4D_VECTOR | rgbt 4D_VECTOR | [rgbft] 5D_VECTOR

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:

A FLOAT item
An INT item
A 4-D VECTOR item

NOTE: 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.

Section Contents image files (*.png, *.pot, *.df3)   2.8.1 Quick Reference Contents

Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.