Kamil Kapadia CSE 167 Final Project Controls Press the arrow keys to move around the room. Press 1, 2, 3, or 4 to turn off/on the corresponding light (includes audio). Press "," or "." to increase or decrease rate of fan movement (respectively). Press "w" to toggle wireframe mode. Press "R" or "r" to increase or decrease rate of rotational movement (respectively). In order to run this program, just run the file named: FinalProject.exe and make sure all the images and the sound effect are in the same directory as the executable. Then using the controls listed above, explore my museum. After looking at some the example final projects I decided that I wanted to do a museum. Some of these museums looked simplistic, and others looked rather advanced. It looked like a good project to pick because of the amount of creative freedom it would give me. I started with my lighted scene project, and fixed the floor so that it would be made up of multiple quads strips. Then I added three walls following a similar method. These were all drawn using a nested for loop. Then I added textures to the floor and to the walls. It took a while to find textures that that looked good, but I like the way it finally turned out looking. The next step was to add furniture. I made the table and chair in pretty much the same way. I just drew the flat parts, then added on the legs. I had a method that made a single leg, then I just translated it to where I wanted. The chair took a little longer to make because it has more parts. After adding the ceiling, I wanted to have something animated in my museum, and a ceiling fan seemed to work nicely. I put range checking on it so it doesn't go too fast or too slow. The fan consists of a cone, and four quads. Another thing I did was put checks on the room itself, so the user can't walk through a wall. Earlier in my project I was able to walk through my museum (through a brick wall), and I thought I should fix that. This was accomplished by checking the z value of the user, and the angle the user was facing. Based on the angle, I knew what the max and min z values should be. Before I even started this project, I wanted to learn how to add sound. I finally found an easy way to do it, so I added one sound effect. When the user turns on or off a light, a clicking sound is played. All in all it was a fun program to work on, but it took a lot longer than I thought it would.