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
PRO

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 Slide

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

    View Slide

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

    View 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 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 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 Slide