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

SER431 Lecture 09

SER431 Lecture 09

Advanced Graphics
Quiz 03 (Planar reflections)
(201809)

Javier Gonzalez-Sanchez
PRO

September 13, 2018
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    SER 431
    Advanced Graphics
    Lecture 09: Quiz 03 (planar reflections)
    Javier Gonzalez-Sanchez
    [email protected]
    PERALTA 230U
    Office Hours: By appointment

    View Slide

  2. Javier Gonzalez-Sanchez | SER431 | Fall 2018 | 1
    jgs
    One Last Thing
    void display(void) {
    glEnable(GL_CULL_FACE);
    // checks all the faces that are front facing towards
    // the viewer and renders those while discarding all
    // the faces that are back facing
    // Improve performance also!
    glDisable(GL_CULL_FACE);
    }

    View Slide

  3. Javier Gonzalez-Sanchez | SER431 | Fall 2018 | 2
    jgs
    Test Yourselves
    § Test 1. Add reflections to your game. For instance, add a mirror or a
    table with a reflective surface
    § Test 2. Add a menu that allows enable/disable reflections

    View Slide

  4. jgs
    Quiz 03

    View Slide

  5. Javier Gonzalez-Sanchez | SER431 | Fall 2018 | 4
    jgs
    Fog and Reflection (Part A)

    View Slide

  6. Javier Gonzalez-Sanchez | SER431 | Fall 2018 | 5
    jgs
    Fog and Reflection (Part B)

    View Slide

  7. jgs
    SER431 Advanced Graphics
    Javier Gonzalez-Sanchez
    [email protected]
    Fall 2018
    Disclaimer. These slides can only be used as study material for the class SER431 at ASU. They cannot be
    distributed or used for another purpose.

    View Slide