Vincent Lejeune
d5330a8f39
Fix VS2013 "dereferencing null ptr" static analysis error
2014-11-16 04:40:19 +01:00
Vincent Lejeune
8c20e7e8b2
Add begin/end for PtrVector
2014-11-16 03:36:06 +01:00
Vincent Lejeune
882cc0a02e
Revert "Try to rewrite ptr_vector"
...
This reverts commit 0966f30fe9
.
2014-11-16 03:20:16 +01:00
Vincent Lejeune
0966f30fe9
Try to rewrite ptr_vector
2014-11-16 03:16:39 +01:00
Vincent Lejeune
2016fc2ab2
Do not draw instanced first mesh if vertex type is wrong
2014-11-16 01:50:55 +01:00
Vincent Lejeune
1253893043
Fix for OSX
2014-11-16 01:48:40 +01:00
Vincent Lejeune
c2859d24ce
Improved shadow stability
2014-11-15 21:27:15 +01:00
Vincent Lejeune
239a32b1d8
Add mipmap level for shadow
2014-11-15 21:19:17 +01:00
Vincent Lejeune
448f254a2b
Fixes
2014-11-15 21:02:24 +01:00
Vincent Lejeune
7e3c2c4897
Add a shader to blur shadow
2014-11-15 20:37:47 +01:00
Vincent Lejeune
3c42223add
Try graphical restrictions on nvidia old drivers
2014-11-15 03:10:23 +01:00
hiker
8a60550e8b
Prevent online user names starting with 0-9 (for #1471 ).
2014-11-15 12:56:04 +11:00
hiker
92c51f5240
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-15 12:05:43 +11:00
hiker
be461b7a39
Try to fix crash at startup.
2014-11-15 12:05:14 +11:00
Vincent Lejeune
6cc721eaf9
Use CS for gaussian6
2014-11-15 01:11:26 +01:00
Marianne Gagnon
b204de7a8e
Ignore billboard text nodes in physics, fixes #1666
2014-11-14 18:26:48 -05:00
Marianne Gagnon
6c85480010
Do not use 0,0,0 as default sun position when unspecified, as this will give unpredictable results when normalized
2014-11-14 18:09:53 -05:00
hiker
2ec5c3765a
Added a config file which can be used to disable certain graphical
...
options dependeing on card, os, driver version.
2014-11-15 10:06:54 +11:00
Deve
1a3ecf39fe
Fixed crash in track info screen after changing resolution.
...
Widgets after changing resolution are deleted, but TrackInfoScreen object and m_screenshot variable still exsist. Therefore check if it's not NULL isn't enough.
2014-11-14 21:07:12 +01:00
Marianne Gagnon
9fe93e21b9
make nitro emit light. The effect is not perfect yet, but already quite cool
2014-11-13 19:55:21 -05:00
auriamg
f81f1f92e3
Merge pull request #1649 from sachith500/ScriptCache
...
Script cache
2014-11-13 19:47:18 -05:00
Vincent Lejeune
83d5c1e522
Prevent rendering too much point light scattering
2014-11-14 00:57:07 +01:00
Vincent Lejeune
e41ac3c7e5
Fix box particules starting at 0. 0. 0.
2014-11-13 23:37:13 +01:00
samuncle
595785b038
Re enable fog bluring was removed in the previous commit. IMHO without bluring the quality is just awful. The edges looks jagged and it seems we have no AA at all. If this is a performance issue we might need an option for that like: high quality blur. However in my test I didnt noticed a big difference in the framerate. Auria you might want to make better tests
2014-11-13 18:46:20 +01:00
Vincent Lejeune
a6946e9b98
Remove extra blurring step in fog
2014-11-13 18:02:55 +01:00
hiker
753c3d7168
Fixed #1638 (text overflows behind buttons) - partially by removing
...
the confirmation field for the emal address.
2014-11-13 22:42:32 +11:00
hiker
11b884eea4
Made '(handicap)' prefix translate-friendlier.
2014-11-12 18:45:34 +11:00
hiker
25b4d35a65
Merge branch 'perPlayerDifficulties' of https://github.com/Flakebi/stk-code
2014-11-12 15:45:03 +11:00
hiker
78e6a6a6b6
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 13:30:10 +11:00
hiker
f78c7e0779
Fixed compiler warnings.
2014-11-12 13:27:53 +11:00
samuncle
9857eb4621
Try to tweak the lens flare without being too obvious
2014-11-12 01:00:23 +01:00
samuncle
f39ae90b6e
merge with trunk + try to adapt to the new blur system
2014-11-12 00:08:21 +01:00
Vincent Lejeune
09fa1ee3cb
Implement scattering for point light
2014-11-11 22:36:27 +01:00
hiker
8ac0bd6793
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-12 07:56:21 +11:00
Vincent Lejeune
b40cf6f321
tweak value
2014-11-11 21:56:13 +01:00
hiker
4cf93ca322
Fixed compiler warnings.
2014-11-12 07:55:55 +11:00
Vincent Lejeune
bd4fe57524
Use fog start value to determine density
2014-11-11 21:52:54 +01:00
Vincent Lejeune
84affec451
Change fog equation
2014-11-10 22:08:12 +01:00
Vincent Lejeune
85bbc0f8b8
Use variable sigma for blur filter
2014-11-10 21:32:04 +01:00
samuncle
b70f2cd176
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 17:12:45 +01:00
deve
517c828738
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-11-10 12:59:27 +01:00
deve
322dec5419
Fixed mingw compilation in release mode.
2014-11-10 12:57:59 +01:00
hiker
b6b4636861
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-10 22:27:25 +11:00
hiker
ba55fd61dd
Disabled warning messages if the automatically created disabled
...
textures are not in the texture cache.
2014-11-10 22:26:29 +11:00
deve
98411b5568
Fixed compilation.
2014-11-10 10:32:26 +01:00
samuncle
d0caeb3b63
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 06:51:10 +01:00
hiker
5a1dc70a7a
Added some asserts to narrow down #1685 .
2014-11-10 16:40:50 +11:00
hiker
2c5430e66c
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-10 16:33:37 +11:00
hiker
bfe7bff877
Fixed #1680 (notification shown at wrong place after changing resolution).
2014-11-10 16:32:35 +11:00
samuncle
7d71cabc92
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
2014-11-10 01:29:38 +01:00
Alayan-stk
448a7eb94f
Fix issue #1108
2014-11-09 16:54:01 +01:00
Sachith Hasaranga Seneviratne
ebade1f3aa
Disabled callback for now
2014-11-09 18:33:11 +05:30
Sachith Hasaranga Seneviratne
d9b73907fe
Added basic line callback
2014-11-09 18:32:20 +05:30
Sachith Hasaranga Seneviratne
b7beff1406
Added map container for script cache
2014-11-09 17:35:01 +05:30
Sachith Hasaranga Seneviratne
f8cb8c75bb
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptCache
2014-11-09 14:55:46 +05:30
samuncle
e20d8bdcdf
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
...
Keep lens flare updated with trunk
2014-11-08 01:51:40 +01:00
hiker
5401e7f3b7
First try to prevent #1566 : kart chassis appears inside of terrain.
2014-11-08 11:43:06 +11:00
Vincent Lejeune
833f162d1a
Enable m_support_sdsm by default
2014-11-08 01:19:27 +01:00
samuncle
1e547652f7
Merge branch 'master' of https://github.com/supertuxkart/stk-code into lensflare
...
Keep lens flare updated with master
2014-11-07 16:14:11 +01:00
Vincent Lejeune
d7f3198ac9
Merge branch 'sdsm'
2014-11-07 13:42:29 +01:00
Vincent Lejeune
909948c9a4
Implement depth histogram to position cascade split
2014-11-07 13:42:13 +01:00
Vincent Lejeune
cacb008ae6
Prepare compute shader to stretch lightcoord
2014-11-07 13:42:13 +01:00
hiker
3c88898113
Fixed --camera-wheel-debug command line option (better distance
...
computation, no smoothing); removed unused function.
2014-11-07 16:36:03 +11:00
Marianne Gagnon
2c8f86fabd
Intro cutscene fixes
2014-11-05 18:13:47 -05:00
hiker
ce0d713dd3
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-05 23:25:29 +11:00
hiker
884daf9093
Fix #1665 (kart hovering in pyramid after jump) by only cushioning with
...
half the computed impulse.
2014-11-05 22:53:25 +11:00
Flakebi
9dd86c8332
Don't handicap AIs
2014-11-04 23:57:33 +01:00
Flakebi
5a84b471e4
Add 'handicapped' to player name
2014-11-04 23:36:16 +01:00
samuncle
52bc4cebd4
Add the lensflare shader
2014-11-04 21:15:18 +01:00
samuncle
bea2586af3
Preparing lens flare branch
2014-11-04 21:12:26 +01:00
Vincent Lejeune
92ecd01e61
Make cascade split modifiable
2014-11-04 20:53:32 +01:00
Deve
6d07189474
Don't allow doubled tracks in random GP.
...
Otherwise track number limit wouldn't have sense.
2014-11-04 20:27:01 +01:00
Deve
66a1ff2b2b
Don't allow to run locked tracks in random GPs
2014-11-04 20:10:36 +01:00
Deve
e27e7a0132
Reset kart rotation when skidding is broken by rescue animation.
...
Minor improvements with breaking during skidding.
2014-11-04 11:27:07 +01:00
Vincent Lejeune
3eafdd9729
Culling was wrongly disabled
2014-11-04 02:06:17 +01:00
Vincent Lejeune
2f4edb6183
Higher value for zmin
2014-11-04 01:55:10 +01:00
Vincent Lejeune
c93e6c0ee3
Fix shadow glitches in minigolf
2014-11-04 01:48:50 +01:00
Marianne Gagnon
aeed2618a4
Set anisotropic filtering to 16 on highest graphical level, fixes #1655
2014-11-03 17:47:07 -05:00
samuncle
d7caebe847
enable vignette during races
2014-11-03 21:53:44 +01:00
Deve
3cec4b25fb
Set jump animation only if any other animation os not used.
...
It avoids to break eg. win/lose animation.
Remove unused variable.
2014-11-03 16:49:44 +01:00
Deve
01a7094cd8
Don't show jump animation during rescue
2014-11-03 13:32:23 +01:00
hiker
18bcb92afc
Used better variable name.
2014-11-03 21:36:54 +11:00
hiker
150941aad2
Maintain a flag that indicates if the gamepad device name is 'useful'
...
(on windows we might get a dummy name, identical for all gamepads).
Only add a number to the gamepad if the device has a useless default
name.
2014-11-03 16:37:19 +11:00
hiker
ce488aa98f
Removed duplicated A/B handling for xbox/classic xbox; use "thumb button"
...
instead of "stick button", and more switch instead of if.
2014-11-03 13:51:54 +11:00
hiker
e488b61b62
More fixes for classic xbox controller.
2014-11-03 13:43:50 +11:00
hiker
d2d665b449
More fixes for classic xbox controller.
2014-11-03 13:34:23 +11:00
hiker
467bc6b34b
Try to improve xbox classic controller support.
2014-11-03 13:18:45 +11:00
hiker
ff5c3ac65e
Try to identify old xbox controllers.
2014-11-03 12:45:19 +11:00
Vincent Lejeune
17aafae42c
Merge remote-tracking branch 'origin/esm'
2014-11-03 01:02:27 +01:00
Vincent Lejeune
f2da00954d
Check if textureview is available before filtering
2014-11-03 00:57:07 +01:00
Vincent Lejeune
e5b269949a
Use polygon offset
2014-11-03 00:49:52 +01:00
Vincent Lejeune
70f53a0e51
Revert "Reenable again culling for shadows"
...
This reverts commit 61dd0fdc60
.
2014-11-03 00:48:29 +01:00
Vincent Lejeune
61dd0fdc60
Reenable again culling for shadows
2014-11-03 00:29:44 +01:00
hiker
841ae8814e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-03 08:56:19 +11:00
hiker
3f74ed3911
Fixed compiler warnings.
2014-11-03 08:56:01 +11:00
hiker
2462aef75a
Fixed compiler warnings and coding style issues.
2014-11-03 08:55:20 +11:00
hiker
ed10b022d2
Use a group for handicap related config settings.
2014-11-03 08:32:35 +11:00
hiker
0be0d7ee72
Merge branch 'perPlayerDifficulties' of https://github.com/Flakebi/stk-code into Flakebi-perPlayerDifficulties
2014-11-03 06:52:31 +11:00
Vincent Lejeune
ebe11370a2
Reenable bluring
2014-11-02 16:30:44 +01:00
Vincent Lejeune
c5186e3ab3
Use depth in exp space
2014-11-02 16:26:46 +01:00
Vincent Lejeune
b975b63eea
Use proper depth linear value
2014-11-02 16:00:41 +01:00
hiker
6f46f5a8b3
Support for gamepad-specific button/axis names. Added name for xbox
...
controller.
2014-11-02 23:13:49 +11:00
Vincent Lejeune
1ecd8dcf4f
Fix moiré pattern
2014-11-02 02:37:20 +01:00
Vincent Lejeune
f4e0437106
Fix textureview
2014-11-02 02:37:19 +01:00
Vincent Lejeune
6bf5c13bde
Implement shadow blur
2014-11-02 02:37:19 +01:00
Vincent Lejeune
57b6d8e415
Revert "Use MSAA for shadowmap"
...
This reverts commit fce9fe4385aa488a6f02814790022828d5e8f8bf.
Conflicts:
src/graphics/render_geometry.cpp
src/graphics/rtts.cpp
2014-11-02 02:37:18 +01:00
Vincent Lejeune
cedbb32a17
Try to fix incomplete fbo attachement
2014-11-02 02:37:17 +01:00
Vincent Lejeune
4e6a7b5192
Use MSAA for shadowmap
2014-11-02 02:37:17 +01:00
Vincent Lejeune
937eb3baf8
Add trilinear + anisotropic on shadows
2014-11-02 02:37:16 +01:00
Vincent Lejeune
9113aa7a39
Implement Exponential Shadow map
2014-11-02 02:36:10 +01:00
Vincent Lejeune
8588720f6b
Add a check for instance buffer overflow
2014-11-02 01:00:10 +01:00
Vincent Lejeune
5557a0165a
Fix rtt crash
2014-11-02 00:21:54 +01:00
Vincent Lejeune
6aed902ae0
Store depth in color buffer instead of depth
...
This allows for instance to blur it using already existing shaders
2014-11-01 22:38:38 +01:00
hiker
f2e33b1000
Fixed compilation (accidentally added some wip code).
2014-11-01 12:27:09 +11:00
hiker
9f0d1f00ea
Inreased default deadzone to 4096.
2014-11-01 12:22:20 +11:00
hiker
6a296aab62
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-11-01 12:13:44 +11:00
hiker
15e712ba49
iFix #960 : impossible to configure xbox controller. The xbox controller
...
can have a rather huge deadzone, which prevent detection when a axis
was released.
2014-11-01 11:58:04 +11:00
Vincent Lejeune
b80ecb48f4
Merge branch 'cullingdebug'
2014-11-01 00:21:26 +01:00
Vincent Lejeune
aba6c00fc6
Add profiler
2014-11-01 00:12:54 +01:00
hiker
8aac6ca6d0
For now comment out debug messages.
2014-11-01 09:54:21 +11:00
hiker
62ef836e7c
Bugfixes: set number of buttons in the configuration (since it is
...
not saved in the config file), use floating point in desensitizing.
2014-11-01 09:53:13 +11:00
hiker
b992375c58
Added missing initialisation.
2014-11-01 09:51:42 +11:00
Vincent Lejeune
b95fb6d030
Do some kind of hierarchical culling
2014-10-31 23:39:06 +01:00
Vincent Lejeune
7489c7bceb
Use classic scene manager parsing for cull algorithm
2014-10-31 23:38:59 +01:00
Vincent Lejeune
979d872fe0
Remove quick culling
...
Sometimes it returns wrong results
2014-10-31 23:29:42 +01:00
Vincent Lejeune
cf18a8ee20
Display bounding boxes
2014-10-31 23:29:41 +01:00
Marianne Gagnon
9c9c4d2fcf
bugfix: auto-calculate tangents for static-mesh too
2014-10-31 23:29:40 +01:00
Flakebi
9ca1c03480
Applying merges correctly is difficult...
2014-10-31 18:54:52 +01:00
Flakebi
abf7bacfea
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
src/graphics/stkmesh.cpp
src/states_screens/kart_selection.cpp
2014-10-31 16:47:34 +01:00
Sachith Hasaranga Seneviratne
ebb914d0ef
Added basic caching for scripts
2014-10-31 16:23:56 +05:30
hiker
98c8985739
Removed unused constants.
2014-10-31 21:06:26 +11:00
Sachith Hasaranga Seneviratne
9822234fc5
Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptCache
2014-10-31 15:28:05 +05:30
hiker
e9e5cab164
Added option to 'desensitze' joysticks, i.e. make it less sensible
...
at values close to 0.
2014-10-31 16:32:39 +11:00
hiker
22441c1fd8
Forgot to add isAnalog() function for gamepads.
2014-10-31 16:19:31 +11:00
hiker
b56280761f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-31 15:32:26 +11:00
hiker
e2d17bcf88
Added 'isAnalog' functionality to avoid that gamepads on full left/right
...
steering will delay steering because of time-full-steer. Added some
virtual destructors.
2014-10-31 15:18:26 +11:00
hiker
086705ab3e
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-10-31 12:30:44 +11:00
hiker
c72ff275ec
CURRENT can not be defined as result of or-ing the values, since the
...
values are not bit masks.
2014-10-31 12:29:15 +11:00
Vincent Lejeune
a54d03377b
Remove quick culling
...
Sometimes it returns wrong results
2014-10-31 02:16:23 +01:00
Vincent Lejeune
6ea56bb974
Display bounding boxes
2014-10-31 01:46:35 +01:00
Marianne Gagnon
6429d394e5
bugfix: auto-calculate tangents for static-mesh too
2014-10-30 19:57:03 -04:00
hiker
ca6a0accaa
Fixed compilation in release mode.
2014-10-31 09:14:18 +11:00
hiker
4986deebd6
Removed number of axes and buttons from GamepadDevice, and use the
...
values from GamepadConfig instead.
2014-10-31 08:16:15 +11:00
hiker
e9980fcb2f
Completely removed device type, instead use isGamePad() and
...
isKeyboard().
2014-10-30 17:43:50 +11:00
Marianne Gagnon
aac454f846
Fix bug in feature unlocked screen, improve error message
2014-10-29 20:07:01 -04:00
Vincent Lejeune
ee687440c7
Increase shadow filtering
2014-10-29 18:57:39 +01:00
Sachith Hasaranga Seneviratne
2c70eb5cc7
Remove unnecessary engine releases within script engine lifetime
2014-10-29 17:42:58 +05:30
hiker
25bbc06109
Made m_type in DeviceConfig private.
2014-10-29 16:41:26 +11:00
hiker
ce9cfa3bc8
Removed unnecessary #include.
2014-10-29 16:41:04 +11:00
hiker
7b809636d4
Made m_plugged and m_name in DeviceConfig private.
2014-10-29 16:37:27 +11:00