diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ea0df44..98b1ed2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -77,4 +77,5 @@ add_test(NAME Chapter10_Test COMMAND $) add_test(NAME Chapter11_Reflection COMMAND $) add_test(NAME Chapter11_Refraction COMMAND $) add_test(NAME Chapter11_Test COMMAND $) -add_test(NAME Chapter12_Test COMMAND $) \ No newline at end of file +add_test(NAME Chapter12_Test COMMAND $) +add_test(NAME Hw3Render COMMAND $ ${CMAKE_CURRENT_SOURCE_DIR}/test.hw3scene) \ No newline at end of file diff --git a/tests/test.hw3scene b/tests/test.hw3scene new file mode 100644 index 0000000..29a1226 --- /dev/null +++ b/tests/test.hw3scene @@ -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