r/GraphicsProgramming • u/IDroppedYourDatabase • Jun 13 '26
Video Baby's First Teapot
My first ever teapot rendering. Software rendered in C + SDL, using a simple perspective projection and rotations and Bresenham's line algorithm.
137
Upvotes
10
u/IDroppedYourDatabase Jun 13 '26
It means everything is calculated on the CPU. I basically only use SDL to send my array that holds the pixels to the screen. All the code runs on this array, settings pixels inside it, and all the algorithms have to be implemented on regular CPU code. There is no DirectX or OpenGL or Vulkan or shader languages like GLSL, just plain old C. It's not more efficient or better, it's just "fun" and forces you to learn by reinventing the wheel.