Our great sponsors
-
software-3d-renderer
A software 3D renderer I wrote during a games jam at work. The game is inspired by Monolith's Blood (1997).
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
LearnOpenGL
Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
For a quick intro: https://github.com/ssloy/tinyrenderer/wiki (in C++ but it shouldn’t be hard to write it in C instead)
Only my C++ one I wrote for a games jam is public. It is heavily based on this book.
It should be fairly easy to rewrite in C. Though you will need to find a solution to the 1 level of inheritance for the ECS if you want something more than just a renderer (i.e to create more substantial scenes). I have a similar solution (but for Widget inheritance) here.
If you want to actually learn how to write your own rendering engine, start here: https://learnopengl.com/ but be warned it can be a pretty big undertaking, even with a simple API like GL.
Related posts
- From scratch OpenGL and shaders with raw Xlib
- Tiny Compiler – Writing a Compiler in a Weekend
- Is there space in this field for extreme cases like mine ?
- Trying to learn wgpu
- I have a few months to prepare for an interview. Is there a project that would get me at least part of the way there for the interview?