CSE 167 Final Project

Fall 2003

Michael San Jose

Comments:

Demo of a kitchen with Red/Green/Blue/White lights. 
Texture maps are taken from photos of my kitchen.
-----------
 Controls:
-----------

Movement:
a      Move Forward
z      Move Backward
R      Increase rate of movement
r      Decrease rate of movement
Arrows Rotate Room


Lighting:
1      Toggle White light source
2      Toggle Red light source
3      Toggle Green light source
4      Toggle Blue light source
h      Toggle local/non-local light sources


Misc:
s      Toggle smooth/flat shading
w      Toggle wireframe mode
c      Toggle culling
M      Increase mesh count on floor/walls
m      Decrease mesh count on floor/walls


My original goal was to re-create my kitchen. With 
the exception of the texture used for the walls, all 
textures were created from photos of my kitchen. It 
proved difficult to get usable texture maps from a 
digital camera. Photos with flash tended to have a 
distracting highlight, and photos without flash were 
blurry. Since I have a relatively small kitchen, it 
was very hard to take photos from a far enough 
distance such that parallel lines don't seem to 
converge (rectangular surfaces would be trapezoidal 
in photos). 


My solution was to take photos of individual sections 
of each texture, then blend them into a single texture 
using Photoshop. The refrigerator texture, for 
example, is actually a combination of 3 separate 
images whose brightnesses and sizes were modified to 
form a single coherent texture map. The stove stop is 
made from 4 pictures (one for each corner of the 
stove). Since the surface was metallic, there was a 
lot of highlighting that I had to blend out so that 
the contrasts between the 4 images wouldn't appear too 
obvious. Some highlights (such as the oven texture) 
proved impossible to remove without ruining the image.
View of room with white/red lights turned on. Red highlight is visible on tile floor.
 
Different angle with lights turned off. Number of tiles used to draw walls & floor is less than previous picture.
 
Slight blue tint on floor. Blue/White lights are enabled.
 
Download Program (748 kb)