Commit Graph

41 Commits

Author SHA1 Message Date
058dba9276 Add basic list implementation 2024-06-23 01:43:18 +01:00
65dcd66f76 Add line_t struct and update draw_line function 2024-06-22 20:41:57 +01:00
5908cf3063 Move ARR_LEN macro to misc_utils 2024-06-22 20:41:23 +01:00
9f4137dac9 Draw first line 2024-06-22 19:27:30 +01:00
05eb1723ee Add vec_swap macro 2024-06-22 19:27:06 +01:00
3c21e2c471 Update raytracer window title 2024-06-22 18:20:43 +01:00
fc79cb1906 Start on the rasteriser implementation 2024-06-22 17:16:07 +01:00
8fc3a2577a Split scene definition to use it in both raytracer and rasteriser 2024-06-22 16:46:55 +01:00
fbe4513a14 Update c_cpp_aliases 2024-06-22 16:46:37 +01:00
0323fa2a8f Update README.md 2024-02-04 20:04:53 +00:00
1cebb9d29f Add screenshot from the raytracer 2024-02-04 20:04:07 +00:00
a7dda028aa Implement ability to move and rotate camera 2024-02-04 19:49:54 +00:00
c2560ccbdd Refactor and add reflections 2024-02-04 19:07:34 +00:00
6d8f332500 Improve readability 2024-02-04 17:32:57 +00:00
4914f8eb71 Define custom EPSILON 2024-02-04 00:20:54 +00:00
56959990e4 Add shadows 2024-02-04 00:19:11 +00:00
1f5568b63e Refactor trace_ray function 2024-02-04 00:11:20 +00:00
bfdea0fd0c Fix include 2024-02-03 23:21:54 +00:00
f2fdc0d084 Reformat 2024-02-03 22:20:55 +00:00
451aa48b3a Implement specularity 2024-02-03 22:09:12 +00:00
8b9ac28402 Implement diffuse lighting 2024-02-03 19:36:41 +00:00
f34e234609 Define utilities to multiply and divide a vector by a number 2024-02-03 19:18:50 +00:00
0b7ca65967 Add unit vector utilities 2024-02-03 18:36:58 +00:00
a4e67ebc18 Add executable permissions to build scripts 2024-02-03 16:04:20 +00:00
9b22ce61d5 Update colour_t to use a union 2023-12-27 22:03:14 +00:00
0345f90405 Add vector magnitude calculation 2023-12-20 16:37:50 +00:00
2ec654774e Update colours 2023-12-20 00:16:56 +00:00
6b0732980a Create initial raytraced scene 2023-12-20 00:05:49 +00:00
36913bf365 Add vector types and functions 2023-12-20 00:05:27 +00:00
25ff01b815 Add libm to libraries 2023-12-20 00:05:09 +00:00
f0b6771255 Add function to convert from window coordinates to viewport 2023-12-20 00:04:49 +00:00
c5cc8643e1 Explicitly cast screen coordinates in set_pixel 2023-12-18 14:21:20 +00:00
4a0ec9e5e7 Update denormalise function 2023-12-18 14:17:51 +00:00
8a30e64696 Update set pixel to use integers instead of floats 2023-12-18 14:15:18 +00:00
e6a3b73f99 Start working on the raytracer 2023-12-18 13:25:18 +00:00
c836f3758f Implement basic window abstraction 2023-12-18 13:25:02 +00:00
df5557d1fc Update build scripts 2023-12-18 13:24:45 +00:00
dd290f4094 Set up basic build process 2023-12-18 11:02:30 +00:00
d8a44f57ed Ignore .cache 2023-12-18 11:01:48 +00:00
edf3851f20 Ignore build directory 2023-12-18 11:01:32 +00:00
9fa4d4b4ec INITIAL COMMIT 2023-12-18 10:46:32 +00:00