Project 4: Texture mapping
This project is about mapping a texture onto a surface or an object.
This involves several steps, and you should be sure you go through all
of them yourself.
-
Create a 1D or 2D texture map yourself. You may create a 1D texture
using a color ramp (see the section on visual communication), you may create
a texture with programming (but if you do, don't use a trivial map like
a checkerboard or stripes), or you may create a texture by imaging: scanning
a photogaph or using a digital camera. If this texture isn't created
by programming, save the scanned image in an appropriate format and do
any manipulation you may need by using a tool such as Photoshop.
-
Design an object or two on which to apply the texture. Do not use
any of the built-in GLU or GLUT objects, but use the modeling capabilities
of OpenGL to design and build your own objects. It might be interesting
to use more than one textured object to see how these can interact.
-
Map the texture map onto the object. If you are using a 1D texture,
you can use the texture as a height map as discussed in the texture mapping
module. If you are using a 2D texture, try to make the texture say
something about the object or the object say something about the texture
map. I suggest that you not try to use the spherical texture map
for the first project because you need to start more simply.
Due date: May 2, 2000 (note that this is the delayed date).
The usual comments on code, display, and processes apply. I'm eager
to see what you come up with.