Commit Graph

12941 Commits

Author SHA1 Message Date
vlj
0a6735a6ec Simplify culling. 2014-09-04 03:07:00 +02:00
vlj
4482ed6fc8 Remove aggressive culling 2014-09-04 02:41:13 +02:00
vlj
0cf6345bc2 Revert "Remove unnecessary memory barrier"
This reverts commit b3ad817999.
2014-09-04 02:09:11 +02:00
Vincent Lejeune
b28df0f4d0 Fix skybox shader sampler type. 2014-09-04 01:41:10 +02:00
hiker
7c3164a9c1 Added 'reload' random GP support, fixed 'back' icon on screen. 2014-09-04 09:38:25 +10:00
Vincent Lejeune
05f01c70ea Make m_sync part of irr_driver. 2014-09-04 01:35:08 +02:00
Vincent Lejeune
b3ad817999 Remove unnecessary memory barrier 2014-09-04 01:32:40 +02:00
vlj
059a707196 Fix some uint->float conversion warning. 2014-09-03 23:15:35 +02:00
vlj
25926caef5 Fix GLuint instead of GLuint64 for some handles. 2014-09-03 23:15:26 +02:00
Vincent Lejeune
b3b6b05765 Add profiler counter for rsm 2014-09-03 22:52:16 +02:00
Vincent Lejeune
6f9820b82b Fix skybox filtering 2014-09-03 22:42:18 +02:00
Vincent Lejeune
df1e87b934 Factorise Skybox shader 2014-09-03 22:38:50 +02:00
vlj
9866ecea29 Enable openMP flags in cmake 2014-09-03 17:18:49 +02:00
vlj
61c350ba96 Merge branch 'scenemanager-optimisation' 2014-09-03 17:12:51 +02:00
deve
e57b927c96 Allow to compile STK on Windows using MinGW compiler.
It needs vorbis dll's as additional dependencies.

TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
hiker
12e403b909 Fixed setting of number of AI karts. 2014-09-03 17:19:30 +10:00
hiker
a591ba6778 Fixed setting of reverse in random GPs. 2014-09-03 17:13:20 +10:00
hiker
709583ead5 Removed Random GP dialog. 2014-09-03 17:01:36 +10:00
vlj
2b1c5be315 Use more aggressive culling. 2014-09-03 03:07:45 +02:00
vlj
d51754c237 Fix culling of solid node for good 2014-09-03 02:54:33 +02:00
vlj
55b5194673 Fix culling 2014-09-03 02:41:32 +02:00
vlj
d617e36f22 Fix poly counter with OpenMP 2014-09-03 02:27:47 +02:00
vlj
0bc8befc57 Use Irrlicht culling function 2014-09-03 01:50:23 +02:00
vlj
13e1a40b7b Remove stkinstancedscenenode.h/cpp 2014-09-03 01:33:52 +02:00
vlj
cf85f97315 Fix crash with RSM 2014-09-03 01:29:24 +02:00
Marianne Gagnon
102e517497 Remove manual LOD code, it's now automatic 2014-09-02 18:54:38 -04:00
hiker
0a0609d91f Added GrandPrixData::isRandomGP. 2014-09-03 08:24:11 +10:00
hiker
ae01eaf595 Use track->isRaceTrack(). 2014-09-03 08:16:52 +10:00
hiker
ccdc90f029 Removed while loop with a 'random' abort condition - while it works
it could result in STK hanging if a broken random generator should be
used.
2014-09-03 08:08:41 +10:00
vlj
3083df450f Gather object in instanced calls 2014-09-02 23:23:23 +02:00
Vincent Lejeune
0fa13334ea Increase instance buffer size 2014-09-02 20:18:23 +02:00
Vincent Lejeune
dfbae2ea07 Remove instancing 2014-09-02 20:18:22 +02:00
Vincent Lejeune
3cea173ee2 Check for draw indirect support 2014-09-02 20:18:22 +02:00
Vincent Lejeune
96c2c8c6b7 Add glDrawElementsIndirect support 2014-09-02 20:18:21 +02:00
Stephen Just
050d83540c Use four-channel storage for diffuse/specular RTTs
Mesa doesn't seem to support three-channel texture storage, so
increase to four channels. This supposedly will not negatively
impact performance, and may actually improve it depending on the
driver implementation.

See http://www.gamedev.net/topic/560908-is-float-point-fb-possible-with-opengl/
2014-09-02 08:36:06 -06:00
hiker
c8724632e8 Bugfix: only allow races (i.e. no arenas, or cut scenes) in an
'all tracks' random GP.
2014-09-02 16:40:26 +10:00
hiker
c8500b65cb Fixed compiler warning. 2014-09-02 16:40:00 +10:00
hiker
6982e3d0ae Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-02 09:52:15 +10:00
hiker
06915cc354 Fix compilation on very old mesa versions. vlj, please check. 2014-09-02 09:51:30 +10:00
hiker
7dbfc151bf Added random GP functionality into gp_info screen. Changed GPData
in GPInfoScreen from a pointer to be an object, while this adds
some coping of this object, it removes potential memory leaks.
2014-09-02 09:32:12 +10:00
Vincent Lejeune
480d281f52 Fix crash reported when using plunger. 2014-09-02 01:19:34 +02:00
Vincent Lejeune
0b0cf09dd6 Try to fix build 2014-09-02 01:08:08 +02:00
Deve
57240124ba Rename rain class to weather 2014-09-01 20:18:06 +02:00
Deve
7d0dec5c49 Handle lightning and sound in weather property 2014-09-01 20:18:06 +02:00
auriamg
27fb1f6254 Merge pull request #1493 from marcoll/master
Reset the scroll offset when clearing a dynamic ribbon widget
2014-08-31 19:05:06 -04:00
Marc Coll Carrillo
76b4f929df Reset the scroll offset when clearing a dynamic ribbon widget 2014-08-31 17:54:40 +02:00
Marianne Gagnon
fd1f2537d4 Modify LOD node to use cleaner technique 2014-08-30 21:24:16 -04:00
vlj
5c1b24b4e4 Factorise a common interface to stkmeshscenenode/animatedmesh 2014-08-31 01:18:54 +02:00
Deve
47b46558f2 A bit better formatting in world status 2014-08-30 18:37:57 +02:00
Deve
507d9566a0 Don't start rain sound too early 2014-08-30 18:37:57 +02:00