Abdelrahman Said abdelrahman
abdelrahman merged pull request abdelrahman/tinyrenderer#1 2024-08-18 14:28:10 +00:00
Implement shaders
abdelrahman created pull request abdelrahman/tinyrenderer#1 2024-08-18 14:25:27 +00:00
Implement shaders
abdelrahman pushed to shaders at abdelrahman/tinyrenderer 2024-08-18 14:23:40 +00:00
fbf3f17b8f Reorganise code
abdelrahman pushed to shaders at abdelrahman/tinyrenderer 2024-08-18 14:15:43 +00:00
ff207a458e Create shaders
abdelrahman pushed to shaders at abdelrahman/tinyrenderer 2024-08-18 14:15:14 +00:00
891a97739f Refactor shader code and implement fragment shaders
6c275baa20 Ensure pixel coordinates are within bounds
Compare 2 commits »
abdelrahman pushed to shaders at abdelrahman/tinyrenderer 2024-08-18 00:54:11 +00:00
6d6d4781ff Extract shader into its own header
abdelrahman created branch shaders in abdelrahman/tinyrenderer 2024-08-18 00:29:19 +00:00
abdelrahman pushed to shaders at abdelrahman/tinyrenderer 2024-08-18 00:29:19 +00:00
d34c04e157 Start implementing shaders and move vector code to dedicated files
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-17 21:04:55 +00:00
3bbab3f624 Calculate projection matrix from eye and target
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-17 19:28:34 +00:00
a3f0be461b Switch to calculating z buffer from viewport vertices
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-17 19:21:55 +00:00
fdce10a85c Pass vertex as pointer
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-17 15:28:02 +00:00
f77fa5694b Switch to using a viewport matrix
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-17 10:50:16 +00:00
3e414881d9 Fix global light direction
4fa553db47 Correct head normals
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 23:25:41 +00:00
711b9d8558 Update result screenshot
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 23:24:26 +00:00
2f126f95ff Implement camera movement
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 23:24:11 +00:00
4143fd7b05 Fix model normals
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 18:53:24 +00:00
643da4e58d Implement shading based on vertex normals
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 18:39:46 +00:00
d323c0ae14 Load vertex normals indices
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 18:33:43 +00:00
e01c1397bc Load model normals
abdelrahman pushed to main at abdelrahman/tinyrenderer 2024-08-11 18:31:32 +00:00
46ca6bfa10 Rename NULL_MODEL macro