3.8.3 Language Basics |
POV-Ray 3.6 for UNIX documentation 3.8.4 Language Directives |
3.8.5 Transformations |
INCLUDE_DIRECTIVE | IDENTIFIER_DECLARATION | UNDEF_DIRECTIVE | FOPEN_DIRECTIVE | FCLOSE_DIRECTIVE |
READ_DIRECTIVE | WRITE_DIRECTIVE | DEFAULT_DIRECTIVE | VERSION_DIRECTIVE | IF_DIRECTIVE | IFDEF_DIRECTIVE |
IFNDEF_DIRECTIVE | SWITCH_DIRECTIVE | WHILE_DIRECTIVE | TEXT_STREAM_DIRECTIVE | MACRO_DEFINITION
#include FILE_NAME
STRING
#declare IDENTIFIER = RVALUE [;] |
#local
IDENTIFIER = RVALUE [;]
FLOAT | VECTOR | COLOR | USER_FUNCTION | STRING | ARRAY_REFERENCE | SPLINE | TRANSFORM | CAMERA | LIGHT |
OBJECT | MATERIAL | INTERIOR | TEXTURE | TEXTURE_MAP | PIGMENT | COLOR_MAP | PIGMENT_MAP | NORMAL | SLOPE_MAP |
NORMAL_MAP | FINISH | MEDIA | DENSITY | DENSITY_MAP | FOG | RAINBOW | SKY_SPHERE
#undef IDENTIFIER
#fopen FILE_HANDLE_IDENTIFIER FILE_NAME OPEN_TYPE
read | write | append
#fclose FILE_HANDLE_IDENTIFIER
#read ( FILE_HANDLE_IDENTIFIER, DATA_IDENTIFIER [, DATA_IDENTIFIER]... )
UNDECLARED_IDENTIFIER | FLOAT_IDENTIFIER | VECTOR_IDENTIFIER | STRING_IDENTIFIER | ARRAY_REFERENCE
#write ( FILE_HANDLE_IDENTIFIER, DATA_ITEM [, DATA_ITEM]... )
FLOAT | VECTOR | STRING
#default { DEFAULT_ITEM }
PLAIN_TEXTURE | PIGMENT | NORMAL | FINISH
#version FLOAT;
#if ( BOOL ) TOKENS [#else TOKENS] #end
#ifdef ( IDENTIFIER ) TOKENS [#else TOKENS] #end
#ifndef ( IDENTIFIER ) TOKENS [#else TOKENS] #end
#switch ( FLOAT ) SWITCH_CLAUSE... [#else TOKENS] #end
#case ( FLOAT ) TOKENS [#break] |
#range (
F_LOW, F_HIGH ) TOKENS [#break]
#while ( LOGICAL_EXPRESSION )
TOKENS #end
#debug STRING | #error STRING | #warning STRING
#macro MACRO_IDENTIFIER ( [PARAM_IDENTIFIER [, PARAM_IDENTIFIER]...] )
TOKENS #end
MACRO_IDENTIFIER ( [ACTUAL_PARAM [, ACTUAL_PARAM]...] )
IDENTIFIER | RVALUE
IDENTIFIER_DECLARATION | UNDEF_DIRECTIVE | READ_DIRECTIVE | WRITE_DIRECTIVE | IF_DIRECTIVE |
IFDEF_DIRECTIVE | IFNDEF_DIRECTIVE | SWITCH_DIRECTIVE | WHILE_DIRECTIVE | TEXT_STREAM_DIRECTIVE
3.8.3 Language Basics | 3.8.4 Language Directives | 3.8.5 Transformations |