1
0
Fork 0
Commit Graph

21 Commits

Author SHA1 Message Date
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 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 e29ad8b418
Add Length function to Vector 2020-07-01 17:42:59 -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 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