Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-13 21:43:24 +00:00
5d61e8a616 Add wireframe and solid render types
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-13 21:01:24 +00:00
e236cd8bbe Create vertex_t and move h data to it
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-13 18:32:35 +00:00
b0bf4f593b Add h values for scene_triangle_t
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-13 17:26:37 +00:00
f6f2483b61 Finalise implementing triangle clipping
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-09 23:19:46 +00:00
00e7293b28 Reformat
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-09 23:18:28 +00:00
3c293198bb Start implementing clipping triangles
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-09 22:32:30 +00:00
ae072ec70e Initial implementation of bounding sphere clipping
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-09 18:44:39 +00:00
c3e1aac779 Move scene to raytracer
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-07 22:34:03 +00:00
4430ea872c Increase arena and frame arena capacities
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-07 22:31:05 +00:00
df1620319c Flip camera x rotation controls
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-07 22:19:56 +00:00
26fc513d4a Apply transformation first then project the points
9d929c22ba Add clipping planes to the scene
44c7b6ac1b Add function to multiply 4x4 matrix by 4D vector
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-07 21:06:57 +00:00
7823e92861 Apply projection matrix last to allow for clipping
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-07-07 20:58:52 +00:00
b7101108a4 Add rasteriser_scene_t struct and render_scene function
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-30 13:52:40 +00:00
39f198e342 Add camera controls
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-30 01:40:29 +00:00
b81304e759 Switch to using transformation matrices
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-29 23:09:41 +00:00
9ba7a8c414 Add vec4 types and functions
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-29 23:08:58 +00:00
01c5def71f Fix project_point function
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-29 19:13:54 +00:00
0911b33981 Add another cube instance
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-29 19:05:10 +00:00
946ea9c307 Add model and instance data types
abdelrahman pushed to main at abdelrahman/cg-from-scratch 2024-06-29 18:29:24 +00:00
7f251e7704 Draw cube using vertices and triangles lists
fa5453d399 Add render_object function
7c192d5edf Include vector
Compare 3 commits »