antons_opengl_tutorials_book
PortableGL
antons_opengl_tutorials_book | PortableGL | |
---|---|---|
2 | 7 | |
933 | 936 | |
- | - | |
8.3 | 9.0 | |
about 1 month ago | 7 days ago | |
C++ | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
antons_opengl_tutorials_book
-
Question about GLFW / GLEW in C with shaders
So, I decided to try out this code, which renders a purple triangle. It works fine, but then I wanted to read in files rather than defining the shaders in the code. So, I made a function that reads in a file:
-
How do I get started with OpenGL and C?
here's a bunch of great source code examples https://github.com/capnramses/antons_opengl_tutorials_book
PortableGL
-
Olive.c: a simple graphics library that does not have any dependencies
Yeah PortableGL will never be completely fully featured, not even for OpenGL 3.3 since I'll definitely never do the geometry shader and probably not the transform feedback. But specifically it'll never have the earlier immediate mode stuff, or some of the big 4.0 stuff like the tessellation shaders. I have been meaning to add the DSA functions where they make sense. They'd be really simple to implement.
Actually a few days ago someone sent me a pull request adding an interesting project to my README
https://github.com/rswinkle/PortableGL/commit/e0652b4dff266d...
So now if I were to try to sum up all the OpenGL software implementations I can think of,
TinyGL (and modern improved forks) = OpenGL 1.1-1.3 ish
-
Hacker News top posts: Dec 31, 2021
PortableGL: An implementation of OpenGL 3.x-ish in clean C\ (23 comments)
-
PortableGL: An implementation of OpenGL 3.x-ish in clean C
Not entirely related to the subject of OpenGL, but I really like how the author has decided to lay out this project. It's pretty hard to beat the convenience of a single header (or single header/single source) distribution for C libraries, but library development gets progressively harder as the project gets bigger as more code is added to the (usually hard to navigate) header file. Here, the author does their development with multiple files as one normally would, but when a new version is released they run the generate_gl_h[1] script that concatenates everything into a .h file for distribution. Simple yet flexible! This is also how SQLite[2] distributes its builds. It's a pattern that I'm using myself in some unreleased projects.
[1] https://github.com/rswinkle/PortableGL/blob/master/src/gener...
- Any OpenGL implementations for vector-drawing hardware?
What are some alternatives?
raylib - A simple and easy-to-use library to enjoy videogames programming
tinygl - TinyGL : a Small, Free and Fast Subset of OpenGL*
blender - Official mirror of Blender
tinyraytracer - A brief computer graphics / rendering course
journey-into-opengl - This repository contains the code of the "My Journey into OpenGL" project. You can follow my progress in my blog!
GLM - OpenGL Mathematics (GLM)
herebedragons - A basic 3D scene implemented with various engines, frameworks or APIs.
tinyrenderer - A brief computer graphics / rendering course
rusterizer - Bare-bones software renderer written in Rust
RetroFPSStudio - The public repo of Retro FPS Studio (RFS), for educational reading and not for reuse. See license.
datoviz - ⚡ High-performance GPU interactive scientific data visualization with Vulkan
eurorack-cpu - A CPU implemented in a modular synthesizer