0 1 -2 (1 + 2) ; 3 int(10 / 3) ; 3
0.0 1.5 (1 + 2.1) ; 3.1 log(2) ; 0.6931
0 0 0 ; black 1 1 1 ; white 1 0 0 ; red white red mono 0.5 ; medium gray
0 0 0 ; world origin 10 5 1 1 (2 + 1) (10 * sin(0.1)) ; 1 3 0.0175 normvector(1.1 2.5 -2.3) ; 0.3081 0.7001 -0.6441 addvector(1 2 3, 4 5 6) ; 5 7 9
(1 + 2) ; 3 (1 - 2) ; -1 (1 * 2) ; 2 (1 / 2) ; 0.5 (1 ^ 2) ; 1.0 (5 | 3) ; 2
tan(dtor(45)) ; 1.0 rtod(atan(1)) ; 45 degrees log(exp(2)) ; 2 abs(-1.5) ; 1.5 max(0, 1) ; 1 dotvector(1 0 0, 0 1 0) ; 0.0 scalevector(1 0 0, 2) ; 2 0 0 scalevector(2 2 2, 1 2 3) ; 2 4 6 crossvector(1 0 0, 0 1 0) ; 0 0 1
eye 5 1 1 look 0 1 0 ; default up is 0 1 0 fov rtod(atan(320.0 / 200.0 * tan(dtor(15)))) 15 ; 23.21 15
background white ambient mono 0.2
light point 2 6 1 yellow light directional -1 -1 -1 ; white light spot 0 5 0 0 -1 0 red 30 2 ; smooth 30 degrees spot light extended -3 5 3 green 0.5 8 ; 0.5 radius light sphere light linear 1 8 3 white 0 0 2 32 ; white linear light light planar 9 1 8 blue 1 0 0 0 0 1 8 8 ; blue square light
eye 7 5 0 at 0 0 fov 30 background white sphere surface matte mono 0.8 data 0 3 0 1 cylinder surface matte mono 0.7 data 2 0 2 2 2 2 0.2 box surface matte white data 0 0 0 5 0.01 5 light ...
surface blue mono 0.7 mono 0.3 15 0.7 ; matte surface strauss brown mono 0.9 mono 0.1 ; matte surface matte red ; 100% matte surface plastic beige mono 0.8 0.5 ; plastic surface metal white mono 0.9 0.9 ; metallic surface dielectric white mono 0.8 1.2 ; translucent surface glass white mono 0.95 ; white glass
transform none
surface matte white ; current surface
box ... ; white
group
surface matte red ; current surface inside block
transform rotate y 45 ... ; current transform inside block
sphere ... ; rotated, red
cone surface matte green data ... ; rotated, green
cube bump data ... ; rotated, red, bump texture
cylinder ... ; rotated, red
ungroup
prism ... ; white



list surface matte brown begin ; a new object similar to a pencil
cylinder open 0 -1 0 0 1 0 0.3
cone open 0 1.3 0 0 1 0 0.3
sphere 0 -1 0 0.3
list end
sphere transform scale 0.2 1 2 transform rotate y ANGLE ; ANGLE is defined elsewhere texture local blotch 0.5 surface matte yellow surface matte red data 0 0 0 1

Name Parameters ------------------------------------------------------ checkers surface [transform] blotch scale surface [filename] [transform] bump scale [transform] marble [filename] [transform] fbm offset scale omega lambda threshold octaves [transform] fbmbump offset scale lambda octaves [transform] wood color [transform] round scale [transform] bozo turbulence [filename] [transform] ripples frequency phase scale [transform] waves frequency phase scale [transform] spotted [filename] [transform] dents scale [transform] agate [filename] [transform] wrinkles scale [transform] granite [filename] [transform] gradient turbulence direction [filename] [transform] imagemap turbulence mode axis filename [transform] gloss scale [transform] bump3 scale size [transform] ------------------------------------------------------
sphere round 0.5 data 0 0 0 0.5 sphere bump 0.7 scale 20 data 0 1 0 0.5 ; scale of bump is smaller sphere bump3 0.5 0.5 scale 1 4 1 data 0 -1 0 0.5 ; strange!