Commit Graph

899 Commits

Author SHA1 Message Date
Faerbit
1050e6072f Adapted level to new camera implementation. 2014-11-13 17:19:56 +01:00
Faerbit
497a0b060c Added simple camera class. 2014-11-13 17:17:46 +01:00
Faerbit
2ddf01ede2 Removing hard coded values from graphics and moving it into the properties of object and model. 2014-11-13 01:22:33 +01:00
Faerbit
16f4890458 Added a update function to the level which rotates the bunny. 2014-11-13 00:40:28 +01:00
Faerbit
f5a1864472 Added Getters and Setters. 2014-11-13 00:37:27 +01:00
Steffen Fündgens
9cb7278eb3 scaled heightmap height to [0,1] tried to give the heightmap a clor 2014-11-11 13:27:11 +01:00
Steffen Fündgens
c68119d7d0 Merge branch 'master' of https://github.com/Faerbit/swp
didnt pull while debugging terrain.cc
2014-11-11 12:27:15 +01:00
Steffen Fündgens
8eec5fa49e debuged the load function in terrain.cc loading and rendering kind of works (no texture) 2014-11-11 12:22:47 +01:00
Jasper
5424e469ca Changing linking order of Bullet libs. 2014-11-10 17:35:51 +01:00
Fabian Klemp
70ebfd2b65 Fixed cmake include path for bullet. 2014-11-10 16:38:23 +01:00
Faerbit
c38629823d Removed own Shader wrapper, because it does nothing useful. 2014-11-08 02:45:32 +01:00
Faerbit
0754ad09db Ignoring another compiler warning. 2014-11-08 02:36:30 +01:00
Faerbit
d57d3de417 Ignoring specific compiler warning to clean up compiler log. 2014-11-08 02:26:51 +01:00
Faerbit
34d925cdfe Moving material paramters from graphics to material class. 2014-11-08 01:44:24 +01:00
Faerbit
21b144a72b Changing all occurences from texture to material. 2014-11-08 01:17:23 +01:00
Faerbit
31447458aa Removing unnecessary includes. 2014-11-08 01:15:50 +01:00
Faerbit
fdf0201f4d Changing a few lighting parameters. 2014-11-08 01:15:09 +01:00
Faerbit
4c27ef0ae8 Extending texture to Material. 2014-11-08 00:42:58 +01:00
Faerbit
9caad22156 Removing newMain.cc. 2014-11-08 00:29:38 +01:00
Faerbit
6c329b1240 Revert "created new Main class called 'newMain' with Jasper"
This reverts commit 454a004c8f.
2014-11-08 00:28:53 +01:00
Steffen Fündgens
34b39dfff1 made the newMain class into a comment so the programm still runs... 2014-11-07 16:56:57 +01:00
Steffen Fündgens
acf537e026 tried to call the load functions, no success this far 2014-11-07 16:55:56 +01:00
Steffen Fündgens
454a004c8f created new Main class called 'newMain' with Jasper 2014-11-07 16:49:39 +01:00
Steffen Fündgens
c030799799 added 'Levels' folder to point filePaths at 2014-11-07 16:48:29 +01:00
Steffen Fündgens
0ce6a0cfdc made a copy of shader called ourShader because Shader is ambigious 2014-11-07 16:47:11 +01:00
Steffen Fündgens
33b6e10b32 added skeletal constructor to physics.hh 2014-11-07 16:44:12 +01:00
Steffen Fündgens
85c7bc8cb5 changed VertexArrayObject to SharedVertexArrayObject + Bugfixes 2014-11-07 14:06:40 +01:00
Steffen Fündgens
2d1328b96b fixed terrain class and removed load from texture 2014-11-07 13:11:06 +01:00
Faerbit
8dca1705fb Merge branch 'master' of github.com:Faerbit/swp 2014-11-07 11:37:34 +01:00
Faerbit
49acfc4d97 Adding specular part to lighting model. 2014-11-07 11:37:26 +01:00
Steffen Fündgens
44d829e564 added most of the functionallity to make a triangle strip from the heightmap 2014-11-06 19:21:24 +01:00
Steffen Fündgens
8697bf000c added load function to texture 2014-11-06 19:20:13 +01:00
Faerbit
9926ad9252 Proper indentation. 2014-11-05 12:50:25 +01:00
Faerbit
2be57a8c33 Merge branch 'master' of github.com:Faerbit/swp 2014-11-05 12:48:31 +01:00
Faerbit
0e90159b52 Added clean parameter to build script. 2014-11-05 12:46:36 +01:00
Steffen Fündgens
fa65d01b8b implemented reading the heightmap from png 2014-11-04 19:40:35 +01:00
Faerbit
e6912b41ee Made build script adapt to number of cores available. 2014-11-04 12:56:13 +01:00
Faerbit
b74534c62a Only take calculate light contribution with meaningful contributions. 2014-11-04 12:24:19 +01:00
Steffen Fündgens
5d2acc0e53 Fixed a bug in loading the heightmap and added comments 2014-11-04 12:08:47 +01:00
Faerbit
589e0df6ea Shader now respects distance between light source and fragment. 2014-11-04 00:47:35 +01:00
Faerbit
ae949e814f Changed lighting parameters to make the scene more interesting. 2014-11-04 00:46:49 +01:00
Faerbit
0f64538d1e Removed outdated commentary. 2014-11-04 00:45:59 +01:00
Faerbit
e4ba456345 Another update to the Readme.md. 2014-11-03 23:56:34 +01:00
Faerbit
022317b4ad Updated Readme.md. 2014-11-03 23:56:05 +01:00
Faerbit
afbf41ea0d Shading now respects colours. 2014-11-03 23:54:35 +01:00
Faerbit
129866d0d7 Adding two getters. 2014-11-03 23:28:06 +01:00
Steffen Fündgens
925eb62831 implemented loading of the heightmap from a png to unsigned int** 2014-11-03 17:19:22 +01:00
Fabian Klemp
b68a2bb079 Renamed shaders. 2014-10-31 13:06:14 +01:00
Fabian Klemp
769514af88 Got phong shading working. 2014-10-31 12:56:09 +01:00
Faerbit
c505553439 First attempt at Phong shading. Build broken. 2014-10-31 10:38:57 +01:00