9c889c2d9a
Add report, in its current unfinished state
pederbs2019-04-02 23:51:16 +02:00
1402a0cb90
Add textures and models to the repo
pederbs2019-04-02 23:33:34 +02:00
66038cda44
Add timestamped day-night cycle to scene
pederbs2019-04-02 23:28:11 +02:00
81078a6b49
Add ostream operator<< for glm::vec{2,3,4}
pederbs2019-04-02 23:26:53 +02:00
b6f053466d
"Fix" alpha blending in framebuffer
pederbs2019-04-02 23:26:02 +02:00
355aa1d62d
Remove timestamps.h, minor formatting
pederbs2019-04-02 23:25:12 +02:00
e97dfefc96
Add grain to post-shader
pederbs2019-04-01 13:09:09 +02:00
2857b5a31c
Add chromatic abberation to post shader
pederbs2019-04-01 13:08:28 +02:00
e7a0d74312
Add vignette to post shader
pederbs2019-04-01 13:07:39 +02:00
c695d96158
Add depth of field to post shader
pederbs2019-04-01 13:06:50 +02:00
8a48b59c0b
Calculate the focus factor z in the post shader
pederbs2019-04-01 13:05:12 +02:00
f275aef0b0
Add a framebuffer which the scene is rendered to. Render this framebuffer to screen afterwards
pederbs2019-03-31 23:46:05 +02:00
fb9ff7c829
Slightly tweak camera in scene
pederbs2019-03-31 23:41:13 +02:00
d8c56edc93
Add glutil helper for making the post-prosessing shader mesh
pederbs2019-03-31 23:40:10 +02:00
5d07aba7c4
Add some time usage statistics and minor cleanup and formatting
pederbs2019-03-31 23:35:07 +02:00
b29537273b
Add backlights to car, and point components to frontlights
pederbs2019-03-29 10:41:33 +01:00
0f702ea259
Hide trees and grass in the path of the car
pederbs2019-03-29 10:12:31 +01:00
213ef68757
Prettify some of the vector math in scene.cpp
pederbs2019-03-29 10:10:56 +01:00
7f973533e3
Change the scene into a night scene with the car driving along the hill
pederbs2019-03-28 09:41:33 +01:00
faa69754f8
Make the first light color affect the emissive colors, and fix bilinear filtering in PNGImage
pederbs2019-03-28 09:40:40 +01:00
6c7e6de5a8
fix how reflexiveness is applied to materials and scenenodes
pederbs2019-03-28 09:39:38 +01:00
199765e112
Add support for spot lights with a fixed direction in model space
pederbs2019-03-28 09:38:16 +01:00
383d5d3f62
Further separate the render logic and the scene logic
pederbs2019-03-28 09:36:37 +01:00
74ffe23551
Add support for rim backlights
pederbs2019-03-28 09:35:22 +01:00
86118a34f4
Add capabilities to read values from PNGImage as if they where textures
pederbs2019-03-22 23:52:04 +01:00
2164551e25
Cleanup in the shaders, making them look prettier and a bit more optimized
pederbs2019-03-22 23:50:03 +01:00
84cbd5e5c7
Fix transparancy check for nodes
pederbs2019-03-22 18:01:42 +01:00
b4e66809cb
Performance optimizations, caching uniforms and bound textures and avoiding uploding them if they're already set.
pederbs2019-03-22 17:04:23 +01:00
2cac6e1766
Remove noise from timeutils.cpp
pederbs2019-03-22 00:08:03 +01:00
0475f17110
Small optimization, no having to recompute a matrix for all objects
pederbs2019-03-22 00:05:50 +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
pederbs2019-03-16 18:01:10 +01:00
ce277dfce5
Chang the custom node shaders to be inherited by the children if left to nullptr
pederbs2019-03-16 16:42:30 +01:00
32ee578082
Fix insert to normals in generateSegmentedPlane using wrong end iterator
pederbs2019-03-16 16:35:13 +01:00
019bc2919e
Move default values from constructor in SceneNode
pederbs2019-03-16 16:33:20 +01:00
5f705ff11c
Fix tangent and bitangent generation
pederbs2019-03-16 16:32:13 +01:00
3141f6aca0
Allow to set mirror repeat on textures, move texture loading into global scope
pederbs2019-03-16 00:07:54 +01:00
4a9653642e
Add method to generate a plane mesh, planned for heightmaps
pederbs2019-03-15 23:58:43 +01:00