This is my learning process of Pikuma's 3D Graphics From Scratch course. ($69.99)
Using only SDL2 and a C compiler. No Graphics API, no GPU, no OpenGL, no Metal, no DirectX!
Implement a software-renderer from scratch, draw every pixel on the screen to render a 3D obj model file.
Xcode press Run button
Development environment: using Xcode.
"Setting up SDL 2 on XCode 13.4.1"
-
Third-Party framework need to be code signed before running, a strict restriction enforced by Xcode and macOS recently.
-
Project settings -> General -> Frameworks and Libraries, SDL2.framework, change 'Embed' from 'Do Not Embed' to 'Embed and Sign'
-
you have to clean after every build, see "Weird Problem with XCode, SDL2, and Catalina"
-
Press cmd+option+k to clean the project, after every cmd+r