Commit Graph

36 Commits

Author SHA1 Message Date
Faerbit
47bcf0bf1c Moved glEnables to graphics.init(). 2015-03-01 16:41:46 +01:00
Jasper
75792a5723 added debug Camear (keys L and K to switch) 2015-02-13 15:46:00 +01:00
Steffen Fündgens
e91d045a37 Code rework. Basically cleaned up a mess of tabs and whitespaces. 2015-02-13 13:46:41 +01:00
Faerbit
4d3db6f285 Updating lights only every half a second now, for performance. 2015-01-26 00:06:31 +01:00
Faerbit
81f94ba221 Moved all GLFW related stuff to the main files. 2015-01-25 23:29:37 +01:00
Faerbit
4c5bbb3c73 Changed comment. 2015-01-25 23:07:49 +01:00
Faerbit
e531ede144 Init graphics with the level instead of passing it to the render function everytime. 2014-12-15 01:05:46 +01:00
Faerbit
27c2248117 Implemented basic shadows for sun light. Also fixed bug with far plane always staying the same. 2014-12-04 01:13:59 +01:00
Faerbit
eb90142e81 Moving shader management completely into graphics. 2014-12-01 17:49:59 +01:00
Faerbit
b49f93afd4 Removing spammy comments. 2014-12-01 17:44:58 +01:00
Faerbit
2d7165da66 Removing useless includes. 2014-12-01 17:40:06 +01:00
Faerbit
259e6c88f2 Removing useless includes. 2014-12-01 12:58:04 +01:00
Faerbit
0333e3c074 Moving application class to it's own file. 2014-12-01 12:41:19 +01:00
Faerbit
63d3c468f3 Let member function use it own class and not the global variable. 2014-12-01 12:33:00 +01:00
Faerbit
8af201fd2f You can render objects with multiple shaders now. 2014-11-28 00:17:56 +01:00
Faerbit
5aaf8f5d9f Changed how windows focus is handled. 2014-11-25 16:01:13 +01:00
Faerbit
22c9a7a936 Changed skybox to skydome. 2014-11-22 00:39:58 +01:00
Faerbit
c7518a7f8e Added skybox and refined fog a bit. Fog still needs a lot of work. 2014-11-21 02:38:03 +01:00
Faerbit
7f0a493a01 Moving far plane a bit further. 2014-11-19 00:59:02 +01:00
Fabian Klemp
f1a2aeb7ab Merge branch 'master' of github.com:Faerbit/swp 2014-11-17 16:16:13 +01:00
Fabian Klemp
f87af894c1 Added alpha shading. 2014-11-17 16:15:56 +01:00
Jasper
1e7c7989de further improving physics and interaction 2014-11-17 16:07:40 +01:00
Steffen Fündgens
fb04712bfb Merge branch 'master' of github.com:Faerbit/swp 2014-11-17 13:36:09 +01:00
Steffen Fündgens
9024d29d12 Reorganizing file structure. 2014-11-17 13:36:05 +01:00
Jasper
cac4672c7c Implimented a basic version of Physics into level with a ball colliding with a static plain. 2014-11-17 12:57:16 +01:00
Faerbit
3ddcb72d5a Reenabling resizeCallback. 2014-11-15 15:19:48 +01:00
Faerbit
450fb12e1d Mapping scroll wheel to camera distance. 2014-11-15 14:57:01 +01:00
Faerbit
213a936fbb Changing how Attribute locations are looked up. 2014-11-15 13:45:05 +01:00
Faerbit
b32bf02b21 Fixing call for hiding mouse cursor. 2014-11-15 11:02:22 +01:00
Faerbit
3916e58efc Adding namespacing. 2014-11-14 23:11:35 +01:00
Faerbit
29ee7268ad Should hide the cursor(doesn't for me. 2014-11-14 22:54:27 +01:00
Fabian Klemp
04234b1f1c Made mouse control camera. (Stupid init of camera...) 2014-11-14 18:33:42 +01:00
Fabian Klemp
7b331edff9 Reorganized code quite a bit. Resizing is deactivated currently. 2014-11-14 16:47:47 +01:00
Faerbit
0311767651 Increasing default resolution. 2014-10-20 18:18:36 +02:00
Faerbit
083f4785ae Organizing Code. (Deleted lookAt as it is available as part of GLM.) 2014-10-20 18:16:47 +02:00
Faerbit
6c712579d8 Import of '003-basic-texturing'. 2014-10-20 17:31:26 +02:00