Commit Graph

844 Commits

Author SHA1 Message Date
Fabian Klemp
60372cf1a1 Only sample shadows from the first light source. 2015-01-30 15:11:00 +01:00
sfroitzheim
4883b753c0 Added new ground tiles for a ruins area to the data 2015-01-30 14:15:07 +01:00
Jasper
198dc0614f fine tuned the camera nad added more comments to physics.cc 2015-01-30 13:32:16 +01:00
Jasper
9c6cd7c59d implimented a rough version of a physics driven camera 2015-01-29 14:10:28 +01:00
Jasper
ae5d31e04c fixed size ratios of objects 2015-01-29 13:39:37 +01:00
Jasper
8620e16681 added a scaling factor to triangle meshes to compensate for diffrent scaling (somehow from bullet, idk) and started adding comments to physics.cc 2015-01-29 13:15:45 +01:00
Faerbit
a3e6da2ada Now mirroring the cube face on their own again. 2015-01-28 17:26:02 +01:00
sfroitzheim
e0d9058aef Fixed some problems with the new bridge (wasn't able to roll onto it) and changed some heightmap heights 2015-01-28 15:49:38 +01:00
sfroitzheim
190df8b936 Added a model for a gate and added it to the scene with some additional level improvements 2015-01-28 15:19:35 +01:00
Steffen Fündgens
ec8767c14c Deleted a torch that had a duplicate ID and let the converter recreate it. Shadows look weirder now. This might be good for debugging the shadows. 2015-01-27 12:25:16 +01:00
Steffen Fündgens
d6ed98b992 Fixed a bug i created in my previous commit. Made output in case of errors more informative. 2015-01-27 12:21:30 +01:00
Steffen Fündgens
ba0677adde Improved user interaction and a little code rework. 2015-01-27 11:50:51 +01:00
Faerbit
114632b015 Small parameter changes. 2015-01-27 11:14:00 +01:00
Faerbit
377372d1c6 Fixed saving of depthbuffer. 2015-01-26 23:11:04 +01:00
Faerbit
7f13e89935 Implemented saving depthbuffer face to png. Doesn't work right now. 2015-01-26 21:48:44 +01:00
Faerbit
65087ece48 Updating lights on creation and also using constant. 2015-01-26 00:18:09 +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
b6a2b0d7b3 Updated Readme.md. 2015-01-25 23:09:23 +01:00
Faerbit
4c5bbb3c73 Changed comment. 2015-01-25 23:07:49 +01:00
Steffen Fündgens
9088bb4561 Rotate parameter for physics.add should now be false if the object has a positionConstraint. 2015-01-23 16:51:09 +01:00
Steffen Fündgens
d25e18ccc6 Corrected spaces. 2015-01-23 16:41:56 +01:00
Steffen Fündgens
ec7250e937 Merge branch 'master' of github.com:Faerbit/swp 2015-01-23 16:04:13 +01:00
Steffen Fündgens
a9ab76ea51 Converter can now reuse IDs of deleted compositions. 2015-01-23 16:02:50 +01:00
Steffen Fündgens
5a860f68c3 Added more exits after errors. 2015-01-23 16:02:10 +01:00
sfroitzheim
c29ced5210 Merge branch 'master' of https://github.com/Faerbit/swp 2015-01-23 14:56:19 +01:00
sfroitzheim
89741cfcb3 Added some walls to the scene properly (weird physics bugs are apparent) 2015-01-23 14:56:02 +01:00
Steffen Fündgens
f2353d670f Fixed a drawing bug for the pointlight shadows. 2015-01-23 14:33:04 +01:00
Steffen Fündgens
e9e7fe1f7c Removed unnecessary bind and clear calls. 2015-01-23 14:22:24 +01:00
sfroitzheim
db3fab3d35 Fixed merge conflicts. 2015-01-23 14:10:35 +01:00
sfroitzheim
56f179e5af Merge branch 'master' of https://github.com/Faerbit/swp 2015-01-23 14:08:38 +01:00
Steffen Fündgens
a4ae90082a Forgot one thing. 2015-01-23 14:08:30 +01:00
sfroitzheim
cfbf1b9208 Merge branch 'master' of https://github.com/Faerbit/swp 2015-01-23 14:07:29 +01:00
sfroitzheim
bdb92b2cf1 Merge branch 'master' of https://github.com/Faerbit/swp
Conflicts:
	Levels/ObjectSetups/Compositions.xml
	Levels/ObjectSetups/Level1.png
	Levels/ObjectSetups/Level1.xcf
	Levels/ObjectSetups/Level1.xml
2015-01-23 14:06:20 +01:00
Steffen Fündgens
f7e097029a Merge branch 'master' of github.com:Faerbit/swp 2015-01-23 14:01:06 +01:00
Steffen Fündgens
00de8c0e82 Fixed mirroring of shadows by inverting coordinates instead of blitting framebuffers(performance...). 2015-01-23 14:00:26 +01:00
sfroitzheim
7c1f0e7960 Merge branch 'master' of https://github.com/Faerbit/swp
Conflicts:
	Levels/ObjectSetups/Level1.xml
2015-01-23 13:56:40 +01:00
Jasper
4c1860429a prepare for peoples 2015-01-23 13:31:19 +01:00
Jasper
47b386296a constraints work. Why? because i said so! 2015-01-23 12:59:28 +01:00
Jasper
1687a56f87 Merge branch 'master' of github.com:Faerbit/swp 2015-01-23 12:06:26 +01:00
Jasper
d1a3c3ac3d readding button -> box 2015-01-23 12:05:43 +01:00
Faerbit
d41149e29e Made progress on point light shadows. Not quite sure what is happening. 2015-01-22 21:21:09 +01:00
Faerbit
9847aa3374 Increased mininum camera distance because the marble got scaled up. 2015-01-20 08:45:52 +01:00
Faerbit
2c9755209a Added slides for milestone 3. 2015-01-20 00:53:55 +01:00
Jasper
099e0c17c7 Merge branch 'master' of github.com:Faerbit/swp 2015-01-19 18:30:12 +01:00
Jasper
650d505e4e Added physics type button. 2015-01-19 18:30:07 +01:00
Jasper
99217ed399 Added light block and changed physics parameters. 2015-01-19 18:28:28 +01:00
Steffen Fündgens
cf836b151a Mirrored rendering of pointlight shadows, so that they are at the correct positions now, but occlude everything. -- Fabian 2015-01-19 18:22:25 +01:00
Steffen Fündgens
1940b72b00 Increased height of the fog, because of new Scaling of the heightmap. -- Fabian 2015-01-19 18:21:29 +01:00
Jasper
65a826f2af some quick updates for the camera before working on buttons 2015-01-19 17:12:58 +01:00