Commit Graph

22 Commits

Author SHA1 Message Date
3e414881d9 Fix global light direction 2024-08-17 11:49:56 +01:00
2f126f95ff Implement camera movement 2024-08-12 00:24:12 +01:00
643da4e58d Implement shading based on vertex normals 2024-08-11 19:53:07 +01:00
d323c0ae14 Load vertex normals indices 2024-08-11 19:39:31 +01:00
e01c1397bc Load model normals 2024-08-11 19:33:32 +01:00
46ca6bfa10 Rename NULL_MODEL macro 2024-08-11 19:31:14 +01:00
91c4721c46 Make vector types public and remove unnecessary Vertex and TexCoord 2024-08-11 19:28:17 +01:00
b4210da399 Implement perspective projection 2024-08-11 17:58:38 +01:00
34d0d17b76 Add perspective projection support 2024-08-11 17:57:56 +01:00
fee04607a7 Add V4f, Mat4x4f and a basic static camera matrix 2024-08-11 17:56:31 +01:00
1ad2ca1a47 Fix checking barycentric coordinates 2024-08-10 17:38:13 +01:00
1ab8c964bf Implement rendering model with texture 2024-08-04 20:05:45 +01:00
f024d51d85 Implement Z buffer 2024-08-04 17:53:52 +01:00
4eb2ae06f1 Create generic buffer type 2024-08-04 16:52:02 +01:00
bce85c5c71 Prep for adding z buffer 2024-08-04 14:38:52 +01:00
c3c0dd732e Add shading 2024-07-31 23:05:39 +01:00
5f44936dcd Add support for randomising colours 2024-07-31 22:11:11 +01:00
dc09a45085 Fix filling triangles 2024-07-28 23:09:16 +01:00
5a24809935 Initial implementatin of barycentric coordinates 2024-07-28 22:43:00 +01:00
6537753a3a Start implementing filled rendering 2024-07-28 20:31:48 +01:00
3f04b7b5b0 Refactor to add render types 2024-07-28 20:10:59 +01:00
e266879a4f Add model loading from OBJ and wireframe rendering 2024-07-20 19:41:21 +01:00