10.0  Quick References

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.

10.1  SDL Quick Reference

The following syntax conventions are used:

ITEM
An item not in brackets indicates that it is a required item.
[ITEM]
Brackets surround an optional item. If brackets are part of the item, that is noted where applicable.
ITEM...
An ellipsis indicates an item that may be used one or more times.
[ITEM...]
An ellipsis within brackets indicates an item that may be used zero or more times.
ITEM ITEM
Two or more juxtaposed items indicates that they should be used in the given order.
ITEM | ITEM
A pipe separates two or more alternatives from which only one item should be used.
ITEM & ITEM  
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:

F_
A FLOAT item
I_
An INT item
V_
A VECTOR item
V4_ 
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.