CSCI 360

Fall 2016, Final Exam


  1. [10 points] Describe how OpenGL transforms vertex data into rendered images.

  2. [4 points] OpenGL is described as a state machine. What does this mean? Give examples of a state in this machine and how it is controlled.

  3. [8 points] Describe all computations required to determine if a polygon is facing the camera. This discussion should include the user supplied input REQUIRED to perform this computation.

  4. [10 points] Transformations from world to camera coordinate systems are accomplished via a transformation matrix.

    1. Describe the variable used to specify this matrix.

    2. Describe how this matrix is computed.

  5. [8 points] A view volume is a rectangular area in the world coordinate system. This view volume can be specified by two coordinates, the lower left front (Bx, By, Bz) and the upper right far (Tx, Ty, Tz). If an orthographic projection is used, the transformation from the view volume to NDC space can be accomplished completely with transformation matrices. Derive such a transformation matrix. Explain your derivation.

  6. In the lighting model developed in class, specular reflections are computed using :

    1. [7 points] Explain each variable in this computation. Describe
      • The type of the variable.
      • What the variable represents.
      • Where the variable is assigned or computed.
    2. [3 points] Explain how the given expression models light.