Commit Graph

17804 Commits

Author SHA1 Message Date
hiker
00bba293ad Merge remote-tracking branch 'origin/master' into physics-tweaks 2017-04-05 23:59:34 +10:00
hiker
6c4f6d1cf5 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-04-05 23:14:29 +10:00
Benau
391d31659b Remove hardcoded 44100 samplerate 2017-04-05 15:43:47 +08:00
Benau
bb529c011e Add message queue for result callback 2017-04-05 12:31:39 +08:00
Benau
1a072d609f Add vp9 encode support, though it encodes very slowly 2017-04-05 01:10:44 +08:00
Benau
85de10ffb5 Fix memory leak 2017-04-04 23:53:44 +08:00
Benau
b7c709c709 Allow muxing mjpeg with vorbis audio with mkv
Not sure if playable in with all players
2017-04-04 16:12:09 +08:00
Benau
b0d0a0739e Add CMake flag to enable / disable recorder 2017-04-04 14:23:04 +08:00
Benau
0bb5bfb930 Don't use dlloaded function in pulseaudio recorder namespace 2017-04-04 12:19:29 +08:00
Benau
ea6719990a Move all recording code into recorder folder 2017-04-04 10:04:55 +08:00
Benau
2d4bfa9fb0 Use shared library for vpx on msvc 2017-04-03 14:32:07 +08:00
Benau
6bc935d085 Try to build 64bit appveyor 2017-04-03 09:20:14 +08:00
Benau
19f88e3939 Allow stk to be built with 64bit msvc
Please use lastest adv_recording_64 branch in repo
2017-04-03 01:33:13 +08:00
hiker
fdcb39b8fc Fix #2812 (non-smooth cannon behaviour). 2017-04-02 21:06:10 +10:00
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