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
Vincent Lejeune
ff5e457869
Fix include in wiimote_manager.hpp
2014-07-29 00:50:40 +02:00
Vincent Lejeune
fca54c8f74
Remove some other emplace_back.
2014-07-29 00:48:14 +02:00
Vincent Lejeune
f31013b4af
Fix include in stkbillboard
2014-07-29 00:40:37 +02:00
Vincent Lejeune
bd7babe11f
Rename cpp2011.h
2014-07-29 00:35:43 +02:00
Marianne Gagnon
6d100a23d8
Force billboard to render in transparent phase, won't work otherwise
2014-07-28 18:29:10 -04:00
Vincent Lejeune
13f22ab1cd
If there is a sphericalHarmonicsTexture, kill ambient.
2014-07-29 00:19:50 +02:00
Vincent Lejeune
b9e56303c1
Try to replace emplace_back() call.
...
Only on some part of the code, need confirmation it works before
propagating.
2014-07-28 23:41:01 +02:00
Deve
46f73e8ecc
Some improvements for xrandr
...
- choose best available refresh rate
- if resolution doesn't exist, choose first available
- other minor changes.
Works fine with Gnome, but I notices some issues on Openbox and Unity.
2014-07-28 19:23:03 +02:00
hiker
dbe722316a
If an addon icon can not be shown, delete the image file (which will
...
trigger a re-download on the next start).
2014-07-28 21:07:39 +10:00
hiker
f6fcb9d8da
Changed return type of getIconBasename() to be a reference.
2014-07-28 21:07:03 +10:00
hiker
d3dbc42174
Fix #1429 (physical objects do not reset when restarting a race).
2014-07-28 16:53:08 +10:00
hiker
425675bdac
Moved check_structure detection from center of kart to the front
...
of the kart (which will work better for a photo finish). Hopefully
no other side effect.
2014-07-28 09:52:44 +10:00