next up previous
Next: Comment lines and blank Up: g4.prim format version 2.4 Previous: Introduction

3D Data and rendering commands

Each 3D data begins with a character '/' (slash). For example, a box is described as:

     /Box  0.5 0.5 0.5

where the 0.5's are half lengths of edges. On the other hand, each rendering command for DAWN begins with a character '!' (exclamation mark). For example,

     !DrawAll

is a command to request DAWN to flush drawing. Each 3D data and rendering command need not begin at the first column of the line, i.e., indentation is allowed.



Satoshi Tanaka
4/9/1998