Git Product home page Git Product logo

renderingengine's Introduction

RenderingEngine in C with OpenGL

Objectives:

  • Simple OpenGL-Wrapper functions
    • Located in the engine-core
  • Example applications that use the wrapper functions
    • Sandbox: Box-Picker (2D)
    • WrathGL: Terrain-Creator (3D)
    • PowderTrain: Falling-Sand-Simulation (2D)
  • Written entirely in C
  • Bulletpoints marked with (X) are already implemented

General functionalities

  • Basic OpenGL-Wrapping (VAO, VBO, IBO, Shader, Texture, Errorhandling) (X)
  • Windowcreation for 2D and 3D (X)
  • GUI-Library (X)
  • 2D Sprite-Renderer (X)
    • Instanced rendering (X)
  • 3D Model-Renderer (X)
    • Dynamic mesh creation (X)
    • OBJ-Loading
  • Text rendering (X)
    • Batch rendering system (X)
  • Camerasystem (X)
  • Audiomanager for sounds and backgroundmusic

Example applications

Sandbox App (2D)

  - GUI (X)
  - Box picking and placing (X)
     - Instanced rendering (X)
  - 2D Physics (X)
  - Liquids   
  - AI

WrathGL App (3D)

  - 3D Mesh creation (planes, tiles) (X)
  - Terrain creation (X)
     - Vertices (X)
        - Procedural generated with noise-function (X)
        - Dynamic and changeable (X)
        - Backgroundthread calculates new terrain (X)
        - Renderthread renders new terrain (X)
     - Colors (X)
        - Dynamic, based on height (X)
     - Lighting (X)
  - Water (X)

PowderTrain App (2D)

  - GUI (X)   
  - Pixel-Renderer (X)
  - Sand-Simulation (X)
     - Different materials/substances -> different reactions (X)

Credits

Using & Compiling

  • Currently only for linux, using CMake as a buildsystem
    • Clone the repository
    • Install the dependencies (cglm, FreeType, Chipmunk2D, GLFW)
      • Take a look at the credits to find the repositories
    • mkdir build
    • cd build/
    • cmake ..
    • make
    • Run the demo applications

License

  • This code is provided under a BSD-style license. See the file LICENSE for details

Structure of the example application "Sandbox"

  • To show the collaboration of the different modules
  • Just for visualization purposes, not UML conform

Application structure

Look of the Sandbox App

Sandbox

Look of the WrathGL App

WrathGL_far WrathGL_close

Look of the PowderTrain App

PowderTrain

renderingengine's People

Contributors

zang3th avatar

Stargazers

 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.