Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 20:05:02 +00:00
0323fa2a8f Update README.md
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 20:04:20 +00:00
1cebb9d29f Add screenshot from the raytracer
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 19:50:11 +00:00
a7dda028aa Implement ability to move and rotate camera
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 19:07:44 +00:00
c2560ccbdd Refactor and add reflections
6d8f332500 Improve readability
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-02-04 00:21:40 +00:00
4914f8eb71 Define custom EPSILON
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