Giter Site home page Giter Site logo

mikepicker / opengl-sandbox Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 216.44 MB

C++ 36.63% Makefile 4.16% GLSL 0.22% C 30.72% CMake 1.20% CSS 0.49% HTML 23.74% JavaScript 0.47% Objective-C 2.18% Mathematica 0.19%
heightmap skybox shadow-mapping shaders terrain opengl cpp glsl rendering graphics

opengl-sandbox's Introduction

Mike's OpenGL Sandbox

Purpose of this repo is showcasing 3D real-time techniques I gradually implement while studying OpenGL and CG in general. This is a "living" project, in a sense that it is going to be changed often.

Features implemented so far:

  • Basic OBJ importer
  • Simple Scene class
  • Mesh (taking care of allocating VAO, VBO and EBO) and Model objects
  • A scene showcasing 3D import, UV mapping and model outlining through Stencil and Depth buffers
  • A scene showcasing basic post-process shaders
  • A scene showcasing an implementation of light shafts (Godrays)
  • Skybox
  • Shaders class
  • Heightmap-based Terrain with textures interpolation
  • Shadow Mapping
  • Render of a complex (horror) scene featuring shadow mapping and light shafts
  • Normal mapping

Some screenshots

3D Model with outline Basic light shafts Light shafts, 3D model and skybox Heightmap based terrain Crypt with Shadows and Light shafts

opengl-sandbox's People

Contributors

mikepicker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.