Commit Graph

82 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt 2e252fb664 Add presentation slides 2019-04-08 20:07:48 +02:00
Peder Bergebakken Sundt b2c33fcade Switch to older method of binding textures in GL, for backward compatibility 2019-04-08 15:25:13 +02:00
Peder Bergebakken Sundt 420c052854 Add report build dependencies 2019-04-07 20:44:10 +02:00
Peder Bergebakken Sundt 55f9249363 Finish creating the delivery report 2019-04-07 20:29:45 +02:00
Peder Bergebakken Sundt 349a7934c4 Add fog events to the day-night cycle 2019-04-07 20:26:38 +02:00
Peder Bergebakken Sundt d73da5b2a1 Add in first draft of the final delivery 2019-04-07 00:18:43 +02:00
Peder Bergebakken Sundt 95d6981461 Add support for fog into the scene shader 2019-04-07 00:03:03 +02:00
Peder Bergebakken Sundt ccdf4ab3c9 Improve assimp compiletime 2019-04-07 00:02:33 +02:00
Peder Bergebakken Sundt 44dbde8148 rename report into log 2019-04-04 14:47:37 +02:00
Peder Bergebakken Sundt 9c889c2d9a Add report, in its current unfinished state 2019-04-02 23:51:16 +02:00
Peder Bergebakken Sundt 1402a0cb90 Add textures and models to the repo 2019-04-02 23:34:29 +02:00
Peder Bergebakken Sundt 66038cda44 Add timestamped day-night cycle to scene 2019-04-02 23:28:11 +02:00
Peder Bergebakken Sundt 81078a6b49 Add ostream operator<< for glm::vec{2,3,4} 2019-04-02 23:27:59 +02:00
Peder Bergebakken Sundt b6f053466d "Fix" alpha blending in framebuffer 2019-04-02 23:26:02 +02:00
Peder Bergebakken Sundt 355aa1d62d Remove timestamps.h, minor formatting 2019-04-02 23:25:12 +02:00
Peder Bergebakken Sundt e97dfefc96 Add grain to post-shader 2019-04-01 13:09:09 +02:00
Peder Bergebakken Sundt 2857b5a31c Add chromatic abberation to post shader 2019-04-01 13:08:28 +02:00
Peder Bergebakken Sundt e7a0d74312 Add vignette to post shader 2019-04-01 13:07:39 +02:00
Peder Bergebakken Sundt c695d96158 Add depth of field to post shader 2019-04-01 13:06:56 +02:00
Peder Bergebakken Sundt 8a48b59c0b Calculate the focus factor z in the post shader 2019-04-01 13:05:12 +02:00
Peder Bergebakken Sundt f275aef0b0 Add a framebuffer which the scene is rendered to. Render this framebuffer to screen afterwards 2019-03-31 23:47:16 +02:00
Peder Bergebakken Sundt fb9ff7c829 Slightly tweak camera in scene 2019-03-31 23:41:13 +02:00
Peder Bergebakken Sundt d8c56edc93 Add glutil helper for making the post-prosessing shader mesh 2019-03-31 23:40:10 +02:00
Peder Bergebakken Sundt 5d07aba7c4 Add some time usage statistics and minor cleanup and formatting 2019-03-31 23:39:34 +02:00
Peder Bergebakken Sundt b29537273b Add backlights to car, and point components to frontlights 2019-03-29 10:41:33 +01:00
Peder Bergebakken Sundt 0f702ea259 Hide trees and grass in the path of the car 2019-03-29 10:12:31 +01:00
Peder Bergebakken Sundt 213ef68757 Prettify some of the vector math in scene.cpp 2019-03-29 10:10:56 +01:00
Peder Bergebakken Sundt 7f973533e3 Change the scene into a night scene with the car driving along the hill 2019-03-28 09:41:33 +01:00
Peder Bergebakken Sundt faa69754f8 Make the first light color affect the emissive colors, and fix bilinear filtering in PNGImage 2019-03-28 09:40:40 +01:00
Peder Bergebakken Sundt 6c7e6de5a8 fix how reflexiveness is applied to materials and scenenodes 2019-03-28 09:39:38 +01:00
Peder Bergebakken Sundt 199765e112 Add support for spot lights with a fixed direction in model space 2019-03-28 09:38:16 +01:00
Peder Bergebakken Sundt 383d5d3f62 Further separate the render logic and the scene logic
With some cleanup
2019-03-28 09:36:49 +01:00
Peder Bergebakken Sundt 74ffe23551 Add support for rim backlights 2019-03-28 09:35:22 +01:00
Peder Bergebakken Sundt 86118a34f4 Add capabilities to read values from PNGImage as if they where textures 2019-03-22 23:52:21 +01:00
Peder Bergebakken Sundt 2164551e25 Cleanup in the shaders, making them look prettier and a bit more optimized 2019-03-22 23:50:03 +01:00
Peder Bergebakken Sundt 84cbd5e5c7 Fix transparancy check for nodes
The previous method tried to read from meshes which had been freed from memory
2019-03-22 18:02:29 +01:00
Peder Bergebakken Sundt b4e66809cb Performance optimizations, caching uniforms and bound textures and avoiding uploding them if they're already set. 2019-03-22 17:07:41 +01:00
Peder Bergebakken Sundt 2cac6e1766 Remove noise from timeutils.cpp 2019-03-22 00:08:03 +01:00
Peder Bergebakken Sundt 0475f17110 Small optimization, no having to recompute a matrix for all objects 2019-03-22 00:05:50 +01:00
Peder Bergebakken Sundt a5bfa4c237 rtags json compile commands export 2019-03-22 00:05:16 +01:00
Peder Bergebakken Sundt 97adb2fd3b Add support for transparent mesh sorting 2019-03-22 00:04:50 +01:00
Peder Bergebakken Sundt 2ade6919d1 Add texture support for models 2019-03-22 00:01:14 +01:00
Peder Bergebakken Sundt 8f7f0313f5 Prettify and embetter the mouse callback in scene.cpp 2019-03-21 23:58:28 +01:00
Peder Bergebakken Sundt 8801414e34 rename gamelogic into renderlogic 2019-03-21 08:41:24 +01:00
Peder Bergebakken Sundt e0253940bd Move the scene out of gamelogic into scene.cpp 2019-03-21 01:11:59 +01:00
Peder Bergebakken Sundt d7df5e5ab1 Minor cleanups and fix spotlights 2019-03-20 00:21:51 +01:00
Peder Bergebakken Sundt 4fbf2f296c Move implementation of function from scenenode hpp file to cpp file 2019-03-19 20:25:23 +01:00
Peder Bergebakken Sundt 1d7c297257 Minor modifications to the scene 2019-03-19 20:24:59 +01:00
Peder Bergebakken Sundt da4d088d9d Add texture coordinates to spheres 2019-03-19 20:23:16 +01:00
Peder Bergebakken Sundt 5518d8e7ee Add reflection mapping 2019-03-19 20:23:16 +01:00