The texture map is defined in two dimensions (u, v) and will be mapped onto a three dimensional object. For each point in three dimensional space (x, y, z), we must find the corresponding point in the 2D texture map space and color the 3D point with the value from the texture map. This is easiest with parametrically defined surfaces. In general, it requires two parameters to define a surface, i.e., we will have equations of form:
x = X (u,v); y = Y (u,v); z = Z (u,v);
We will look at several different cases.
|Here is an example of a texture map (left sphere) and a combined opacity-texture map (right sphere) representing foliage.|
Texture mapping a sphere
Texture mapping a canonical box
Texture mapping a torus
Main Texture Mapping Page
HyperGraph Table of Contents.
HyperGraph Home page.