Add a test for hw3render
This commit is contained in:
@@ -78,3 +78,4 @@ add_test(NAME Chapter11_Reflection COMMAND $<TARGET_FILE:ch11_reflection>)
|
||||
add_test(NAME Chapter11_Refraction COMMAND $<TARGET_FILE:ch11_refraction>)
|
||||
add_test(NAME Chapter11_Test COMMAND $<TARGET_FILE:ch11_test>)
|
||||
add_test(NAME Chapter12_Test COMMAND $<TARGET_FILE:ch12_test>)
|
||||
add_test(NAME Hw3Render COMMAND $<TARGET_FILE:hw3render> ${CMAKE_CURRENT_SOURCE_DIR}/test.hw3scene)
|
||||
9
tests/test.hw3scene
Normal file
9
tests/test.hw3scene
Normal file
@@ -0,0 +1,9 @@
|
||||
# A ball lit by 3 lights
|
||||
camera 0 0 -1 0 0 0 0 1 0 45
|
||||
|
||||
point 0 4 0 .7 .2 .2
|
||||
#point 4 0 4 .5 .5 .5
|
||||
point 4 -4 0 .2 .7 .2
|
||||
point -4 -4 0 .2 .2 .7
|
||||
|
||||
sphere 0 0 0 .3
|
||||
Reference in New Issue
Block a user