Skip to content

michael@malura:~$ developer // data hoarder // nerd // homelab enjoyer

#graphics

Posts

Vorschau der Demo: Raytracing
28.08.2026 Raytracing

One ray per pixel, three balls on a checkerboard, shadows and reflections you can switch on and off. With a ray counter so you can see what each feature costs.

Vorschau der Demo: Bild laden und rendern

From a PNG file to a pixel on screen: chunks and CRC, an SDL_Surface with pixel format and pitch, a texture with nearest or linear scaling, and a CPU loop that…