Commit Graph

  • 2e252fb664 Add presentation slides master pederbs 2019-04-08 20:07:48 +02:00
  • b2c33fcade Switch to older method of binding textures in GL, for backward compatibility pederbs 2019-04-08 15:25:13 +02:00
  • 420c052854 Add report build dependencies pederbs 2019-04-07 20:44:10 +02:00
  • 55f9249363 Finish creating the delivery report pederbs 2019-04-07 20:29:35 +02:00
  • 349a7934c4 Add fog events to the day-night cycle pederbs 2019-04-07 20:26:38 +02:00
  • d73da5b2a1 Add in first draft of the final delivery pederbs 2019-04-07 00:18:43 +02:00
  • 95d6981461 Add support for fog into the scene shader pederbs 2019-04-07 00:03:03 +02:00
  • ccdf4ab3c9 Improve assimp compiletime pederbs 2019-04-07 00:02:33 +02:00
  • 44dbde8148 rename report into log pederbs 2019-04-04 14:46:29 +02:00
  • 9c889c2d9a Add report, in its current unfinished state pederbs 2019-04-02 23:51:16 +02:00
  • 1402a0cb90 Add textures and models to the repo pederbs 2019-04-02 23:33:34 +02:00
  • 66038cda44 Add timestamped day-night cycle to scene pederbs 2019-04-02 23:28:11 +02:00
  • 81078a6b49 Add ostream operator<< for glm::vec{2,3,4} pederbs 2019-04-02 23:26:53 +02:00
  • b6f053466d "Fix" alpha blending in framebuffer pederbs 2019-04-02 23:26:02 +02:00
  • 355aa1d62d Remove timestamps.h, minor formatting pederbs 2019-04-02 23:25:12 +02:00
  • e97dfefc96 Add grain to post-shader pederbs 2019-04-01 13:09:09 +02:00
  • 2857b5a31c Add chromatic abberation to post shader pederbs 2019-04-01 13:08:28 +02:00
  • e7a0d74312 Add vignette to post shader pederbs 2019-04-01 13:07:39 +02:00
  • c695d96158 Add depth of field to post shader pederbs 2019-04-01 13:06:50 +02:00
  • 8a48b59c0b Calculate the focus factor z in the post shader pederbs 2019-04-01 13:05:12 +02:00
  • f275aef0b0 Add a framebuffer which the scene is rendered to. Render this framebuffer to screen afterwards pederbs 2019-03-31 23:46:05 +02:00
  • fb9ff7c829 Slightly tweak camera in scene pederbs 2019-03-31 23:41:13 +02:00
  • d8c56edc93 Add glutil helper for making the post-prosessing shader mesh pederbs 2019-03-31 23:40:10 +02:00
  • 5d07aba7c4 Add some time usage statistics and minor cleanup and formatting pederbs 2019-03-31 23:35:07 +02:00
  • b29537273b Add backlights to car, and point components to frontlights pederbs 2019-03-29 10:41:33 +01:00
  • 0f702ea259 Hide trees and grass in the path of the car pederbs 2019-03-29 10:12:31 +01:00
  • 213ef68757 Prettify some of the vector math in scene.cpp pederbs 2019-03-29 10:10:56 +01:00
  • 7f973533e3 Change the scene into a night scene with the car driving along the hill pederbs 2019-03-28 09:41:33 +01:00
  • faa69754f8 Make the first light color affect the emissive colors, and fix bilinear filtering in PNGImage pederbs 2019-03-28 09:40:40 +01:00
  • 6c7e6de5a8 fix how reflexiveness is applied to materials and scenenodes pederbs 2019-03-28 09:39:38 +01:00
  • 199765e112 Add support for spot lights with a fixed direction in model space pederbs 2019-03-28 09:38:16 +01:00
  • 383d5d3f62 Further separate the render logic and the scene logic pederbs 2019-03-28 09:36:37 +01:00
  • 74ffe23551 Add support for rim backlights pederbs 2019-03-28 09:35:22 +01:00
  • 86118a34f4 Add capabilities to read values from PNGImage as if they where textures pederbs 2019-03-22 23:52:04 +01:00
  • 2164551e25 Cleanup in the shaders, making them look prettier and a bit more optimized pederbs 2019-03-22 23:50:03 +01:00
  • 84cbd5e5c7 Fix transparancy check for nodes pederbs 2019-03-22 18:01:42 +01:00
  • b4e66809cb Performance optimizations, caching uniforms and bound textures and avoiding uploding them if they're already set. pederbs 2019-03-22 17:04:23 +01:00
  • 2cac6e1766 Remove noise from timeutils.cpp pederbs 2019-03-22 00:08:03 +01:00
  • 0475f17110 Small optimization, no having to recompute a matrix for all objects pederbs 2019-03-22 00:05:50 +01:00
  • a5bfa4c237 rtags json compile commands export pederbs 2019-03-22 00:05:16 +01:00
  • 97adb2fd3b Add support for transparent mesh sorting pederbs 2019-03-22 00:04:50 +01:00
  • 2ade6919d1 Add texture support for models pederbs 2019-03-22 00:01:14 +01:00
  • 8f7f0313f5 Prettify and embetter the mouse callback in scene.cpp pederbs 2019-03-21 23:58:28 +01:00
  • 8801414e34 rename gamelogic into renderlogic pederbs 2019-03-21 08:41:24 +01:00
  • e0253940bd Move the scene out of gamelogic into scene.cpp pederbs 2019-03-21 01:11:59 +01:00
  • d7df5e5ab1 Minor cleanups and fix spotlights pederbs 2019-03-20 00:21:51 +01:00
  • 4fbf2f296c Move implementation of function from scenenode hpp file to cpp file pederbs 2019-03-19 20:25:23 +01:00
  • 1d7c297257 Minor modifications to the scene pederbs 2019-03-19 20:24:59 +01:00
  • da4d088d9d Add texture coordinates to spheres pederbs 2019-03-19 20:18:13 +01:00
  • 5518d8e7ee Add reflection mapping pederbs 2019-03-19 20:15:13 +01:00
  • 8fc773e0f8 Add material struct, making it easier to apply properties thoughout the scene pederbs 2019-03-19 20:13:51 +01:00
  • 3a6181f239 Revamp color system, again. Moving color components to scene objects instead pederbs 2019-03-19 20:11:52 +01:00
  • 50e3b60c28 Add model loader, modify scene to load a car pederbs 2019-03-18 11:49:46 +01:00
  • 29defbaba9 Add vertex color array pederbs 2019-03-18 11:48:11 +01:00
  • 86f339ef56 Fix CRLF to LF pederbs 2019-03-17 15:30:21 +01:00
  • 54cd22ff57 Add changes to the scene, using the displacement map pederbs 2019-03-17 15:25:37 +01:00
  • c9e4332a65 Add displacement mapping with TBN being affected pederbs 2019-03-17 15:17:44 +01:00
  • 15dfce421e Fix specular light component pederbs 2019-03-16 20:50:39 +01:00
  • 02ab58ecc9 Add in new stuff to the scene pederbs 2019-03-16 20:14:24 +01:00
  • 7135ebab6b Revamp the shader and lighting system pederbs 2019-03-16 20:12:35 +01:00
  • 74d65ee092 Remove old scene pederbs 2019-03-16 20:09:17 +01:00
  • 66458551c6 Add a plain to look at pederbs 2019-03-16 18:03:41 +01:00
  • c699330ab5 Move hudNode out of root node, remove HUD node type, make main loop fetch window size and propagate it though update and render calls pederbs 2019-03-16 18:01:10 +01:00
  • ce277dfce5 Chang the custom node shaders to be inherited by the children if left to nullptr pederbs 2019-03-16 16:42:30 +01:00
  • 32ee578082 Fix insert to normals in generateSegmentedPlane using wrong end iterator pederbs 2019-03-16 16:35:13 +01:00
  • 019bc2919e Move default values from constructor in SceneNode pederbs 2019-03-16 16:33:20 +01:00
  • 5f705ff11c Fix tangent and bitangent generation pederbs 2019-03-16 16:32:13 +01:00
  • 3141f6aca0 Allow to set mirror repeat on textures, move texture loading into global scope pederbs 2019-03-16 00:07:54 +01:00
  • 4a9653642e Add method to generate a plane mesh, planned for heightmaps pederbs 2019-03-15 23:58:43 +01:00
  • 0bd6cdf6a8 Add perlin noise generator pederbs 2019-03-15 21:23:23 +01:00
  • 06e6ce7494 cleanup pederbs 2019-03-15 21:22:41 +01:00
  • eac8fcdf9e Clean up VAO and texture IDs. I don't want to manage those pederbs 2019-03-15 18:06:49 +01:00
  • 1b05c0ac82 Move MV transform of lights from fragmentshader to cpu pederbs 2019-03-15 17:29:59 +01:00
  • da7a29a2d1 Make it possible ot have different shaders along scene graph pederbs 2019-03-15 16:43:51 +01:00
  • 88376587e5 Clean up some types here and there pederbs 2019-03-15 16:34:17 +01:00
  • e00637d46d Make uniforms named pederbs 2019-03-15 16:26:31 +01:00
  • 9378c685a8 Do ex2 pederbs 2019-03-14 12:43:41 +01:00
  • 101792b011 add lodepng properly pederbs 2019-02-19 16:44:04 +01:00
  • 4247ae3659 ex1 done pederbs 2019-02-19 16:16:13 +01:00
  • 4645e40b62 Updated code handout for assignment 2 Bart van Blokland 2019-02-18 17:52:50 +01:00
  • 5047f2b506 Fix for incorrect normals Bart van Blokland 2019-02-15 21:55:06 +01:00
  • a430863701 Initial release bartvbl 2019-02-04 18:32:08 +01:00