PortableGL
tinyraytracer
Our great sponsors
PortableGL | tinyraytracer | |
---|---|---|
7 | 9 | |
922 | 4,887 | |
- | - | |
9.0 | 0.0 | |
about 1 month ago | 10 months ago | |
C | C++ | |
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.
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?
tinyraytracer
-
But can it raytrace?
Source: https://github.com/ssloy/tinyraytracer
-
What are the best textbooks/resources for learning graphics programming practically in 2023?
Tiny raytracer and the related tiny series are pretty good implementations of certain popular rendering techniques, without the use of an API.
- Where do I start learning graphics programming?
-
yep people like this exist
For some reason, that reminded me of this.
- It is so boring
- Project based learning: a blank for a platformer game in 296 lines of C++
- TinyRayTracer: Understandable RayTracing in 256 lines of bare C++
-
Project Ideas
Check out this: https://raytracing.github.io https://github.com/ssloy/tinyraytracer/wiki
-
Dissecting the Apple M1 GPU, Part III
An excellent starting point for anyone interested in low-level graphics programming is Sokolov’s tinyraytracer [0]. It’s also a great way to learn a new language (work through the code while porting it to $DIFFERENT_LANGUAGE).
[0]: https://github.com/ssloy/tinyraytracer
What are some alternatives?
tinygl - TinyGL : a Small, Free and Fast Subset of OpenGL*
Open3D - Open3D: A Modern Library for 3D Data Processing
GLM - OpenGL Mathematics (GLM)
vello - An experimental GPU compute-centric 2D renderer.
tinyrenderer - A brief computer graphics / rendering course
sdl2-demo - sdl2 platformer game blank repository
rusterizer - Bare-bones software renderer written in Rust
sightpy-weekend-raytracer - This raytracer is a versatile implementation of Ray Tracing in One Weekend Book Series which uses Python as the interface for the scene description
RetroFPSStudio - The public repo of Retro FPS Studio (RFS), for educational reading and not for reuse. See license.
ApolloRaytracer - A hobby Blinn-Phong shaded ray-tracer written in C++
datoviz - ⚡ High-performance GPU interactive scientific data visualization with Vulkan
appleseed - A modern open source rendering engine for animation and visual effects