Homework 3, due Thurs Sep 20

Hand in your solution on RPILMS. Each team should submit their solution under only 1 student's name. The other student's submission should just name the lead student. (This makes it easier for us to avoid grading it twice.) For programming exercises, hand in code and screen dumps. We won't run your code, but will use the screendumps to judge how it worked.

  1. (2 pts) What are the lower left front and upper right back corners of the view frustum defined by this statement:
    glFrustum(1.,2.,3.,4.,5.,6.);
  2. (1 pt) What is the biggest advantage of using display lists?
  3. (1 pt) What is the biggest advantage of using glDrawElements?
  4. (1 pt) What argument of glDrawElements allows you to intersperse coordinate and color information?
  5. (1 pt) What argument of glDrawElements allows you to specify whether your colors have opacity information?
  6. (1 pt) Before calling glDrawElements, you have to tell OpenGL where the vertices are. How do you do that?
  7. (1 pt) What feature in the way that display lists are created prevents you from making a loop (e.g., list #1 calls list #2, which calls list #1)?
  8. (1 pt) If a display list draws a vertex without first setting a color, what color is used?
  9. (1 pt) When specifying what font to draw, what happens if you make a typo, e.g.,
    glutBitmapCharacter("TIMEZ_ROMAN_12",'a');
    Saying, "it doesn't work," is not specific enough. What fails?
  10. (4 pts) Do exercise 3.9 on page 77 (held over from Homework 2).
  11. (4 pts) Do exercise 3.12, parts a, b, f, i, on page 78. (If doing this in a team, this will force you to integrate your code into one program.)

Total: 18 points.