Commit Graph

45 Commits

Author SHA1 Message Date
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
b6e7b9c213 Rename variable 2024-08-10 18:31:58 +01:00
e472b221c0 Remove unused varaible 2024-08-10 18:28:59 +01:00
fa2857b5d3 Increase model's poly count 2024-08-10 17:50:40 +01:00
ba88c5b27c Make face region higher poly 2024-08-10 17:38:39 +01:00
1ad2ca1a47 Fix checking barycentric coordinates 2024-08-10 17:38:13 +01:00
b111058f31 Rename IS_NULL_MODEL macro 2024-08-09 23:39:56 +01:00
26c1f17a86 Correct obj name 2024-08-09 22:26:06 +00:00
29c53de86e Update resources 2024-08-04 20:06:39 +01:00
1ab8c964bf Implement rendering model with texture 2024-08-04 20:05:45 +01:00
677627d8c9 Add utility to load P6 images 2024-08-04 20:05:30 +01:00
f024d51d85 Implement Z buffer 2024-08-04 17:53:52 +01:00
bd1326d83e Swap arg order for BUF_TYPE macro 2024-08-04 16:54:11 +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
5330e2e82c Remove unused wireframe render 2024-08-04 01:05:33 +01:00
c3c0dd732e Add shading 2024-07-31 23:05:39 +01:00
9f9cc2308d Add math library 2024-07-31 23:05:15 +01:00
5f44936dcd Add support for randomising colours 2024-07-31 22:11:11 +01:00
39b40cdf5f Silence the annoying gRPC logs 2024-07-31 22:03:34 +01:00
dc09a45085 Fix filling triangles 2024-07-28 23:09:16 +01:00
98231b582b Add triangle model for debugging 2024-07-28 23:08:57 +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
c2adf07a1d Load and render head.obj 2024-07-20 19:41:51 +01:00
e266879a4f Add model loading from OBJ and wireframe rendering 2024-07-20 19:41:21 +01:00
f88b74912b Add min, max and clamp utilities 2024-07-20 19:40:59 +01:00
458b32bf5f Fix include 2024-07-20 19:40:35 +01:00
fe5c116c17 Rename LIST_TYPE_NAME to LIST_TYPE 2024-07-20 18:11:45 +01:00
2095580409 Add typed_list 2024-07-20 18:07:56 +01:00
92f8430454 Add example obj model 2024-07-20 17:24:14 +01:00
4baf837256 Move Image struct and add clear image, set pixel and draw_line functions 2024-07-20 17:23:24 +01:00
52d79817ad Add swap and absolute utilities 2024-07-20 17:21:50 +01:00
e39ee53b86 Update .gitignore 2024-07-20 17:21:14 +01:00
fa522b007d Add README.md 2024-07-20 01:17:08 +01:00
05fa3c70fa Add Image struct and initialise main arena 2024-07-20 01:14:30 +01:00
64ec6bfa59 Add util to write p7 image 2024-07-20 01:14:18 +01:00
837cb6e288 Update build script 2024-07-20 01:13:59 +01:00
2beb091a44 Add main file 2024-07-19 21:57:01 +01:00
9131f19c95 Add build scripts 2024-07-19 21:56:45 +01:00
6023cdd756 Update .gitignore 2024-07-19 21:56:31 +01:00
bb497f12c8 Initial commit 2024-07-19 21:56:08 +01:00