Return to previous page | Return to menu | Go to next page


void
Graphic function

slPerspective

Setting the perspective conversion table

Format

void slPerspective(pers)
ANGLE pers ;

Parameter

pers angle of view
Scope: 10 to 160 (Unit: DEG)

Function

Set the distance constant to the screen used for perspective transformation.

Return value

None

Remarks

By using “slWindow” and “slZdspLevel” with the function “slPerspective”, the viewing volume can be completely determined.
The image model for perspective transformation is shown below.

Reference: Chapter 4 Coordinate transformation

slPerspective


Return to previous page | Return to menu | Go to next page