/Lighting-Texture

A simple classroom but now with lighting and texture!!!

Primary LanguageC

3D-Scene (a simple classroom with lighting and texture) - Ali Almutawa Jr.

How to Run:

  1. run "make clean"
  2. run "make"
  3. run "./hw3"

Modes:

Press 'm' to toggle between different modes:

  • 0: 1st Person Mode
  • 1: Orhogonal Mverhead View
  • 2: Perspective Overhead View

Controls for 1st Person Mode:

  1. (w, a, s, d) for moving the player (yourself) forward, left, backwards, right.
  2. Press the spacebar to move up, and (`) to move down.
  3. Left, right, up, and down arrows control the player's rotation.

Controls for Overhead View:

  • Press left or right arrow keys to change the angle of view.

  • Time spent: 5 hours :)