Commit Graph

459 Commits

Author SHA1 Message Date
auria
41b9f6b8f7 After feedback on IRC, make lightning occur les often
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 19:22:44 +00:00
auria
1d60d24d48 Fixed silly copy and paste error in my new code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 17:35:42 +00:00
auria
7ce7daa5ac Added support for external masks; this allows using JPEG even on images that need transparency. Reduced palmacacia from 800 KB to 300 KB using this feature
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 23:52:30 +00:00
auria
b65915a919 Raise ignore level in temp logger; irrlicht 1.8 is a little more chatty than 1.7 so shut it up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:25:31 +00:00
hikerstk
1815b6f223 Added files missing in previous commit (started adding
support for new addon list, but that's work-in-progress).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 12:07:16 +00:00
hikerstk
fa512b8010 Fixed memory leak in LOD node.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 22:38:42 +00:00
auria
950dbd8688 Display the FPS stirng even when waiting for data, sometimes I'd wonder whether FPS display was activated or not...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:47:41 +00:00
auria
8b76268b8b Make vsync configurable in config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:39:52 +00:00
auria
d113bc4104 Added (disabled by default) support for anti-aliasing (edit your config file to get it)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 23:13:33 +00:00
auria
7c729ca6f4 Not sure I should introduce this so close to a release, but anyway let's go, we can disable if it causes issues ;) use LOD on karts : far away karts will not be animated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 20:19:09 +00:00
auria
01154fd6b4 Simplified attachModel method, it was confusing that it has a out-pointer parameter yet returns void
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 19:08:01 +00:00
hikerstk
c6c61f7f3e Missing file in commit 7593.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:43:58 +00:00
hikerstk
e6aa7b0cf9 Used proper base class for setAllMaterialFlags.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:04:26 +00:00
auria
965add53f8 Enable anisotropic filtering for all textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 20:35:12 +00:00
hikerstk
7922459ca6 Fixed falling camera (ticket 102).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 05:38:03 +00:00
hikerstk
79f690aceb Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 05:34:58 +00:00
auria
bfeb8b6f31 Add thunder to lighthouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-15 22:48:59 +00:00
auria
6b3757e6d7 Improved error handling (don't crash when invalid particles are defined)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-15 18:25:27 +00:00
hikerstk
d5d37b26e4 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-10 02:45:31 +00:00
hikerstk
765905b514 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-08 23:59:39 +00:00
auria
3c3a5985cf samuncle suggested to put a slight randomisation in LOD; I'm not convinced it's useful but he's the artist so I listen ;P
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-08 02:54:27 +00:00
auria
be60946f28 Added support for heightmaps in parallax and normal mapping, since that seems to be irrlicht's preferred way to go
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-06 01:13:02 +00:00
auria
9af2cc36eb Add support for parallax mapping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-05 23:04:26 +00:00
auria
f00af38fc7 Make LOD objects visible to the physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-05 20:50:36 +00:00
auria
e869757d7c removed uneeded code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:51:07 +00:00
auria
c08b9b3a7f Add the basic infrastructure to support level-of-detail. Note that at this time the implementation is not the most efficient one can think of so let's not use this widely just yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:11:39 +00:00
hikerstk
4fac382508 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:10:26 +00:00
auria
362514998b Removed uneeded TODO in normal map code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 01:17:17 +00:00
auria
970fb985d3 Fooling around : added simple support for normal maps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 00:58:00 +00:00
auria
a92e888fbb Make slipstream fade in smoothly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-03 03:15:27 +00:00
auria
ffd690a546 Fix harmless warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 02:13:41 +00:00
auria
3a3619750a Artist debug features are now enabled even in release builds, but disabled in config by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 00:04:13 +00:00
hikerstk
16f32c4471 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 22:56:51 +00:00
hikerstk
b36597ba1b Simplified camera settings, fixed jump in camera when rescue is triggered.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 22:35:30 +00:00
auria
04adf0bf63 spread particles a bit on start so that snow is there right when you start playing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 02:15:01 +00:00
auria
2293fdbe80 Make snow follow kart, this should reduce the needed CPU and GPU demand to render snow. Note that the current effect is not perfect, you can 'outrun' snow
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 01:49:35 +00:00
auria
f7f01c144a Stop snowing inside tunnels
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 00:59:02 +00:00
auria
42626329b3 Improve wather splash : 1) remove old unused class 2) the splash should only occur when touching the surface, and not keep on splashing when you're underwater
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 19:49:32 +00:00
hikerstk
6df020f13b Fixed camera in case of an explosion (or rescue).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-22 21:38:49 +00:00
hikerstk
78cd11f881 Simplified computations in camera, which fixes also looking backwards
when going downhill.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-22 21:37:27 +00:00
hikerstk
ac5190c671 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 14:58:11 +00:00
mbjornstk
b8a0ab32b4 Apply camera changes provided by Jesse Smith to have v0.6 camera option.
Feel free to fix any C++ style issues, this saves you fighting with patch or
can be undone quickly by reverting this single commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 05:11:26 +00:00
auria
f531b9fa29 Enhance UnNamed's rotation effect, instead of rotating all cylinders toghether all the time make them receive an initial independent rotation each, IMHO this looks better
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 16:08:02 +00:00
auria
64cc990f7d For some reason, PerCameraNode is acting up in single-player mode, so only use it for rain in multiplayer mode. Fixes rain
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 16:03:07 +00:00
hikerstk
baec93e460 Fixed uninitialised variable in rain.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 12:29:05 +00:00
hikerstk
745bea6285 Applied and fixed MiniBjorn's support for pre-mul textures by setting adjust-image=premultiply or
adjust-image=divide in material.xml
But big question: can't we just modify the textures externally and use them, 
instead of doing this at runtime?


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 06:07:38 +00:00
hikerstk
66ff37eb80 Use normal particle terrain to make water splash; proper location
for water splashes is now being detected. Note: existing tracks
need to be updated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 21:12:24 +00:00
mbjornstk
bca98f68ae Displace rain texture also in X to make repetition hard/impossible to see.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 03:55:26 +00:00
auria
1fd4554ebc Silence a few silly warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 02:50:38 +00:00
mbjornstk
42cd443a54 Add --rendering-debug to allow testing material settings or anisotrophy speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 02:07:04 +00:00