# Test Scene 1 # A simple quad viewed from different camera positions size 640 480 # Now specify the camera. This is what you should implement. # This file has 4 camera positions. Render your scene for all 4. #camera 0 0 4 0 0 0 0 1 0 30 #camera 0 -3 3 0 0 0 0 1 0 30 #camera -4 0 1 0 0 1 0 0 1 45 #camera -4 -4 4 1 0 0 0 1 0 30 camera 40 -50 25 0 -15 0 0 0 1 45 # lighting/material definitions # for initial testing, you should get the geometry right # you may want to use dummy (constant) shading, ignoring these lines ambient .1 .1 .1 directional 0 0 1 .5 .5 .5 point 4 0 4 .5 .5 .5 diffuse 1 1 1 specular 0 0 0 attenuation 1 0 0 point 100 50 100 1 1 1 #area 100 0 100 100 #area 10 100 100 90 # Now specify the geometry # Again, for initial testing, maybe you want to implement a dummy # ray-plane intersection routine, instead of reading this fully. # Though it's probably simpler you just implement this, for later # parts of the assignment. maxverts 4 vertex -1 -1 0 vertex +1 -1 0 vertex +1 +1 0 vertex -1 +1 0 #for the chess board add a small amount of reflection, maybe 0.2?, add a bit of specular shine reflectivity 0.5 specular 0.8 0.8 0.8 shininess 3 model media/chess_landscape.ppm media/board.obj 1 1 #the wood should have no reflection (or almost none, and a bit of specular shine reflectivity 0 specular 2 2 2 shininess 7 #model media/wood.ppm media/rim.obj 1 1 #marble chess pieces should have a small bit of reflection as well as a really shinny surface reflectivity 0 specular 1.5 1.5 1.5 shininess 9 #model media/black_marble2.ppm media/piece0.obj 1 1 #model media/black_marble2.ppm media/piece2.obj 1 1 #model media/black_marble2.ppm media/piece3.obj 1 1 #model media/black_marble2.ppm media/piece4.obj 1 1 #model media/black_marble2.ppm media/piece8.obj 1 1 #model media/black_marble2.ppm media/piece9.obj 1 1 #model media/black_marble2.ppm media/piece12.obj 1 1 #glass is complicated, it needs to be fairly transparent, but still have a small amount of reflection and specularity, also, I'm giving it a blue tint reflectivity 0.2 translucency 0.6 diffuse 0.6 0.6 1 specular 0.6 0.6 1 shininess 25 ambient 0 0 0.2 model media/default.ppm media/piece1.obj 1 1 #model media/default.ppm media/piece5.obj 1 1 #model media/default.ppm media/piece6.obj 1 1 #model media/default.ppm media/piece7.obj 1 1 #model media/default.ppm media/piece10.obj 1 1 #model media/default.ppm media/piece11.obj 1 1 tri 0 1 2 tri 0 2 3 # sphere 1 1 1 1