|  | 72ab9f6aa2 | Reformat main | 2024-09-14 00:54:32 +01:00 |  | 
			
				
					|  | 15a471f911 | Reformat main | 2024-09-14 00:51:24 +01:00 |  | 
			
				
					|  | ab8343e749 | More reformatting | 2024-09-14 00:22:36 +01:00 |  | 
			
				
					|  | 09e9f611f8 | Reformat | 2024-09-14 00:04:31 +01:00 |  | 
			
				
					|  | fb1b8457d6 | Reformat | 2024-09-13 23:58:31 +01:00 |  | 
			
				
					|  | ab71bbc438 | Add testing depth shader | 2024-09-13 23:55:47 +01:00 |  | 
			
				
					|  | 95895750e8 | Split shaders code to separate files | 2024-09-13 23:55:11 +01:00 |  | 
			
				
					|  | 98323da649 | Reformat and reorganise before writing shadow code | 2024-09-13 23:54:46 +01:00 |  | 
			
				
					|  | c739864489 | Update variable names | 2024-09-13 12:57:15 +01:00 |  | 
			
				
					|  | f45e30620f | Reorganise resources | 2024-09-13 12:56:26 +01:00 |  | 
			
				
					|  | dcbda91730 | str8_substr returns copy of the string | 2024-09-13 02:57:06 +01:00 |  | 
			
				
					|  | 80f20a06cd | Reformat | 2024-09-13 02:48:45 +01:00 |  | 
			
				
					|  | c12c212843 | Update resources | 2024-09-13 02:34:18 +01:00 |  | 
			
				
					|  | 1223e55db1 | Pass model as a CLI arg | 2024-09-13 02:33:41 +01:00 |  | 
			
				
					|  | 351b7e9d42 | Rename variable | 2024-09-06 19:00:17 +01:00 |  | 
			
				
					|  | b57ec11598 | Ensure intensity is clamped | 2024-09-01 23:02:05 +01:00 |  | 
			
				
					|  | d750c49f71 | Update result screenshot | 2024-09-01 22:31:00 +01:00 |  | 
			
				
					|  | cf8c681474 | Implement tangent normals and switch to using basic diffuse shader | 2024-09-01 22:30:04 +01:00 |  | 
			
				
					|  | 84fbb711e1 | Add function to invert 3x3 matrix | 2024-09-01 22:28:11 +01:00 |  | 
			
				
					|  | 8c74706fdc | Update head model | 2024-09-01 22:26:04 +01:00 |  | 
			
				
					|  | d851509321 | Update result screenshot | 2024-09-01 02:16:18 +01:00 |  | 
			
				
					|  | e87f780dae | Move vertex and fragment calculations to the shaders | 2024-09-01 02:15:32 +01:00 |  | 
			
				
					|  | 8726c833d4 | Add extra vector and matrix types and operations | 2024-09-01 02:14:25 +01:00 |  | 
			
				
					|  | da495d9e43 | Add array access to Triangle struct | 2024-09-01 02:13:53 +01:00 |  | 
			
				
					|  | 18e9964d33 | Move TRIANGLE_VERTICES constant to constants.h | 2024-09-01 02:13:02 +01:00 |  | 
			
				
					|  | 95d474c956 | Save viewport matrix in a variable | 2024-08-31 22:24:04 +01:00 |  | 
			
				
					|  | 41c30256b7 | Remove unused variable | 2024-08-31 22:23:46 +01:00 |  | 
			
				
					|  | 4b178de784 | Update vector and matrix types | 2024-08-31 22:23:18 +01:00 |  | 
			
				
					|  | bb6b0e3e5d | Change f32x3 to union | 2024-08-31 13:46:12 +01:00 |  | 
			
				
					|  | 97622d0bf7 | Move viewport matrix multiplication out of vertex shader | 2024-08-26 22:30:05 +01:00 |  | 
			
				
					|  | 319bad9659 | Fix barycentric coordinates calculation (#2) Reviewed-on: #2
	* Set up for debugging
	* Replace get_barycentric_coords with different calculation
	* Update commented lines
	* Add V3_ELEM_COUNT macro
	* Change loop in barycentric coordinates calculation function
	* Update debug values
	* Simplify barycentric coordinates function
	* Remove debug lines
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com> | 2024-08-26 17:12:44 +00:00 |  | 
			
				
					|  | 57dcf6457c | Update includes and reorder variables | 2024-08-25 02:47:13 +01:00 |  | 
			
				
					|  | 7671f688a3 | Extra resources for debugging | 2024-08-25 02:45:20 +01:00 |  | 
			
				
					|  | f9851967d8 | Ignore python related files | 2024-08-25 02:43:54 +01:00 |  | 
			
				
					|  | 5dac82ffb7 | Pass float vectors when calculating barycentric coordinates | 2024-08-25 01:33:39 +01:00 |  | 
			
				
					|  | 185f44252f | Flip the Y texture coordinate when loading the OBJ model | 2024-08-25 01:32:54 +01:00 |  | 
			
				
					|  | cee57282cb | Ignore png images in resources dir | 2024-08-25 00:45:46 +01:00 |  | 
			
				
					|  | cdf521f184 | Switch back to using object level normals | 2024-08-24 23:39:19 +01:00 |  | 
			
				
					|  | cab1b538e6 | Update result screenshot | 2024-08-24 23:18:51 +01:00 |  | 
			
				
					|  | afa9bc7468 | Update phong weights | 2024-08-24 23:16:35 +01:00 |  | 
			
				
					|  | 8ccc424b06 | Calculate light direction from position | 2024-08-24 23:16:11 +01:00 |  | 
			
				
					|  | 62aa2fbc3b | Change directional light to point light | 2024-08-24 23:15:38 +01:00 |  | 
			
				
					|  | 22edc89593 | Update wapp submodule | 2024-08-24 19:08:02 +01:00 |  | 
			
				
					|  | 1f5f01d73f | Switch to using tangent normals | 2024-08-24 00:48:46 +01:00 |  | 
			
				
					|  | 798100f138 | Fix Phong specular term | 2024-08-24 00:39:40 +01:00 |  | 
			
				
					|  | aa9c443997 | Update result screenshot | 2024-08-24 00:29:20 +01:00 |  | 
			
				
					|  | 535ead0337 | Change light direction | 2024-08-24 00:28:31 +01:00 |  | 
			
				
					|  | 6f5c094f49 | Use matrices to transform light and normals | 2024-08-24 00:25:41 +01:00 |  | 
			
				
					|  | 996597684b | Add transpose and inverse matrix utilities | 2024-08-24 00:25:18 +01:00 |  | 
			
				
					|  | 4f58fc4803 | Rename create_shader to register_shader | 2024-08-23 22:43:52 +01:00 |  |