/* * Final Project - Readme. txt * Angela Hsiao * December 5, 2003 * */ Features: Texture mapping Envinronment mapping Spotlighting Zooming closer and farther, moving left and right Controls: Press 1 to turn on and off light of entire scene Press 2 to turn on and off spotlight on teapot Press 3 to turn on and off spotlight on bowl Press w to turn on and off wirefram mode Press c to turn on and off culling. Press R to increase the degree of rotation Press r to decrease the degree of rotation Press F to move scene to the left Press f to move scene to the right Press D to move closer to scene Press d to move farther away from the screen The Project: When I started my project, my inital aim was to create a room, and then environment map it onto a project in my room. After creating the room, I discovered that there was no really good way to turn the entire room into a spherical map without losing some part of the room. So, much of my time learning about how environment maps work was spent on trying to figure out how to spherize the place. Unfortunately, it didn't work out as well as I planned. So, I divided the big room into two rooms, and created environment mapping based on two pictures I chose. In order to create a sphere map, I discovered that adobe photoshop has a feature which allows you to take a picture and spherize the middle. So, I took the two pictures I chose and then used adobe photoshop to create sphere maps of the pictures. From there, I mapped them on to two objects. The first object I tried environment mapping on was the generic opengl teapot. On the teapot, it appears as if the teapot is a metallic color, and the painting is reflected onto it. I then created my own object - a bowl, and mapped the environment map onto it. After creating my two objects, I then went back and rendered the room around it. To make the walls and floor more visually appeasing, I found a marble image and texture mapped it onto all of the surfaces. After creating my room, I lit it. There is one bit light, controlled by pressing '1' to turn on and off. There are also two spotlights aimed at both the picture and the environment map on the objects. The light for the teapot is controlled by pressing 2 to turn on and off. The light on the bowl is controlled by pressing 3 to turn on and off. After lighting, I implemented basic manuerving by the user. By pressing the 'D' key, the user is brought close to the picture. By pressing the 'd'key, the user is taken farther away. By pressing the F key, the picture is translated one step to the left. By using the arrow keys, the user can rotate the room, so by using a combination of both, the user can effective move around the room.