Commit Graph

56 Commits

Author SHA1 Message Date
Luca Conte a1e8e465a5 fix light positions 2024-06-25 15:59:57 +02:00
Luca Conte 0792cb6e92 fix input handler and add light cubes 2024-06-25 15:52:15 +02:00
Caenneth eeb374bcee
Merge branch 'main' into inputhandler 2024-06-25 15:20:27 +02:00
Luca Conte ff199a8c06 improve W & S controls 2024-06-24 22:11:17 +02:00
JonasJan2 cd3fb4409b Added comments + includes are now always in the header file (dunno if good but looks good so yeah) 2024-06-24 22:10:45 +02:00
Luca Conte fc473f9603 skybox 2024-06-24 21:38:58 +02:00
JonasJan2 a9d658502a Inputhandelierer outgelagert yessir 2024-06-24 18:33:32 +02:00
Luca Conte 230facb168 Merge branch 'tests' 2024-06-24 16:55:33 +02:00
Luca Wresch 892ded1f97 fixed warnings 2024-06-24 16:49:14 +02:00
Luca Conte 07f0142a1a move S and D relative to looking direction 2024-06-24 16:17:38 +02:00
Luca Conte bbcc7b855a imporve w & s 2024-06-24 15:48:31 +02:00
Luca Conte c7744cce2e Merge branch 'multiple-lights' 2024-06-24 15:30:36 +02:00
Luca Conte b428efe1a3 smooth camera travel 2024-06-24 15:30:14 +02:00
Luca Conte f71b33bb47 add shininess and extra camera perspective 2024-06-24 15:17:36 +02:00
Caenneth db3870b45f fixed max values 2024-06-24 17:00:51 +02:00
Caenneth e5203bbc63 animation for chalkboard 2024-06-24 16:51:03 +02:00
Luca Conte 5426a084b0 increase far plane distance 2024-06-24 15:09:49 +02:00
Luca Conte 2124eb1d68 multiple textures and normal maps 2024-06-24 15:06:02 +02:00
Luca Conte abffb2fe7c multiple lights 2024-06-24 14:39:20 +02:00
Caenneth 4c65103fd6 animation test 2024-06-24 13:27:59 +02:00
JonasJan2 324db7b293 Added assert.h include 2024-06-24 12:58:48 +02:00
JonasJan2 53ae95e466 Assertions 2024-06-24 12:56:34 +02:00
Luca Conte c77359146f fix multiplyAny 2024-06-24 12:21:59 +02:00
JonasJan2 6fefc24a5b attachShader loop now uses numShaders instead of hard coded 2 2024-06-24 08:45:58 +02:00
JonasJan2 a44757cbd6 Added function to compile multiple shaders and prospective code for multiple programs (WIP) 2024-06-22 17:16:51 +02:00
JonasJan2 7142ed2d6a Added new shader struct 2024-06-22 11:24:14 +02:00
Caenneth f83c533f6f added 4 camera positions - can switch between them with 1,2,3,4 keyboard input 2024-06-22 10:19:56 +02:00
Luca Wresch dfa16befec test functions 2024-06-21 19:26:06 +02:00
JonasJan2 20fcc2af63 Capsulation of shader compilation (linking and runtime adjustments WIP) 2024-06-21 12:57:47 +02:00
Caenneth b6a03fe864 added include for assert.h 2024-06-20 18:48:12 +02:00
Caenneth 74a5e24c9a
Merge pull request #1 from Caenneth/read-scene-graph-from-file
Read scene graph from file
2024-06-20 12:39:15 +02:00
Caenneth f38f58a3a8 added scene-graph with chair objects 2024-06-19 21:58:00 +02:00
Luca Conte 7db5240ced enable texture flipping 2024-06-19 18:59:09 +02:00
Luca Conte 976f5eeafc rotate those boxes 2024-06-19 18:15:10 +02:00
Luca Conte 5926b21cd4 change scene graph syntax 2024-06-19 17:34:39 +02:00
Luca Conte 70c611d0d6 read scene graph from file 2024-06-19 17:19:20 +02:00
JonasJan2 94a01bec41 Added comments on math stuff 2024-06-19 12:50:11 +02:00
Luca Conte 14626a5bd5 scene graph logic 2024-06-19 10:51:37 +02:00
JonasJan2 6121598e62 yeet 2024-06-18 13:04:49 +02:00
Luca Conte 3db8817187 Merge branch 'multiple-objects' 2024-06-10 11:13:34 +02:00
JonasJan2 cdc86eebad Added comments :D 2024-06-07 16:03:46 +02:00
JonasJan2 42f8714eb6 Fixed limit of drawable objects (oops), load functions now access the same object count 2024-06-07 15:58:46 +02:00
JonasJan2 40af75ad94 Added a few comments and a function to load a single object multiple times. 2024-06-07 15:31:56 +02:00
JonasJan2 32afa76813 shit is rotating now 2024-06-06 22:55:52 +02:00
Luca Wresch e77be76490 include library for uint 2024-06-06 16:13:55 +02:00
JonasJan2 3436a8b38a VAO and VBO are now stored in the corresponding ObjectData object, to allow for individual manipulation of objects in scene 2024-06-06 12:05:08 +02:00
JonasJan2 73be72585c WIP objecthandler stuff 2024-06-05 14:45:48 +02:00
JonasJan2 4aca5eead4 added test blocks 2024-05-27 18:21:09 +02:00
JonasJan2 cde188de1e new struct for object data and refactoring of reading object files 2024-05-27 15:51:29 +02:00
Luca Conte 5d9ccd1ef1 fix object drawing and stuff 👍 2024-05-27 10:29:26 +02:00