Declare "inkwidth" "uniform float"
Declare "speclevel" "uniform float"

Display "simplecube" "framebuffer" "rgba"
Format 300 300 1
Clipping 0.001 1000
PixelVariance 0.001
Projection "orthographic"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 2 "from" [-2 2 -2] "intensity" [1]
Color [0 0.588235 1]
Surface "tebSimpleCartoon" "inkwidth" 0.4 "speclevel" 0.9

Patch "bilinear" "P" [-1 1 1 1 1 1 -1 -1 1 1 -1 1]

Rotate 35 1 0 0
Rotate 45 0 1 0

Patch "bilinear" "P" 
	[-0.5 -0.5 -0.5  -0.5 0.5 -0.5  0.5 -0.5 -0.5  0.5 0.5 -0.5]
Patch "bilinear" "P" 
	[-0.5 -0.5 0.5  -0.5 0.5 0.5  0.5 -0.5 0.5  0.5 0.5 0.5]
Patch "bilinear" "P" 
	[-0.5 0.5 -0.5  0.5 0.5 -0.5  -0.5 0.5 0.5  0.5 0.5 0.5]
Patch "bilinear" "P" 
	[-0.5 -0.5 -0.5  0.5 -0.5 -0.5  -0.5 -0.5 0.5  0.5 -0.5 0.5]
Patch "bilinear" "P" 
	[-0.5 -0.5 -0.5  -0.5 -0.5 0.5  -0.5 0.5 -0.5  -0.5 0.5 0.5  ]
Patch "bilinear" "P" 
	[0.5 -0.5 -0.5  0.5 -0.5 0.5  0.5 0.5 -0.5  0.5 0.5 0.5  ]

WorldEnd


[Affine Toolkit]
[RIB Utilities] [Bitmap Utilities] [Handy Little Utilities]
[Libraries] [Using the Libraries]