Tiny 3D Engine in C++ and some SDL projects

Written by Walter on 26/05/2022

< >

Finally had some free time to make a port from my old Turbo Pascal 3D Engine to C++.

By ussing SDL it's pretty cross platform. However I've only tested it on macOS. Texture mapping is something I will work on today. And in the future I will most likely start using hardware acceleration using OpenGL or Metal.

Meanwhile you can view the sources and download the mac binary here :
https://github.com/w-A-L-L-e/sdl-3d-engine.

Playing around with SDL some more. I got a nice Screen class that draws pixels fast and is perfect to bring back/port some old-school projects I wrote for computer graphics classes and as a hobby in the 90s.

One of these tiny spinoff projects is a simple analog clock:
https://github.com/w-A-L-L-e/sdl-clock

Another little nifty example is a simple PCX image file viewer:
https://github.com/w-A-L-L-e/pcx_viewer

Back to archive