| |
| | Chapter 4. Viewing |
 | | Recall that the viewing volume is used to clip objects that lie outside of it; the four sides of the frustum, its top, and its base correspond to the six clipping planes of the viewing volume, as shown in Figure 3-13. |
 | | The frustum's viewing volume is defined by the parameters: ( left, bottom, -near) and ( right, top, -near) specify the ( x, y, z) coordinates of the lower-left and upper-right corners of the near clipping plane; near and far give the distances from the viewpoint to the near and far clipping planes. |
 | | You can use trigonometry to calculate the desired field of view given the size of the object and its distance from the viewpoint: The tangent of half the desired angle is half the size of the object divided by the distance to the object (see Figure 3-19). |
| www.cepba.upc.edu /docs/sgi_doc/SGI_Developer/books/OpenGL_PG/sgi_html/ch04.html (12677 words) |
|