Giter VIP home page Giter VIP logo

oncgl's Introduction

oncgl

Some OpenGL experiments

This is just a small experiment I wrote for a computergraphics course at my university. It is based on the following tutorials:

I also used this project to lern C++. If you find any bug or improvement for my code please leave an issue.

Git Instructions

This repository uses git-flow. Please make sure to always work in feature branches.

Setup

  1. Clone the repo
  2. cd into repo directory
  3. Run git-flow init accepting all default values

Working with git-flow

  1. Start a new feature with git-flow feature start FEATURE_NAME (this creates a new branch)
  2. Hack on your feature
  3. Finish your feature with git-flow feature stop FEATURE_NAME (this merges the branch into develop)

Dependencies

This project includes all required libraries except assimp. You need to install assimp yourself. On Linux you should find assimp in your package manager. OS X users can install assimp using homebrew. Since I don't really care about windows I don't know how to install assimp on windows and I won't give instructions on how to build and run this project on windows machines.

You also need cmake and gcc or clang to compile the project. OS X users also have to install pkg-config from homebrew.

Build Instructions

To build the project run the following:

cd /path/to/repository
mkdir build
cd build
cmake ..
make

If you run the executable anywhere else but /build (like /build/release) make sure to adjust the path in /src/misc/constants.h and rebuild the project.

Code guidelines

The code is formatted according to google c++ style guide

DONE

  • Loading models using assimp
  • Deferred shading
  • Render fonts

TODO

  • Add shadows
  • Work on performance
  • Read material-coefficients like shininess from objects
  • Use object colors if there is no texture

oncgl's People

Contributors

onc avatar

Stargazers

Patrick avatar Felix B avatar

Watchers

James Cloos avatar Sebastian Maisch 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.