Return to previous page | Return to menu | Go to next page
The area projected on the projection plane is called the viewing volume.
In the case of SGL, the angle of view and display level are the parameters that control this viewing volume.
Here are two of them.
Use the function “slPerspective” to change the perspective settings on SGL.
The display level is set with the function “slZdspLevel”.
The display level is determined by the projection point from the viewpoint and projection plane.
The figure below shows the display level image model.
Listing 4-1 below shows how the cube looks by placing a cube in the center of the screen and changing the angle of view parameter, which is a perspective parameter, between 20 and 160 degrees.