Commit Graph

28 Commits

Author SHA1 Message Date
Faerbit
4ba056c6d9 Correctly intializing farPlane variable in Level. 2015-06-03 02:12:00 +02:00
Faerbit
67b44042bd Made getClosestLights output more lights to take advantage of the higher maxShadowSampleCount. 2015-06-02 21:37:58 +02:00
Faerbit
1ef8047f42 Implemented a function to check how high the maxShadowSampleCount should be. 2015-06-02 21:14:54 +02:00
Faerbit
f389aa2f4a Fixed pointlight shadows not getting rendered correctly. 2015-06-01 00:57:36 +02:00
Faerbit
53e8e6d719 Fixing a memory leak by converting pointers to smart pointers. 2015-05-31 21:17:46 +02:00
Faerbit
b110551db6 Added a parameter to getSurroundingChunks to limit the chunkRenderDistance. 2015-05-28 11:23:27 +02:00
Faerbit
b6467a92a3 Added getSurroundingChunks method to level. 2015-05-27 10:27:08 +02:00
Faerbit
faf19aa424 Should have been in the last commit. 2015-04-25 22:42:44 +02:00
Faerbit
9b89007674 Removing mutexes because threading is going to be implemented differently.(#6) 2015-04-25 22:38:44 +02:00
Faerbit
127ee7a6ca Adding mutex to level. 2015-03-24 20:37:56 +01:00
Faerbit
fc2ce96771 Moving updateClosestLights() to level class. 2015-03-24 19:50:26 +01:00
Faerbit
5546abd24a Adding mutex to entity class. 2015-03-24 19:09:39 +01:00
Faerbit
3de85042d0 Prettified sun rise. 2015-03-21 21:46:58 +01:00
Faerbit
78972a87bf Fixed water plane not getting rendered after introducing rendering queue. 2015-03-21 19:02:24 +01:00
Faerbit
1fd6058eaf Finshed work now sorting objects after loading. 2015-03-21 18:44:08 +01:00
Faerbit
a07a4bbb91 Commiting unfinished work. 2015-03-21 15:05:22 +01:00
Faerbit
2a0cb3ca1d Implemented a renderQueue which is sorted by materials. Not feasible. Closes #12. 2015-03-20 23:45:28 +01:00
Faerbit
43b752ee63 Implemented cross chunk objects. This concludes the chunk render implementation and closes #4. 2015-03-18 08:54:38 +01:00
Faerbit
79223b4c02 Do not render behind the skydome. 2015-03-17 19:10:23 +01:00
Faerbit
ac48ab8cc0 Now also using the correct chunks for the objects and rendering only the chunks which are necessary. 2015-03-17 14:54:18 +01:00
Faerbit
d0fed9a321 Now generating seperate terrain meshes for chunks. 2015-03-17 12:08:49 +01:00
Faerbit
498be94102 Added generation of chunks. 2015-03-17 09:39:42 +01:00
Faerbit
7b742e913f Introduced chunk class. 2015-03-16 16:58:50 +01:00
Faerbit
73f7ec6a70 Removing unsafe deleteObject function. 2015-03-16 16:15:12 +01:00
Faerbit
e06eea7c5d Adding debug key to print the position. 2015-03-15 18:06:24 +01:00
Faerbit
370135fca8 Made heightmap path configurable from level. 2015-03-14 13:00:47 +01:00
Faerbit
9a54c033c0 Changed how key states are handled. 2015-03-12 19:14:14 +01:00
Faerbit
efa2fb5ef5 Changing name of src to game to better communicate what is in it. 2015-03-12 15:08:30 +01:00