All Projects → jbehley → glow

jbehley / glow

Licence: MIT license
OpenGL Object Wrapper (GLOW)

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to glow

of
🍬 Promise wrapper with sugar 🍬
Stars: ✭ 13 (-27.78%)
Mutual labels:  wrapper
gut
🍱 yet another collection of go utilities & tools
Stars: ✭ 24 (+33.33%)
Mutual labels:  wrapper
fs2-ssh
A wrapper around Apache SSHD targeting cats-effect and fs2
Stars: ✭ 36 (+100%)
Mutual labels:  wrapper
auto-mysql-backup
a wrapper for automysqlbackup
Stars: ✭ 19 (+5.56%)
Mutual labels:  wrapper
python-gerrit-api
Python wrapper for the Gerrit REST API.
Stars: ✭ 6 (-66.67%)
Mutual labels:  wrapper
wumpy
Discord API Wrapper - Easy enough for Wumpus, and fast enough for Clyde!
Stars: ✭ 25 (+38.89%)
Mutual labels:  wrapper
laravel-web3
Laravel SDK wrapper for the Web3 PHP API client that interacts with the Ethereum blockchain.
Stars: ✭ 85 (+372.22%)
Mutual labels:  wrapper
Google-Docs-Desktop-OSX
A Super Simple Google Docs Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 35 (+94.44%)
Mutual labels:  wrapper
klf-200-api
This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
Stars: ✭ 29 (+61.11%)
Mutual labels:  wrapper
opencv-python-inference-engine
Wrapper package for OpenCV with Inference Engine python bindings.
Stars: ✭ 32 (+77.78%)
Mutual labels:  wrapper
MeowDB.js
Database in JSON (Node.JS Library)
Stars: ✭ 12 (-33.33%)
Mutual labels:  wrapper
MozJpeg-wrapper
mozjpeg wrapper for .NET coded in c#
Stars: ✭ 14 (-22.22%)
Mutual labels:  wrapper
BitLens
🔎 Have your bits and eat them too! A C++17 bit lens container for vector types.
Stars: ✭ 20 (+11.11%)
Mutual labels:  wrapper
stoor
Storage wrapper with support for namespacing, timeouts and multi get/set and remove.
Stars: ✭ 26 (+44.44%)
Mutual labels:  wrapper
PoShLog
🔩 PoShLog is PowerShell cross-platform logging module. It allows you to log structured event data into console, file and much more places easily. It's built upon great C# logging library Serilog - https://serilog.net/
Stars: ✭ 108 (+500%)
Mutual labels:  wrapper
BetterPhpDocParser
[DEPRECATED] Moved to
Stars: ✭ 45 (+150%)
Mutual labels:  wrapper
wrapper.py
Wrapper.py is a Minecraft server wrapper that adds additional features to a vanilla server, including backups, dashboard access, plugins, and more.
Stars: ✭ 34 (+88.89%)
Mutual labels:  wrapper
ros jetson stats
🐢 The ROS jetson-stats wrapper. The status of your NVIDIA jetson in diagnostic messages
Stars: ✭ 55 (+205.56%)
Mutual labels:  wrapper
nim-lmdb
Nim LMDB wrapper
Stars: ✭ 31 (+72.22%)
Mutual labels:  wrapper
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (+27.78%)
Mutual labels:  wrapper

OpenGL Object Wrapper (GLOW) -- a high-level layer for OpenGL.

With this side project, I want to provide a simple high-level interface to OpenGL's objects with the following goals in mind:

  1. simple resource management with automatic generation and deletion of OpenGL objects,
  2. object related functions should be related to the object without the need to bind the right object at the right time,
  3. catch potential errors or misuse of OpenGL functionality as early as possible,
  4. allow only access to core profile functionality, since I needed it at some point in time.

These goals should align with the main purpose of this framework: simple, effortless usage of OpenGL's functionality. However, it does not aim at providing some framework for GUI creation, etc. A OpenGL context has to be created independently by virtue of a context/window creation framework, like:

I only included a simple headless context for computations & testing.

This project is work in progress and will be extended over time. Most of the functionality included was implemented as it was needed by my own projects. Therefore, you cannot (or better should not) expect feature completness or stability of the interface.

Related work

This project is inspired by some other frameworks, which are perfectly fine, but lack some features or functionality that I want to have in my work. However, this framework is heavily inspired by these frameworks:

  • Pangolin (https://github.com/stevenlovegrove/Pangolin): Cross-platform GUI framework with OpenGL wrapper objects. Does not enforce the usage of core functionality. Furthermore, in some parts the code might not run on "pure" core profile contexts and due to the usage of NVIDIA specific extensions with context from other GPU vendors, like ATI and Intel.
  • OOGL (https://github.com/Overv/OOGL): didn't look deeply into this.
  • globjects (https://github.com/cginternals/globjects): Pretty complete high-level API for OpenGL. Also wrapping all objects into complete C++-classes.

Requirements

  • GLEW
  • Eigen 3

Features

  • Shader compilation: I usally have my shader files in separate text files and it's somehow annoying to move these stuff around and make it available relative to the executable. For this purpose, I build a solution based on CMAKE, which simply generates a statically initialized "storage" of shader strings, which can accessed by a call to a static method of GlShaderCache. It's somehow nice as it only needs cmake to generate the source, which can be then included in the build and therefore compiled into a library or executable.

Future work

  • More documentation, examples, etc.
  • Enable/disable functionality for given OpenGL version by virtue of compile flags.
  • Feature completness for OpenGL version 4.5 (core profile)
  • Cross-plattform functionality
  • Extend GLSL parser with additional convenience functions a la Pangolin.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].