Giter VIP home page Giter VIP logo

bglscene's Introduction

"BGLScene" is an OpenGL ES scene graph library I created during development of the game Fingerpaintball. Although it was designed to be a general purpose library, I only added functionality as I needed it for the game I was working on. In other words, don't be surprised if functionality that "obviously" belongs in a scene graph library is missing.

Over a decade ago, I took Don Greenberg's CS 417/418 at Cornell. We used OpenGL for our projects, but for education's sake, the professor only permitted a subset of the OpenGL API: instead of boxes and spheres, we were only allowed to use triangles, and build any shapes we needed from those. And instead of the built-in lighting and materials settings, we had to write our own code to calculate the colors of all the surfaces.

A decade later, when the OpenGL ES specification was derived from OpenGL, it was optimized for mobile devices by throwing out all of the "unnecessary" parts and leaving only the bare minimum required to render 3D graphics. Turns out the parts they left were pretty much the same as the parts I was allowed to use in class.

The point is, a lot of the credit for this code goes to that course, as the code we developed there had a lot in common with the code developed here.

Remember this, next time you begrudge an educator for making you do things the hard way!

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.