Test Scenes

Test 1

camera 0 0 4 0 0 0 0 1 0 30
name c1
camera 0 -3 3 0 0 0 0 1 0 30
name c2
camera -4 0 1 0 0 1 0 0 1 45
name c3
camera -4 -4 4 1 0 0 0 1 0 30
name c4

begin draw
-1 -1 0 
1 -1 0
1 1 0
-1 1 0
end
poly close
compute
name quad
ambient .1 .1 .1 1
diffuse 1 0 0 1
specular 0 0 0 1


add light
light dir
position 0 0 1
diffuse 0.5 0.5 0.5 1

add light
position 4 0 4
diffuse 0.5 0.5 0.5 1


view camera Cammy1
Test 2
camera -2 -2 2 0 0 0 1 1 2 60
name c1
camera +2 +2 2 0 0 0 -1 -1 2 60
name c2
camera -2 -2 -2 0 0 0 -1 -1 2 60
name c3


# face -Y
begin draw
-1 -1 -1
1 -1 -1
1 -1 1
-1 -1 1
end
poly close
compute
ambient .5 0 .5 1
name minusY

# face +Y
begin draw
1 1 -1
-1 1 -1
-1 1 1
1 1 1
end
poly close
compute
ambient .5 1 .5 1
name Y

# face +X
begin draw
1 -1 -1
1 1 -1
1 1 1
1 -1 1
end
poly close
compute
ambient 1 .5 .5 1
name X

# face -X
begin draw
-1 -1 -1
-1 1 -1
-1 1 1
-1 -1 1
end
poly close
compute
name minusX
ambient 0 .5 .5 1

# face -Z
begin draw
-1 -1 -1
1 -1 -1
1 1 -1
-1 1 -1
end
poly close
compute
name minusZ
ambient .5 .5 0 1

# face +Z
begin draw
-1 -1 1
1 -1 1
1 1 1
-1 1 1
end
poly close
compute
ambient .5 .5 1 1
name Z



add sphere 0.15
m 1 0 0
ambient 1 1 1 1

# group of 2
add sphere 0.15
m -.5 1 -.5
ambient 1 1 1 1

add sphere 0.15
m .5 1 .5
ambient 1 1 1 1


# group of 3
add sphere 0.15
m 0 0 1
ambient 1 1 1 1
add sphere 0.15
m -.5 -.5 1
ambient 1 1 1 1
add sphere 0.15
m .5 .5 1
ambient 1 1 1 1

# group of 4
add sphere 0.15
m -1 -.5 -.5
ambient 1 1 1 1
add sphere 0.15
m -1 -.5 .5
ambient 1 1 1 1
add sphere 0.15
m -1 .5 .5
ambient 1 1 1 1
add sphere 0.15
m -1 .5 -.5
ambient 1 1 1 1

# group of 5
add sphere 0.15
m -.5 -1 -.5
ambient 1 1 1 1
add sphere 0.15
m -.5 -1 .5
ambient 1 1 1 1
add sphere 0.15
m .5 -1 .5
ambient 1 1 1 1
add sphere 0.15
m .5 -1 -.5
ambient 1 1 1 1
add sphere 0.15
m  0 -1 0
ambient 1 1 1 1

add sphere 0.15
m -.5 -.5 -1
ambient 1 1 1 1
add sphere 0.15
m -.5   0 -1
ambient 1 1 1 1
add sphere 0.15
m -.5 .5 -1
ambient 1 1 1 1
add sphere 0.15
m .5 -.5 -1
ambient 1 1 1 1
add sphere 0.15
m .5  0 -1
ambient 1 1 1 1
add sphere 0.15
m .5 .5 -1 
ambient 1 1 1 1