I strongly recommend this course “3D Computer Graphics Programming”[1] from Gustavo Pezzi. It walks you through the creation of CPU rasterizer from scratch in C.
I am working through it right now and I enjoy it a lot.
[1] https://pikuma.com/courses/learn-3d-computer-graphics-progra...