Commit Graph

17739 Commits

Author SHA1 Message Date
Benau
8a5e28251e Fix mingw build 2017-04-02 14:55:55 +08:00
Benau
adf889a885 End vorbis encoder thread more properly 2017-04-02 10:36:21 +08:00
Benau
ab2ce24914 Reduce cpu usage 2017-04-02 10:28:46 +08:00
Deve
9bde708155 Tweak generate assets script to save few Mbytes in the apk.
Musics are still not-that-bad while they take less space.
2017-04-02 00:19:13 +02:00
Benau
9bfe4200c4 Only use TJFLAG_FASTDCT if supported 2017-04-02 00:43:31 +08:00
Benau
7f23d062b7 Use turbo jpeg for compression 2017-04-01 16:41:06 +08:00
Benau
8a8b388170 Allow pulseaudio to be loaded dynamically 2017-04-01 15:21:58 +08:00
Benau
294aa3ad48 Allow recording 16bit pcm data with any channels 2017-04-01 11:02:14 +08:00
Benau
cfea104a50 Apply camera fix from Stragus 2017-04-01 10:33:48 +08:00
Benau
cacbdbd668 Allow recording audio in windows using wasapi 2017-04-01 00:52:38 +08:00
hiker
794f1b59ed Removed unused code. 2017-03-31 23:30:55 +11:00
hiker
db31237d19 Removed old workaround for uneveness in tracks, which contributed
to karts sometimes being able to drive up walls.
2017-03-31 23:13:38 +11:00
Benau
29d0839162 Move libvpx parameters to user config 2017-03-31 12:22:21 +08:00
Benau
21ff135b04 Merge remote-tracking branch 'origin/master' into advanced_recording 2017-03-31 11:50:24 +08:00
Benau
9039324145 Allow muxing into webm using libwebm 2017-03-30 13:30:21 +08:00
hiker
1cd5bb66c9 Try to better handle small 'gaps' (or perhaps floating point
rounding errors) in tracks that can cause odd physics behaviour
(e.g. being able td drive upp the walls).
2017-03-30 00:08:30 +11:00
hiker
6f293af93a Merge branch 'physics-tweaks' of github.com:supertuxkart/stk-code into physics-tweaks 2017-03-29 08:49:51 +11:00
hiker
3da2c07d62 Enable friction to be changed per wheel: previously sliding was only
enabled once the whole kart chassis was tilted enough, but karts could
still end up driving on a wall (one wheel on a wall would not tilt the
chassis enough to trigger sliding, but give the kart an up velocity
which allowed it to drive on the wall). Friction is now determined
by the normal of the triangle hit by the raycast.
2017-03-29 08:32:50 +11:00
Deve
af98b526d6 Give few more fps in GLES renderer by pre-computing diffuse/specular color 2017-03-28 22:15:33 +02:00
QwertyChouskie
0123228c20 Set menu FPS to 60 (#2823)
Smoother, see https://github.com/supertuxkart/stk-code/issues/2302.
2017-03-27 21:56:20 -04:00
hiker
2875e7ca6f Revert "Comment out caching so that appveyor can download new dependencies."
(which should have been done on master).

This reverts commit 2819801c7e.
2017-03-28 12:20:17 +11:00
hiker
a3544735db Re-enable caching now that appveyor has downloaded the new dependencies. 2017-03-28 11:00:33 +11:00
hiker
345d9c3ef1 Comment out caching in appveyor config to allow it to download new dependency package. 2017-03-28 10:44:12 +11:00
hiker
2819801c7e Comment out caching so that appveyor can download new dependencies. 2017-03-28 10:42:37 +11:00
Benau
df758669d3 Use high resolution timer for AV sync 2017-03-28 00:44:12 +08:00
Deve
0f9151e5d2 Move recording settings to separate group 2017-03-27 00:31:55 +02:00
Deve
075afde636 Fixed kart particles for GLES with disabled advanced lighting 2017-03-27 00:25:39 +02:00
Deve
a7f0d3762c Some fixes for GLES renderer.
- Don't use BGRA format at all. It doesn't work with non-typical cases (i.e. with srgb or compressed textures) and also casues artifacts on some android devices. I kept the extension in central settings, but it probably won't be used.
- Use sRGB texture format when advanced lighting is enabled. This makes it closer to the original OpenGL renderer and also avoids to have even more #ifdef's for sRGB conversions.
- Keep RGBA textures for non-advanced lighting to make it simpler.

Now advanced lighting in GLES looks almost the same as in OpenGL 3.x (without shadows/GI)
2017-03-25 22:23:46 +01:00
Benau
be103dd666 Implement real time vp8 encoding 2017-03-25 16:30:41 +08:00
Deve
5931e20f8b Use highp precision qualifier.
For OpenGL 3.x renderer it only matters for some buggy drivers (i.e old AMD driver that complains about missing precision qualifier). Based on specification is should have no effect and was added for compatibility with GL ES.

In our case vertex and fragment must have the same precision because we use common header for both shader types and the precision for uniform variables must match.
Also "precision highp float;" is defined by default for both vertex and fragment shaders, so it seems to be more proper.

This will hopefully solve the problem with nvidia driver that tries to use f16vec4 instead of just vec4, see:
https://forum.freegamedev.net/viewtopic.php?f=17&t=7397&sid=06682ddb05ee9fbf48a2984d0bd48d5b
2017-03-24 22:21:09 +01:00
Benau
a68c085e95 Use pulseaudio + vorbisenc for sound recording (linux for now) 2017-03-24 21:51:17 +08:00
hiker
9fdd39b075 Removed unused code. 2017-03-24 16:35:45 +11:00
Marianne Gagnon
8461ffcc68 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-03-23 21:03:10 -04:00
Marianne Gagnon
b85d84c9dd Remove outdated Apple-specific code 2017-03-23 21:02:16 -04:00
Benau
372ce6923c Log in terminal if recording isn't supported 2017-03-24 08:51:42 +08:00
hiker
6c35c08474 Increased suspensoin stiffness to offset the reduced impulse casued
by removing the '*f' factor (seee 9a5eec3761).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
b26d833e84 Fixed compiler warnings. 2017-03-24 08:41:17 +11:00
hiker
f35b9c9480 Try setting kart (vs track specificially) friction to 0, and
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11:00
hiker
b8655e53cc Added support to modify the angular factor of a kart. The angular
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
Benau
2660a5b332 Allow message queue to be able to do linebreak
Also set "/" and "\" to be breakable
2017-03-23 00:51:50 +08:00
Benau
aecb1a97ce Update license of img.h as Stragus said in IRC
Also remove unneeded file
2017-03-23 00:12:06 +08:00
Benau
81c6735ba2 Fix when getNumProcessors return 0 2017-03-22 20:47:34 +08:00
deve
a3a8289836 Fixed a hang on startup under cygwin 2017-03-22 13:17:04 +01:00
deve
4df773d283 Some fixes in cmake.
Note that you need updated dependencies on windows.
2017-03-22 10:24:33 +01:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Benau
41e66bef37 Allow keeping target name after changing resolution 2017-03-22 12:44:32 +08:00
Benau
9a69859c8f Fix crash when deleting AVIWriter with file closing 2017-03-22 11:34:42 +08:00
Benau
7e9f723038 Allow recording video with ctrl + printscreen 2017-03-22 10:43:02 +08:00
Benau
4b663a08ce Use array deallocation 2017-03-22 09:58:22 +08:00
Benau
9034d89a31 Add the missing clear() 2017-03-22 09:53:02 +08:00