Giter VIP home page Giter VIP logo

bruceoutdoors / oglman Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.74 MB

OGLMan ("OpenGL Manager") is a bunch of convenience classes that ease the management of shaders, buffers and meshes in the modern shader based OpenGL. I created these to help me understand how OpenGL works.

Home Page: http://bruceoutdoors.wordpress.com/2014/07/19/oglman-making-opengl-management-easy/

C++ 91.88% C 8.12%

oglman's Introduction

OGLMan

OGLMan ("OpenGL Manager") is a bunch of convenience classes that ease the management of shaders, buffers and meshes in the modern shader based OpenGL. I created these to help me understand how OpenGL works.

This program is tested with Windows 8.1 (MinGW 4.8) and Manjaro Linux XFCE.

Uses modified Obj reader code from http://www.opengl-tutorial.org/

Dependencies

  • SFML 2.1 for the render window
  • GLEW 1.10.1 (MinGW version) to manage OpenGL function calls.
  • Qt Creator 3.1.1, though not using Qt
  • GLM 0.9.5.4 (OpenGL Mathematics)
  • SFGUI 0.2.3 (modified version)
  • C++11 compiler

The dependencies for Windows MinGW 4.8 are bundled together with the project files. I did this because it's convenient, and the SFGUI here has been slightly tampered with; It will fail if you use your own build.

Setup Instructions

After the inital configuring part is done in Qt Creator,

  1. go under the "Projects" tab
  2. under "Build | Run" select "Run" to change the run settings
  3. under "Run", remove "\build" at the end of "Working directory"

This will allow you to run your application from Qt Creator. The "build" folder is also where you place your dependencies. Take note that during deployment, the "shaders" and "resource" directory should be copied to the executable's directory.

Background and Credits

This program started off as a fork of Jamie King's modern OpenGL tutorials (http://bit.ly/1t2Rxde). Although the design of the program is now completely different, you find pieces of Jamie's finger prints inside, especially in the primitives.

License

I don't care what you do with it, since there are better libraries that do this sort of stuff way better. However, if you actually somehow manage to find this useful, do drop me a love letter and say thanks (:

oglman's People

Contributors

bruceoutdoors avatar

Stargazers

 avatar

Watchers

 avatar

oglman's Issues

somersaulting arcball camera

The arcball camera isn't working properly yet. Orbiting towards the top or bottom will cause the camera to "somersault" because the camera up vector is always pointing towards the y-axis.

Haven't figured out a solution for that...

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.