<< >> Up Title

Section parameters

This section defines the parameters which change the execution of the raytracer.

section_param = { . param . { [ def_toll | def_mode | def_shade | def_anti_alias |

def_anti_al_toll | def_dimx | def_dimy | def_ambientcolor | def_backcolor |

def_buildhier | def_modifydef | def_depthmax | def_depthmin |

def_depthback ] } . }

def_toll = toll . number_real . ;

def_mode = mode . number_integer . ;

def_shade = shade . ident . ;

def_anti_alias = anti_alias . number_integer . ;

def_anti_al_toll = anti_al_toll . number_real . ;

def_dimx = dimx . number_integer . ;

def_dimy = dimy . number_integer . ;

def_ambientcolor = ambientcolor . color . ;

def_backcolor = backcolor . color . ;

def_buildhier = buildhier . number_integer . ;

def_modifydef = modifydef . number_integer . ;

def_depthmax = depthmax . number_integer . ;

def_depthmin = depthmin . number_integer . ;

def_depthback = depthback . number_integer . ;

def_toll

definition of the standard tollerance value.

def_mode

max value of ray deviations. 0 == raycasting.

def_shade

type of shading, an identifier recognize from the system. The standard value is "phong".

"phong" uses the phong shading metod.

def_anti_alias

1 if you want to use the adaptive antialiasing, 0 if you don't want it.

def_anti_al_toll

value used in antialiasing.

def_dimx

horizontal dimension ( pixel ) of the image.

def_dimy

vertical dimension ( in pixel ) of the image.

def_ambientcolor

this is the value of ambiental illumination.

def_backcolor

back color, the color used for a pixel in the image when the ray doesn' t match an object.

def_buildhier

1 if you want to build a hierarchy to speed up the intersection calculus, 0 if you don' t want it.

def_modifydef

1 if you want that the program changes the file definition, 0 if you don't want.

def_depthmax

value used to build the depth graph.

It is the maximum value of depth allowed.

def_depthmin

value used to build the depth graph.

It is the minimum value of depth allowed.

def_depthback

value used to build the depth graph.

It is the depth value for pixel of the back.


<< >> Up Title