Commit Graph
18 Commits
Author SHA1 Message Date
austin f1733b42a5 Clean up main render loop 2020-07-01 17:42:58 -07:00
austin 0f73e2cd91 Clean up main engine loop 2020-07-01 17:42:57 -07:00
austin d26e4cb5dc Remove dynamically allocated memory 2020-07-01 17:42:56 -07:00
austin c3c154e4ff Add MTL file loading 2020-07-01 17:42:55 -07:00
austin 21fb0058ad Add bilinear filtering 2020-07-01 17:42:54 -07:00
austin 20402784f7 Add perspective-correct texture mapping 2020-07-01 17:42:53 -07:00
austin 370fb7bce0 Move backface culling out of Mesh struct
In the future the function will be able to take a list of meshes for a
data-oriented approach.
2020-07-01 17:42:53 -07:00
austin 8b9e6b54c8 Add Gouraud shading 2020-07-01 17:42:52 -07:00
austin bf5fabfdb2 Change default make behavior to O3 optimization 2020-07-01 17:42:51 -07:00
austin 0c5cf83748 Convert triangle rasterization to use barycentric 2020-07-01 17:42:50 -07:00
austin d0041c77c4 Modify keyboard input behavior 2020-07-01 17:42:49 -07:00
austin 8ede3f1952 Add inverse z-buffering 2020-07-01 17:42:48 -07:00
austin 63e8bd1b93 Add flat shading with ambient and diffuse light 2020-07-01 17:42:47 -07:00
austin f642b0ec02 Add triangle filling with a solid color 2020-07-01 17:42:46 -07:00
austin 33cb124d77 Implement model-to-screen space transformations 2020-07-01 17:42:45 -07:00
austin c82f690943 Add OBJ file loading 2020-07-01 17:42:44 -07:00
austin b024d821f5 Add platform layer with hooks into engine 2020-07-01 17:42:43 -07:00
austin e3f7b8e781 Initial commit 2020-07-01 17:42:42 -07:00