Click here to get the file
Depending on the mapping situation, we may need to bound an object with a box, a cylinder, or a sphere. Itís often useful to transform the bounding geometry so its coordinates range between zero and one. Transformed bounding boxes have coordinates that range from (0,0,0) to (1,1,1). For a bounding cylinder, we set the circumference to one and the height to one. For a sphere, we scale the latitude and the longitude so that they both range between zero and one.