1
0
Fork 0
Commit Graph

25 Commits

Author SHA1 Message Date
Austin Morlan ab9675508a
Convert hot-loop functions to be inline 2020-07-01 17:43:08 -07:00
Austin Morlan 0203beb367
Modify lighting equations 2020-07-01 17:43:07 -07:00
Austin Morlan 6dcbb35e86
Rename vertex point to vertex position 2020-07-01 17:43:06 -07:00
Austin Morlan bedc30038b
Check depth buffer before texture mapping 2020-07-01 17:43:05 -07:00
Austin Morlan ba68f22bee
Add alpha blending of transparent textures 2020-07-01 17:43:04 -07:00
Austin Morlan abf9e8fa7c
Add specular lighting 2020-07-01 17:43:03 -07:00
Austin Morlan e87546c8b1
Create EngineMemory structure 2020-07-01 17:43:02 -07:00
Austin Morlan 84d096c246
Clean up structs and operators 2020-07-01 17:43:01 -07:00
Austin Morlan b3991a4651
Modify lighting to use a point light 2020-07-01 17:43:00 -07:00
Austin Morlan f1733b42a5
Clean up main render loop 2020-07-01 17:42:58 -07:00
Austin Morlan 0f73e2cd91
Clean up main engine loop 2020-07-01 17:42:57 -07:00
Austin Morlan d26e4cb5dc
Remove dynamically allocated memory 2020-07-01 17:42:56 -07:00
Austin Morlan c3c154e4ff
Add MTL file loading 2020-07-01 17:42:55 -07:00
Austin Morlan 21fb0058ad
Add bilinear filtering 2020-07-01 17:42:54 -07:00
Austin Morlan 20402784f7
Add perspective-correct texture mapping 2020-07-01 17:42:53 -07:00
Austin Morlan 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 Morlan 8b9e6b54c8
Add Gouraud shading 2020-07-01 17:42:52 -07:00
Austin Morlan 0c5cf83748
Convert triangle rasterization to use barycentric 2020-07-01 17:42:50 -07:00
Austin Morlan d0041c77c4
Modify keyboard input behavior 2020-07-01 17:42:49 -07:00
Austin Morlan 8ede3f1952
Add inverse z-buffering 2020-07-01 17:42:48 -07:00
Austin Morlan 63e8bd1b93
Add flat shading with ambient and diffuse light 2020-07-01 17:42:47 -07:00
Austin Morlan f642b0ec02
Add triangle filling with a solid color 2020-07-01 17:42:46 -07:00
Austin Morlan 33cb124d77
Implement model-to-screen space transformations 2020-07-01 17:42:45 -07:00
Austin Morlan c82f690943
Add OBJ file loading 2020-07-01 17:42:44 -07:00
Austin Morlan b024d821f5
Add platform layer with hooks into engine 2020-07-01 17:42:43 -07:00