Commit Graph

11609 Commits

Author SHA1 Message Date
Deve
4331a5c0a3 Few more checks for assets 2014-05-17 14:37:55 +02:00
hiker
c4ed2fbc7c Merge branch 'master' of github.com:supertuxkart/stk-code 2014-05-16 14:29:06 +10:00
hiker
fd0b017b5f Fixed compiler warnings (m_ssao is bool, not int). 2014-05-16 14:28:12 +10:00
Marianne Gagnon
b049acb81d Make STKMeshSceneNode destructor virtual, as it should 2014-05-15 21:17:01 -04:00
hiker
94457e7a53 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-05-16 09:56:19 +10:00
hiker
7544850012 Merge branch 'solistice-properties' 2014-05-16 09:55:50 +10:00
hiker
636f34160a Finished using Log:: instead of printf, removed separate 'profile'
level, instead use 'profile' as component.
2014-05-16 09:54:32 +10:00
Marianne Gagnon
2b7dc07cda Fix crash-on-second-load bug 2014-05-15 19:41:44 -04:00
Bart Cools
61d9b7a0ea Output of logging profile tests changed to the stdout.log instead of standard output. type of output also changed to space separated values instead of tsv 2014-05-15 18:30:16 +02:00
hiker
f4a5949198 Fixed invalid memory read (thanks to valgrind). 2014-05-15 15:37:23 +10:00
hiker
cc03578056 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-05-15 12:41:35 +10:00
hiker
a3c01a6b2a Merge branch 'master' of github.com:supertuxkart/stk-code 2014-05-15 11:17:36 +10:00
hiker
d3f6aa5e52 Fixed some memory problems reported by valgrind. 2014-05-15 11:17:05 +10:00
Marianne Gagnon
78d8199de8 disable crash reporter in debug mode 2014-05-14 20:10:23 -04:00
Marianne Gagnon
aae7d01e57 Try to make the custom GUI settings popup work on any resolution 2014-05-14 19:29:39 -04:00
hiker
717a989bf8 Fixed --profile-laps command line parameter. 2014-05-15 09:08:18 +10:00
hiker
5966cefed9 Merge pull request #1325 from solistice/properties
small patch for --no-graphics mode and small bug fix
2014-05-15 08:42:31 +10:00
Bart Cools
f521ba0242 fix issue #1328 2014-05-14 17:57:22 +02:00
Bart Cools
6a6ba94a16 added check for --no-graphics argument 2014-05-14 17:37:28 +02:00
Bart Cools
1fdeaf375a Merge branch 'master' of https://github.com/supertuxkart/stk-code into properties 2014-05-14 14:19:08 +02:00
Bart Cools
585b79f555 small patch for --no-graphics mode 2014-05-14 14:06:09 +02:00
vlj
229b461a6c SSAO: Less abrupt transition 2014-05-14 03:26:43 +02:00
vlj
1d4bcd5ade SSAO: Increase beta constant to avoid error 2014-05-14 02:27:17 +02:00
vlj
86c8b9f83d Some tweaking to make ssao more apparent 2014-05-14 02:12:18 +02:00
Marianne Gagnon
474bbb4373 Try to convert icon rendering to new helper function (for GL3 support) 2014-05-13 20:00:16 -04:00
vlj
dd81f02fea Fix for #1324 2014-05-14 01:51:40 +02:00
Marianne Gagnon
9410a0fd90 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-05-13 19:39:42 -04:00
Marianne Gagnon
03ad82267a Fix OSX 10.7 compilation 2014-05-13 19:39:19 -04:00
vlj
0ccac5d316 Replace texture2D by texture in dof.frag 2014-05-14 00:59:51 +02:00
vlj
1073335f4d Fix sun light 2014-05-14 00:50:25 +02:00
vlj
5fd41a2f2c Light: Import distance properly.
Also remove some silly default param for addlight that could make
argument passing not obvious.
2014-05-14 00:32:36 +02:00
Vincent Lejeune
59484ea09a DS buffer is not linear and cant be mipmapped
Use the method provided by SAO paper (ie convert to linear and then
mipmap)
2014-05-13 19:40:30 +02:00
Vincent Lejeune
20959f970a Avoid displacement related fbo bind in non advanced pipeline 2014-05-13 01:12:43 +02:00
Marianne Gagnon
bcc46b149e Remove call to createMeshWelded, now handled in B3D exporter 2014-05-12 19:03:40 -04:00
vlj
26d48cdad0 SSAO: Stronger blur + tweak param
Use another algorithm to have gaussian blur that lets us customise
radius more easily.
2014-05-12 23:59:17 +02:00
vlj
bba9e3ca2c Add a 17 tap blur filter
and use it for SSAO
2014-05-12 20:49:47 +02:00
vlj
967d7a0316 Use mipmap nearest 2014-05-12 20:16:37 +02:00
vlj
8e17ae90b6 Resolution independent ssao 2014-05-12 20:13:12 +02:00
Deve
0b463f5222 Allow to run xrandr instead of vidmode as an option 2014-05-12 20:08:15 +02:00
Vincent Lejeune
96babc81ad Reenable custom light radius 2014-05-12 19:37:00 +02:00
Deve
e8b4926b0b Fixed #1313.
In some cases STK was barely playable because of very low refresh rates (25-30Hz).

This may be caused by last changes in display drivers. I remember that previously refresh rates for resolution were in order from the lowest to the greatest. Now I see it in reversed order.
Irrlicht didn't check refresh rates and always set the last available for specified resolution.

Now we use the highest available refresh rate.

Perhaps we should use xrandr library instead of vidmode. It should be much smarter and maybe would solve some multimonitor issues.
2014-05-12 18:43:36 +02:00
vlj
23ba597a1c SSAO: Use int rounding 2014-05-12 18:39:33 +02:00
vlj
229b72f84a Render SSAO at fullscreen resolution. 2014-05-12 01:06:33 +02:00
vlj
384c9f2c77 Merge branch 'SAO' 2014-05-12 00:35:08 +02:00
vlj
4fcec02123 Remove ssao depth guard. 2014-05-12 00:34:44 +02:00
vlj
7e1625da5e Tweak SSAO params. 2014-05-12 00:30:36 +02:00
vlj
f8544493b6 Improve SSAO perf 2014-05-12 00:14:50 +02:00
vlj
11b7d20ad8 Use the mipmap trick to speed up ssao. 2014-05-12 00:03:42 +02:00
Vincent Lejeune
41e02e0880 Allow depth test on debug physic view 2014-05-11 18:20:30 +02:00
Vincent Lejeune
567974aeed Use dFdX/dFdY to compute normals in SSAO. 2014-05-11 18:09:48 +02:00