Where would one even begin if they wanted to build a 3D rendering engine in C?

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • tinyrenderer

    A brief computer graphics / rendering course

  • For a quick intro: https://github.com/ssloy/tinyrenderer/wiki (in C++ but it shouldn’t be hard to write it in C instead)

  • software-3d-renderer

    A software 3D renderer I wrote during a games jam at work. The game is inspired by Monolith's Blood (1997).

  • Only my C++ one I wrote for a games jam is public. It is heavily based on this book.

  • 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.

    WorkOS logo
  • iffe

    An object-oriented UI library for UNIX-like platforms.

  • 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.

  • LearnOpenGL

    Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com

  • 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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts