Skip to content

GorgeousOne/OpenGl-Solar-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opengl Project

example.jpg

This is a university project for the course "Computer Graphics" at the Bauhaus University. The goal was to create a 3D scene of a solar system with C++, OpenGL and GLSL.

For the task of implementing different shaders, we chose to implement

  • toon lighting
  • kaleidoscope vision
  • crosshatch shading
  • fish eye lens
  • pixelated dithering
  • god rays

These can be toggled by pressing the keys 1-5.
shaders.jpg

OpenGLFramework

is a small cross-platform framework for learning OpenGL programming

Installation

Troubleshooting

Features

  • launcher encapsulating window and context management
  • example applications for usage of basic OpenGL objects
  • png & tga texture loading
  • obj model loading
  • GLSL shader loading and error checking
  • runtime OpenLG error checking
  • live shader reloading by pressing R

Examples

toggle compilation with cmake option BUILD_EXAMPLES

  • Immediate Mode - application_fixed.cpp
  • Vertex Buffer Object - application_vbo.cpp
  • Index Buffer Object - application_indexed.cpp
  • Shader Program - application_shader.cpp
  • Shader Uniforms - application_uniforms.cpp
  • Vertex Array Object - application_vao.cpp

Tested Platforms

  • Linux - makefile
  • Windows - MSVC 2013
  • MacOS - CLion, XCode, makefile

Libraries

License

this framework is licensed undet the GPL v3

  • GLFW is licensed under the zlib/libpng license
  • glbinding is licensed under the MIT license
  • glm is licensed under the Happy Bunny License (Modified MIT)
  • tinyobjloader is licensed under 2 clause BSD
  • stb_image is public domain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •