dkozykowski / Chess3D

OpenGL 3D Chess Visualisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chess 3D

License: MIT

Introduction

Computer graphics project written with OpenGL for Warsaw University of Technology course.

Overview

There are 3 different cameras available (stable, moved automatically and moved by user) allowing spectator to observe the scene from any angle. The user is also provided with controllers allowing him to interact with what he sees.

Example preview videos from the application:

spotlight.mp4
phong_blinn.mp4
light_levels.mp4
fog.mp4

Manual - Keyboard keys

Application

escape - close the application

Camera

space - switch to the next camera (3 cameras availiable: #1 flying automatically, #2 moved by user, #3 stable)

 Enabled only when camera #2 is the currently used camera:

  W - move camera forward

  S - move camera backward (enabled only when camera #2 is the currently used camera)

  A - move camera to the left (enabled only when camera #2 is the currently used camera)

  D - move camera to the right (enabled only when camera #2 is the currently used camera)

Spotlight

R - turn on/off the spotlight

🠕 - move spotlight direction up

🠗 - move spotlight direction down

Shading and Lighting models

P - change current shading mode to Phong Model

G - change current shading mode to Gouraud Model

B - turn on the Blinn lighting model

N - turn off the Blinn lighting model

Fogg

F - switch to next Fogg level (levels: 0, 1, 2, 3)

Lamp

0 - change lamp brightness to 0

1 - change lamp brightness to 1

2 - change lamp brightness to 2

3 - change lamp brightness to 3

4 - change lamp brightness to 4

5 - change lamp brightness to 5

6 - change lamp brightness to 6

7 - change lamp brightness to 7

8 - change lamp brightness to 8

9 - change lamp brightness to 9

About

OpenGL 3D Chess Visualisation

License:MIT License


Languages

Language:C++ 72.2%Language:C 26.9%Language:Objective-C 0.5%Language:GLSL 0.3%Language:CMake 0.1%