Add another hardcoded scene. Also made a test file for hw3 that should cover all the commands.
This commit is contained in:
26
tests/test_keys.hw3scene
Normal file
26
tests/test_keys.hw3scene
Normal file
@@ -0,0 +1,26 @@
|
||||
# line with a comment
|
||||
camera 0 0 -1 0 0 0 0 1 0 50
|
||||
|
||||
point 0 4 0 .7 .2 .2
|
||||
point 4 -4 0 .2 .7 .2
|
||||
point -4 -4 0 .2 .2 .7
|
||||
|
||||
color 1 1 1
|
||||
ambient 1 1 1
|
||||
sphere 0 0 0 .3
|
||||
|
||||
color 1 0 0
|
||||
diffuse 0.4 0.4 0.4
|
||||
specular 0.4 0.4 0.4
|
||||
shininess 1
|
||||
emission 0 0 0
|
||||
|
||||
pushTransform
|
||||
scale 0.1 0.1 0.1
|
||||
rotate 0 1 0 45
|
||||
popTransform
|
||||
|
||||
pushTransform
|
||||
translate .4 0 0
|
||||
sphere 0 0 0 .1
|
||||
popTransform
|
||||
Reference in New Issue
Block a user