jonpas / OpenGL

OpenGL introduction application at Computer Graphics (slo. Računalniška Grafika)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FERI-OpenGL

OpenGL introduction application at Computer Graphics (slo. Računalniška Grafika).

Features

  • OpenGL Rendering in Qt with GLM
  • Projections (Perspective and Orthogonal)
  • Camera Translating and Rotating
  • Object Translating, Rotating and Scaling
  • Interleaved Vertex Buffer
  • Loading OBJ Files Dynamically
  • Multiple Objects Handling
    • Per-Model Buffers
  • Texture Mapping
    • Simple (X, Y)
    • Planar (X, Y, Z)
    • Cylindrical (X, Y, Z)
    • Spherical (X, Y, Z)
  • Blinn-Phong Shading/Reflection Model
    • Single Point Light
  • Bump (Height) Mapping

Controls:

  • Camera
    • Translation: W (Forward) / A (Left) / S (Backward) / D (Right) / Q (Up) / E (Down)
    • Rotation: Right Mouse Button + Mouse Axis
  • Object
    • Translation: H (Left) / J (Forward) / K (Backward) / L (Right) / U (Up) / N (Down)
    • Rotation: Y (on Y) / X (on X) / C (on Z)
      • Negative Rotation: Ctrl + Rotation Key
    • Scale: + (Up) / - (Down)
  • Projection Change: P

Setup

Dependencies:

About

OpenGL introduction application at Computer Graphics (slo. Računalniška Grafika)

License:MIT License


Languages

Language:C++ 99.3%Language:QMake 0.7%