# This is my hand generated scenefile. I converted most of it # from a scene I previsualized in Maya, just so I could tell what # it looked like before I wrote it. PLEASE REPORT ANY MISTAKES # TO THE TA IMMEDIATELY! There shouldn't be any; the only numbers # I am unsure of are the Camera [...] [...] variables. # # # Filename == the filename to save to Filename simplescene.tif # # Format [ ] # the size of the image to render Format [640 480] # # Camera [fovy aspect zNear zFar] [eyeX eyeY eyeZ centerX centerY centerZ upX upY upZ] # These parameters are taken directly from OpenGL gluPerspective and # gluLookAt functions. Use OpenGL to do your transformation from # world coordinates to screen coordinates, but please save your # files in the tiff files as described earlier. # The first part are your arguments for perspective(), the second # are the arguments for LookAt() Camera [52.45 1.50 0.010 1000.000] [7.931 2.680 0.119 -0.948 0.77 0.124 0.0 1.0 0.0] # # Light [x y z] [R G B] # All lights are simply point lights. Assume intensity is 1. Light [11.076 0.806 -4.278] [0.2 0.5 0.2] Light [8.086 9.587 5.121] [1 1 1] # # Color [float float float] # The colors are an RGB value. Each float is from 0-1. Color [1.0 1.0 1.0] # # Opacity is the opposite of transparency. Therefore, your # transparency scalar is 1-Opacity. Opacity 1.0 # # Reflect == the refelction scalar Reflect 1.0 # # Sphere [
] Sphere [1 0 2.066 -0.785] Color [0.0 0.0 1.0] Opacity 0.1 Reflect 0.5 Sphere [1 2.787 2.066 0.406] Color [1.0 0.0 0.0] Opacity 1.0 Reflect 0.7 # # This is the same format that you have used all year. The number # immediately following the "Polygons" is the number of polygons # on the surface. The second line is the number of verticies in # each polygon, and the third is the vertex index used in the last # two sections. The one starting with "P" is the world cordinates # of the vertices. The line starting with "N" is the normals for # each vertex. Polygons [7] [4 4 4 4 4 4 4] [3 2 1 0 7 6 5 4 11 10 9 8 10 7 4 9 15 14 13 12 6 15 12 5 14 3 0 13] "P" [6.6634 0.0455482 -16.808 9.21316 0.0376026 -16.808 9.21316 0.0376026 10.7259 6.6634 0.0455482 10.7259 -3.30443 1.02547 -16.808 -0.898286 0.306357 -16.808 -0.898286 0.306357 10.7259 -3.30443 1.02547 10.7259 -5.26243 5.40276 -16.808 -4.90276 2.90471 -16.808 -4.90276 2.90471 10.7259 -5.26243 5.40276 10.7259 1.61462 0.104454 -16.808 4.13919 0.056186 -16.808 4.13919 0.056186 10.7259 1.61462 0.104454 10.7259] "N" [-0.00366522 -0.999993 0.0 -0.00311618 -0.999995 0.0 -0.00311618 -0.999995 0.0 -0.00366522 -0.999993 0.0 -0.546525 -0.837443 0.0 -0.184237 -0.982882 0.0 -0.184237 -0.982882 0.0 -0.546525 -0.837443 0.0 -0.989793 -0.14251 0.0 -0.911493 -0.411315 0.0 -0.911493 -0.411315 0.0 -0.989793 -0.14251 0.0 -0.0496253 -0.998768 0.0 -0.0116654 -0.999932 0.0 -0.0116654 -0.999932 0.0 -0.0496253 -0.998768 0.0]