For my final project I am trying to simulate a spooky museum room. The viewer can view around the room by using the arrow keys. The four paintings on the wall are actually from Disney's Haunted Mansion. The wooden floor and wallpaper design add to the feel of the Victorian style room. There are also two benches, a glass display containing a red sphere and a mirror. Also the light can be turned on and off. Furthermore, fog can be added to the scene for an even more spooky feel.
Texture mapping is applied to the walls, ceilings, floor, paintings, doors, benches and picture frames. The wallpaper is actually composed of many square tiles of the same pattern. This is seen when rendered in wireframe mode. A local light is added by enabling Phong Lighting and fog is added by enabling GL_FOG. GL_BLENDING is enabled in order to create the transparent glass display panes and specifying an alpha value that is less than 1. The quads, such as the wall, picture frame, and painting has an offset to prevent z-fighting.
Overall, achieved the room I wanted. However, currently the mirror is not an actual mirror, I simply applied a texture map of a view of the room onto the mirror. If I had more time I would attempt to create a more realistic mirror using stencil buffering. Also, right now the edges of the glass display is not apparent. I would like to add in specular highlights to make the edges more apparent in the future. In addition, I would have liked to play with emissive properties of the paintings to make them more spooky when the light is turned off. But overall a fun project!!!
Use arrow keys to control viewpoint (Up, Down, Right, Left). Press "w" to toggle wireframe mode. Press "R" or "r" to increase or decrease rate of movement, respectively. Press "0" to toggle light on and off. Press "f" to toggle fog on and off. Press "ESC" to exit program.