Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 00:19:19 +00:00
56959990e4 Add shadows
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 00:11:41 +00:00
1f5568b63e Refactor trace_ray function
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-03 23:22:03 +00:00
bfdea0fd0c Fix include
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-03 22:21:01 +00:00
f2fdc0d084 Reformat
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-03 22:09:26 +00:00
451aa48b3a Implement specularity
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-03 19:36:51 +00:00
8b9ac28402 Implement diffuse lighting
f34e234609 Define utilities to multiply and divide a vector by a number
0b7ca65967 Add unit vector utilities
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-03 16:04:38 +00:00
a4e67ebc18 Add executable permissions to build scripts
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-24 23:43:32 +00:00
d73275f04c Add line_from_origin function
f56e6b1bb1 Remove test code
c70f252349 Add absolute, radians and degrees math utilities
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-24 22:44:56 +00:00
8275fce9c6 Update noodle drawing code
a58a315d48 Update test code
04855478fd Add function to calculate line direction
9139dae379 Add square macro
9f700c070d Update build script to link with math library
Compare 6 commits »
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 22:37:58 +00:00
afd09d7742 Remove unused include
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 22:37:33 +00:00
924ed544aa Improve implementation of drawing the noodles
f72497e1b7 Use barycentric coordinates instead of half space for triangle fill
b329e0feb4 Add math utilities
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 19:39:38 +00:00
53d0a4698f Fix moving behaviour
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 03:39:24 +00:00
64f0328966 Rename data types and start implementing drawing quads in ui
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 01:20:18 +00:00
6df11cfdeb Add quad drawing utilities
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-21 00:19:38 +00:00
fa82203681 Add basic function to fill triangle
abdelrahman pushed to main at abdelrahman/compositor-test 2024-01-20 22:22:18 +00:00
63f119c1b2 Refactor UI code into an immediate mode style (#1)
abdelrahman deleted branch immediate-mode-ui from abdelrahman/compositor-test 2024-01-20 22:22:18 +00:00
abdelrahman merged pull request abdelrahman/compositor-test#1 2024-01-20 22:22:17 +00:00
Refactor UI code into an immediate mode style
abdelrahman created pull request abdelrahman/compositor-test#1 2024-01-20 22:21:17 +00:00
Refactor UI code into an immediate mode style
abdelrahman pushed to immediate-mode-ui at abdelrahman/compositor-test 2024-01-20 22:20:16 +00:00
e71c144db6 Finalise implementing compositor behaviour using immediate mode UI
93b79aa643 Add rect and colours to node struct
79b6bc35f0 Delete nodes.c
10149fbdbf Remove predefined colours and allow user to pass colour as param
Compare 4 commits »