Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SER332 Lecture 12

SER332 Lecture 12

Introduction to Graphics and Game Development
Lab 03 (Perspective)
(201804)

Javier Gonzalez-Sanchez

February 22, 2018
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    SER332
    Introduction to Graphics and Game
    Development
    Lecture 12: Lab 03 (Perspective)
    Javier Gonzalez-Sanchez
    [email protected]
    PERALTA 230U
    Office Hours: By appointment

    View full-size slide

  2. Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 2
    jgs
    Step 1
    § Pyramids to Diamonds in a Blue Plain

    View full-size slide

  3. Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 3
    jgs
    Step 2
    § Animate the diamonds: Make them move up and down

    View full-size slide

  4. Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 4
    jgs
    Step 3
    § Enable “w” and “s” keys to move the camera UP and DOWN. Arrows keys
    still move the camera forward, backward, left, and right.
    UP
    DOWN
    Forward
    Backward
    Left
    Right

    View full-size slide

  5. Javier Gonzalez-Sanchez | SER332 | Spring 2018 | 5
    jgs
    Reading
    3D geometric transformation & viewing:
    § (Required) Read Hearn Baker ch5 p261-p277, p283 – p291
    § (Required) Read Hearn Baker ch7 p344-p398, focus on perspective
    projection (p368-p383), and 3D viewing in OpenGL (p383-p389)
    Z-buffer:
    § Red Book (pdf): ch10, focus on depth buffer related content
    § Hearn Baker ch9 p531-p534
    Front / Back face culling:
    § Red Book (pdf): ch2 p43-p44

    View full-size slide

  6. jgs
    SER332 Introduction to Graphics
    Javier Gonzalez-Sanchez
    [email protected]
    Spring 2018
    Disclaimer. These slides can only be used as study material for the class SER332 at ASU. They cannot be distributed or used for another purpose.

    View full-size slide