Commit Graph

1016 Commits

Author SHA1 Message Date
Faerbit
0bee5f915d Removing useless include. 2015-05-26 21:32:37 +02:00
Faerbit
536ffc899e Fixing game not getting scaled correctly in fullscreen. 2015-05-16 13:54:01 +02:00
Faerbit
a56907a956 Fixing crash in fullscreen. 2015-05-16 12:05:37 +02:00
Faerbit
5a1ab063b7 Removing last mutex. 2015-04-25 23:27:12 +02:00
Faerbit
a173e1b9eb Making constant variable constant. 2015-04-25 22:56:11 +02:00
Faerbit
95ce45c944 Make packaging fail if compilation failed. 2015-04-25 22:48:45 +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
40dfbf33d9 Updating loading screen during loading. 2015-04-25 22:29:37 +02:00
Faerbit
96a8943cb7 Protected some functions of graphics with the init_mutex. 2015-04-12 21:56:04 +02:00
Faerbit
b52bef795a Added init mutex to graphics. 2015-04-12 21:51:11 +02:00
Faerbit
9b2ca4d1d3 Made sun brighter during sun rise. 2015-04-12 21:16:17 +02:00
Faerbit
93f790ec22 Simplifing object render method by givin the skydome day texture it's own texture unit. 2015-04-12 21:06:59 +02:00
Faerbit
9b57eb0df1 Moving resizing of loading screen to resize method. 2015-04-12 20:16:24 +02:00
Faerbit
2962acfded Made sun shine through the fog. 2015-03-27 15:05:01 +01:00
Faerbit
d642582956 Protecting some functions with the light_mutex. 2015-03-24 20:41:38 +01: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
2b2e05f009 Protecting all member functions of entity class with the mutex. 2015-03-24 19:12:33 +01:00
Faerbit
5546abd24a Adding mutex to entity class. 2015-03-24 19:09:39 +01:00
Faerbit
796db123b7 Removing useless assignment. 2015-03-24 19:09:14 +01:00
Faerbit
b39e6702cc Changing default init of camera. 2015-03-24 19:08:49 +01:00
Faerbit
6d167a2d2a Removing commented code. 2015-03-24 18:29:28 +01:00
Faerbit
319b57bf7a Removing useless assignment. 2015-03-22 13:49:25 +01:00
Faerbit
300f14c752 Fixing mismatching deallocation. 2015-03-22 13:25:43 +01:00
Faerbit
3de85042d0 Prettified sun rise. 2015-03-21 21:46:58 +01:00
Faerbit
2a2e89d445 Changed when light contributions are not taken into account. Increased FPS. 2015-03-21 20:55:21 +01:00
Faerbit
78972a87bf Fixed water plane not getting rendered after introducing rendering queue. 2015-03-21 19:02:24 +01:00
Faerbit
2a3f976b5e Slight fps increas by reducing the amount the point lights have to render. 2015-03-21 18:57:14 +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
795801faa6 Sped up the lookup of the texture unit. 2015-03-19 18:26:51 +01:00
Faerbit
3680abfba4 Loaded all textures at the beginning of the application. Closes #7. 2015-03-18 16:26:20 +01:00
Faerbit
09282f51fd Changing where uniform are set minimizing the communication with the gpu. 2015-03-18 09:14:09 +01:00
Faerbit
3a2156492e Removing useless light update. 2015-03-18 08:58:24 +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
f9212c9938 Increased renderdistance a bit to prevent popping of chunks. 2015-03-18 08:53:31 +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
a7fb739204 Removing useless variable. 2015-03-17 09:42:51 +01:00
Faerbit
7957b8b555 Reenabling fps display in release build. 2015-03-17 09:41:37 +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
761d25e9c7 Removing unused lua scripts. 2015-03-16 16:14:22 +01:00
Faerbit
1dde41d5f4 Do not update objects which have a mass of zero and can therefore by definition not change position or rotation. 2015-03-16 16:05:36 +01:00
Faerbit
07e036451d Merge branch 'master' of github.com:Faerbit/Saxum 2015-03-16 15:26:40 +01:00
Faerbit
ab7d1c81df Adding parameters to the makeTrinagleMesh to control the area for which it creates the terrain. Also changing most unsigned ints to ints to make said more roboust in use. 2015-03-16 15:26:30 +01:00