Final Project - CSE 167

Student: Mike Nithaworn
My texture-mapped room and dedication some of my favorite NBA players...

Introduction:
I decided that I wanted to learn how to use and implement texture mapping with OpenGL to my programs. I also decided that I wanted to do a NBA museum type room where people can come and see some of my favorite players currently playing in the league. Most of the project is textured map and features to this project include various lightings coming from lamps and a television to display different games by the Pistons.

Goals:
My main goal was to learn how to use texture map and learn how to make a nice looking room with items displayed to improve my graphics skills.

Procedure:
I started off by creating a ‘V’ shaped room with GLQUADS. Then I textured map the whole room with wooden hardwood floors, metal walls, and marble ceilings. I then got various photos of the NBA players off nba.com and respective team websites. I then took the images and custom made them in Photoshop to create bmp files for each featured player. Then I created frames for each player with two different styles of wood. I then added a red rug, marble benches for people to sit down, ceiling lamps, and a big screen Sharp television to feature games with Rasheed Wallace where the user can switch games by pressing ‘t’. Then I wanted to make sure the user can zoom in and out and move in different angles to look at the room.

Lighting:
Lighting is broken down into two rooms with white light, and there is a featured blue light on top of Kevin Garnett’s 2004 MVP poster. I chose blue to illuminate the TimberWolves colors.

Controls:
'w' wireframe toggle
'r' decrease angle step size
'R' increase angle step size
's' shade mode toggle
't' change Pistons game on TV display from 2004 NBA Finals to the Pacers game

'1' light 1 - left light (white)
'2' light 2 - right light (white)
'3' light 3 - blue light over Kevin Garnett's MVP award

KEY_UP rotate upwards
KEY_DOWN rotate downwards
KEY_LEFT rotate to the right
KEY_RIGHT rotate to the left

'F1' zoom in (fixed rate)
'F2' zoom out (fixed rate)

Posters:
Scanning from left to right in the program, featured players include:

Corey Maggette of the Los Angeles Clippers. The Clippers have been a team that struggled for a so long and enjoyed little success but Corey Maggette has been one of the key factors lately in 2004-2005 to take this team back to playoff bound. The Clippers are now doing much better and are considered a competitive team in the league with the help of Corey.

Next is Kevin Garnett who won the 2004 MVP awards and took his team past the first round of the 2004 NBA playoffs for the first time in franchise history. The Timberwolves are now considered an elite team in the west with KG as the major factor.

Next is Yao Ming, the first asian player to even be considered a superstar in the NBA, a league where not too many asians play in let alone be a star. I definitely had to feature him.

Next is my all time favorite Rasheed Wallace who helped bring an upset for the Pistons to win the 2004 championship against the great Los Angeles Lakers. Nobody would have ever thought the Pistons would have won that series but Rasheed’s hard work along with his teammates proved everyone wrong.

Overall:
There are so many things I could have learn and done on the final project but since texture mapping is very common in computer graphics and in the video game world, I featured that it would be best for me to learn how to do this stuff within 20-30 hours of work time.


All lights are on and the television is playing the 2004 Finals!




All lights are on and the television is playing the 2004-2005 season Pistons vs. Pacers game! (A brawl broke out after this game...)



All but one light on...



Blue and a little white light on showing KG and Yao...



All lights are on featuring Corey Maggette, future all star for the Clippers...



Nothing but blue light...





readme.txt

FinalProject.zip