Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 23:29:34 +00:00
aa9c443997 Update result screenshot
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 23:28:51 +00:00
535ead0337 Change light direction
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 23:26:24 +00:00
6f5c094f49 Use matrices to transform light and normals
996597684b Add transpose and inverse matrix utilities
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 21:44:12 +00:00
4f58fc4803 Rename create_shader to register_shader
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 21:31:35 +00:00
c91f1b9e9b Use correct default arena init function
3ceafe5899 Update wapp submodule
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-08-23 21:30:17 +00:00
775f0864a8 Rename arena default allocation function
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 20:59:20 +00:00
5eeb7d6819 Switch to using wapp_mem_arena_init_default
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-23 20:52:34 +00:00
ed43a0f286 Use GB macro to define arena size
bf1aa69cf5 Update wapp submodule
8b8855d648 Reformat
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-08-23 20:50:47 +00:00
8b6fb23bac Use size utils in arena tests
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-08-23 20:49:04 +00:00
1fb340561f Add size utils
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 23:08:25 +00:00
0b9a37a9cd Update result screenshot
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 23:06:18 +00:00
2bea7218db Test implementation of phong shader
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 21:30:11 +00:00
afc10fb79a Add rgb elements to V3f
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 21:26:18 +00:00
86138f838c Add default material to model
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 21:20:12 +00:00
ddfeba238d Add PhongMaterial struct
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 21:19:47 +00:00
29749c834a Create FragmentData struct
760d9b6b9c Move shaders declaration to shaders.h
ec98a033eb Add macro for multiplying V3f with scalar
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 20:09:14 +00:00
caa8c416a9 Remove extra intensity calculation
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 20:05:17 +00:00
690eb3d317 Update shaders and ensure coordinates are within buffer bounds
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 16:09:29 +00:00
6239be219a Ensure light is normalised
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-18 16:04:59 +00:00
be7b577a0e Split obj loading and model rendering code