Coder Social home page Coder Social logo

gl_applications's Introduction

Some OpenGL/GLUT applications

I attended a nice lecture about Computer Graphics. We were given several interesting assignments each week (mostly C/C++ with GLUT). I recently dug out some of my programs and decided to share them with the world. If I find anything else, I will expand this section.

The code below has been polished a bit and is hereby released under a BSD licence. The licence and copyright do not extend to the time routine, which has been supplied by my instructors.

gl_maze

gl_maze is my lame attempt at creating the next generation of lame video games. The assignment covered keyboard functions using GLUT, but I got carried away and added a maze to the program (a maze should be part of all bigger software packages, in my opinion. That would be a-maze-ing.). Included in the download is also a kind of background story about the "game". By the way: The algorithm used to create the maze is known as "hunt and kill".

gl_particles

gl_particles is a very simple particle system using OpenGL and GLUT. This program shows a fountain-like thingy that constantly spawns new particles. Quite soothing, actually, if you look long enough at it.

gl_photon_map

gl_photon_map creates a photon map for a static scene (whose data is hard-coded). The scene resembles the famous Cornell Box. If you run the application, a number of photons will be emitted from the light source. This photon map is then drawn.

gl_applications's People

Contributors

pseudomanifold 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.