CS425 Laboratory - Textures
Due: 11/8/07 12:00 noon
This lab will be about texture maps.
Here's some free textures:
First
I did read in an OpenGl book that if you want to tile your image it is OK to use (0, 2), or (0, 10). If you use 10 x 10 you'll get 100 tiles of the image on your polygon.
Second
This lab will last two weeks. Get a texture or two working on something simple first and then work on spheres, animations, and textures with advanced objects next week.
Nothing will be due until November 8th.
Instructions
Add one or more texture maps to one or more of your objects as specified
for the desired level. For all levels: Keep all your lights and menus
from previous labs. For levels 3 or 4, be sure your lights work properly
with the textured environment. (e.g. you don't want a spot light
lighting up the "sky").
Many of you have interior scenes with walls and the sphere with clouds don't make a lot of sense. So have a fly by where you leave the room and go outside.
For a grade of Level 1
- Add a texture map to one polygon of 1 object
For a grade of Level 2
- Add a texture map to all polygons of 1 object
For a grade of Level 3
- Add one texture map to all polygons of one object.
- Add a surrounding environment sphere to your scene, with the
inside texture mapped for clouds (terrestial location) or stars
(space location).
For a grade of Level 4
- Add one texture map to all polygons of one object.
- Add a different texture map to all polygons of a different object.
- Add a surrounding environment sphere to your scene, with the
inside texture mapped for clouds (terrestial location) or stars
(space location).
- Animate the environment sphere to show movement of the clouds or
stars.
- You can animate by changing the mapping with time. Or
- You can texture map the entire inside of the surrounding sphere and
slowly rotate the sphere around the scene.