Commit Graph

12417 Commits

Author SHA1 Message Date
Marianne Gagnon
30c11ad6d4 tweak braking config value 2014-08-05 20:10:46 -04:00
hiker
03160e3b7b Increase the brake force the longer the brake key is pressed (before it
took ~1.6 seconds for a kart to stop, now 0.5; while hardly any change to
short brakes to slow down the kart a bit only). Also made the impulse to
keep karts parallel to the ground configurable.
2014-08-06 07:52:02 +10:00
hiker
1ba6537e37 Merge remote-tracking branch 'origin/master' into bumpy 2014-08-05 08:26:05 +10:00
hiker
44da1fb4f2 Keep flying karts parallel to the ground in the physics, not outside.
This avoids odd side effects that happened before (e.g. very bad collisions
with track; problems when dropping karts on rescue on the walldriving branch).
2014-08-05 08:21:52 +10:00
vlj
1abd3b7bac Merge pull request #1439 from konstin/master
fix video options dialog
2014-08-04 21:33:11 +02:00
konstin
03b2379eef fix video options dialog 2014-08-04 21:11:53 +02:00
deve
5511f55dd9 Add fallback if irrlicht won't report any resolution. 2014-08-04 08:39:02 +02:00
hiker
7e65d4d346 Merge remote-tracking branch 'origin/master' into bumpy 2014-08-04 14:29:31 +10:00
hiker
c4928ceb7f Modify suspension parameters and visual positioning of the kart to
test less bumpiness.
2014-08-04 13:54:43 +10:00
Marianne Gagnon
00e6e7bcc2 Fix billboard text scene nodes having wrong rotation when attached to a parent node (.e.g. a kart) 2014-08-03 20:17:11 -04:00
vlj
fb9dc7af74 Fix for travis-ci 2014-08-04 02:08:08 +02:00
Marianne Gagnon
072c118f95 Fix splatting, which had been broken by a recent commit of mine 2014-08-03 20:03:17 -04:00
Marianne Gagnon
346faff845 Clean up video settings dialog. Not a bad attempt vlj but not quite there ;) 2014-08-03 19:57:33 -04:00
vlj
c0e554de30 Remove UBO settings in the options 2014-08-04 01:50:04 +02:00
Marianne Gagnon
bb7d83a89a Merge branch 'NewBillboardText' 2014-08-03 19:49:31 -04:00
vlj
2fcb574c90 Automate UBO fix detection.
It only concerns Intel Sandy Bridge (maybe Ivy Bridge ?) gpu on Windows.
2014-08-04 01:45:08 +02:00
Marianne Gagnon
fd1bde9eeb New billboard text scene node is almost complete now 2014-08-03 19:30:59 -04:00
vlj
00b3049aad Forget to delete 2nd order SH coefficient arrays. 2014-08-04 01:26:35 +02:00
vlj
7f44467f67 Manually delete an IImage *
Ref couting doesnt seem to work on this object.
2014-08-04 01:16:41 +02:00
vlj
6c71334cda Only calculate diffuse coefficient once. 2014-08-04 01:12:45 +02:00
Marianne Gagnon
2ee9a29e11 Use new billboard text node in FTL 2014-08-03 18:19:38 -04:00
Marianne Gagnon
bfc4c43b3a Improve billboard text node 2014-08-03 18:17:25 -04:00
Marianne Gagnon
99135a9a40 Merge branch 'master' into NewBillboardText 2014-08-03 17:59:08 -04:00
Deve
03c3f1dae7 Fixed typo 2014-08-03 22:05:55 +02:00
Deve
b08ff9dedf Update .gitignore file.
Too many builds in one folder ;-)
2014-08-03 21:58:33 +02:00
Deve
15b316a9af xrandr: update width and height params when wanted resolution was not found and we get the default one. 2014-08-03 21:56:16 +02:00
Deve
b15c902aee Get dimensions of best resolution before creating irr device.
I also changed default 800x600 resolution to the size screen because sometimes this resolution may not exist. For example in rotated screens.
2014-08-03 21:50:59 +02:00
Marianne Gagnon
55e880530a bugfix, only use the texture in layer 0 to apply material 2014-08-02 20:33:30 -04:00
Vincent Lejeune
a03a6809f7 Fix strange colors in rtts. 2014-08-02 22:30:48 +02:00
vlj
4b7918021e Try to fix too dark tracks. 2014-08-02 21:43:14 +02:00
Marianne Gagnon
24ff6790f2 Add option to randomize particles start position, and use it on snow, so that snow falls more evenly 2014-08-01 21:17:56 -04:00
Marianne Gagnon
db0241c5e2 more video settings fixes 2014-08-01 20:56:04 -04:00
Marianne Gagnon
5f70471bce Fix previous commit about shadows vs UBOs, had forgotten shadows is an int and not a bool 2014-08-01 20:39:25 -04:00
Marianne Gagnon
2a9d63b7ae Disable shadows when UBOs are off 2014-08-01 20:21:44 -04:00
Marianne Gagnon
edecfbdb59 Ignore minor logging spammed by recent nvidia drivers 2014-08-01 19:19:10 -04:00
Vincent Lejeune
ca30bf7d5a Add screen fallback in case no ubo are here. 2014-08-02 01:02:06 +02:00
Vincent Lejeune
09d0c2eef5 Forget a shader + remove shader output 2014-08-02 00:56:36 +02:00
Vincent Lejeune
58c094917e Use an header included in every shaders. 2014-08-02 00:50:56 +02:00
Deve
67948dfe28 xrandr: add support for rotated screens 2014-07-31 23:13:03 +02:00
hiker
a81f21a27a Applied konstin's bugfix for an editor crash. 2014-07-31 09:28:42 +10:00
Deve
b11fd2aaf6 xrandr: now it seems to work fine. I enable it for testing.
This should be useful for people which have two or more display devices. It changes resolution only on main screen and leaves other screens untouched.

Currently I use screen which is the most on left (or on top). Ideally we should be able to choose in settings which screen we want to use. But support it on all platforms is rather too much of work. We could also detect from which screen STK was executed. This can be done differently on different window managers, but nothing impossible. Maybe in future.

Perhaps we should add fallback using old xrandr method.

BTW. in some specific cases it works better than SDL2 ;-)
2014-07-30 21:30:43 +02:00
Deve
73b45e71c7 xrandr: fixed issue with fullscreen window which was placed in wrong screen in some window managers.
In some cases main screen may have other position than (0, 0) - fixed it.
2014-07-30 21:30:43 +02:00
Vincent Lejeune
f9c7c3db5e Try a fix for intel and kart selection screen. 2014-07-30 01:25:27 +02:00
Vincent Lejeune
f1c29ad26f Port instancing shaders to singleton. 2014-07-30 00:34:00 +02:00
Vincent Lejeune
b935e9316a Update doxygen comment. 2014-07-30 00:10:00 +02:00
Vincent Lejeune
a35c33e4f6 Remove ambient
It's already added in the diffuse env pass
2014-07-29 23:56:48 +02:00
Marianne Gagnon
db26ef3076 More work on billboard text 2014-07-28 19:49:14 -04:00
Marianne Gagnon
f803b01d10 Initial work on billboard text 2014-07-28 19:17:59 -04:00
Marianne Gagnon
3db9b867a6 In artist debug mode, fast-track race start even more, tired of waiting after thunderbird to test 2014-07-28 19:16:32 -04:00
Marianne Gagnon
c2cd32d4de Fix c++2011 logic from previous commit. STK now builds again on my mac, finally! 2014-07-28 19:01:53 -04:00