Parameters(YART)

Save paper! Don't print out this manpage.

PARAMETER
Instead of the curly brackets you should use "..." if there is any semantics inside the list, e.g. ax -translate "[sin a] 0 [cos a]" For more information see Tcl documentation.

  Attribute
The name of an attribute type like Resolution.

  Callback
The name of a callback procedure.

  Class
A name of a C++/Tcl class such as Object, Primitive, Scene, etc.

  Color
{ c.r c.g c.b } - Three floating numbers in double precision in the range 0 - 1.

  Double
A floating point value in double precision.

  Facet
List of integers. { i1 i2 i3 i4 ...}

  Facet_list
List of facets. { F1 F2 ...} { { i1 i2 i3} {i2 i4 i1} ...}

  File
File identifier such as stderr, stdout, ...

  Font
Name of a YART font.

  Integer
A simple integer.

  Mapping
A name of an object that provides Texture- or Bump-Mapping.

  Matrix
Translation { 1 0 0 tx
   0 1 0 ty
   0 0 1 tz
   0 0 0 1} Scaling { sx 0 0 0
   0 sy 0 0
   0 0 sz 0
   0 0 0 1} x-Rotation (c = cos( a ), s = sin( a )) { 1 0 0 0
   0 +c -s 0
   0 +s -c 0
   0 0 0 1} y-Rotation (c = cos( a ), s = sin( a )) { +c 0 +s 0
   0 1 0 0
  +s 0 +c 0
   0 0 0 1} z-Rotation (c = cos( a ), s = sin( a )) { +c -s 0 0
  +s +c 0 0
   0 0 1 0
   0 0 0 1}

  Object
Name of a C++ object.

  Object_List
List of names of C++ objects.

  String
Any Tcl-String

  String_List
Any Tcl-String optionally consisting of more items than one.

  Surface
(d = diffuse, s = specular, e = emission, t = transmission, r = refraction, sh = shininess, sf = specular function) { d s e t r sh [sf]} { { d.r d.g d.b} {s.r s.g s.b} {e.r e.g e.b} t r sh [sf]} d, s and e are of type Vector, each component in the range 0 - 1 t, r, sh are doubles. sf is an ASCII string and optional.

  Surface_List
{ S1 S2 S3 } S1, S2 and S3 are surfaces. An empty surface list is {}.

  Vector
{ v.x v.y v.z }

  Vector_List
{ v1 v2 .. } { {v1.x v1.y v1.z} {v2.x v2.y v2.z} .. } An empty vector list is {}.

AUTHOR

ekki@prakinf.tu-ilmenau.de