Commit Graph

49 Commits

Author SHA1 Message Date
auria
c53895c941 Bugfix : don't ignore interaction property on animated objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 15:34:25 +00:00
auria
18ead10df9 Add support for tangent meshes when converting to bullet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 00:19:10 +00:00
auria
d6221dae92 Use new normal map shader for overworld columns. Remove 2-UV-layer normal map feature, irrlicht just doesn't support it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 21:52:07 +00:00
auria
c29c91da21 Make bubble force fields fade in softly insetad of just popping up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 23:40:14 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
6e152a22aa Animating LOD objects with IPO is now almost closer to work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:25:09 +00:00
auria
7697988801 Add feature requested by samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 23:41:38 +00:00
auria
d04bc58413 Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
auria
7e4ff8e0b5 Support more shapes for animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 15:31:05 +00:00
hikerstk
a354f5521d Added support for animated physical objects to trigger a reset
of a kart on collision.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-30 06:29:00 +00:00
auria
b7b1c02bb0 On forum, with minigolf course, it was suggested that it would be cool to be able to use more accurate collision shapes, for instance enabling the windmill to hit the kart. I agree, and bullet can do that, so it's not possible :) but not used anywhere atm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 19:53:02 +00:00
auria
cd8162c30f Disabling GFX should not result in ghost track objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 17:50:20 +00:00
auria
3029d01014 Fixed a couple minor typos found by marclennart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 00:12:12 +00:00
auria
da87d76f1c Fixed bug 393, channels in IPO animation get out of sync
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 17:27:05 +00:00
hikerstk
cab7d5f6f1 Removed compiler warning (NoCopy already in base class), caused by recently
adding NoCopy to the TrackObject base class.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:15:17 +00:00
auria
357af5a27d More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
hikerstk
f70d077ba0 Fixed mesh leaks when track objects are used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:48:36 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
fc4e59dc6e Bugfix: billboard nodes did not use materials.xml for setting the material properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:48:57 +00:00
hikerstk
731bb83ad3 Fixed position of non-animated billboards (new export of model required).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:34:00 +00:00
hikerstk
2c15bd265f 1) Made TrackObject use an ISceneNode instead of an IAnimatedMeshSceneNode,
allowing us to use the same base class for billboard.
2) Fixed billboard implementation: billboards are now properly removed,
   and can also be IPO animated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:55:09 +00:00
hikerstk
158ca9fb20 Fixed rotational IPOs (problems were caused by a different order of rotations in
blender and irrlicht).
NOTE: all tracks that are using animations WILL NOT WORK PROPERLY till they have
been re-exported with the new track exporter (which will be done shortly).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:52:48 +00:00
hikerstk
fa6ae21672 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:04:36 +00:00
hikerstk
77c0d66653 Added support for scaling IPOs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:17:08 +00:00
hikerstk
141b80b112 Started to add NoCopy as a base class to all objects to help detecting if an
object is actually copied.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 06:18:08 +00:00
hikerstk
79641e7f88 Support added for 'coneX' and 'coneZ' shapes as physical objects
(previously only as animated objects). Both 'cone' and 'coneY' is
now accepted, too.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 22:08:15 +00:00
auria
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
622104078f Fixed layout (no real code change).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:42:17 +00:00
hikerstk
f17a129a86 Fixed bug 2959796 (mine kart rotating wildly) - I hope.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-03 14:13:49 +00:00
hikerstk
3aa86ed885 Fixed bug 2937628: crash when only one point for an IPO was
specified.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-03 13:55:04 +00:00
hikerstk
328373289a 1) Moved access to world object from race_manager to static functions in
world.
2) Removed more dujplicated/unnecessary functions from race_manager
   (getPlayerKart, getTrack).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 07:11:52 +00:00
hikerstk
5967f75b20 Bugfix for animations with physics represenation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:10:39 +00:00
hikerstk
637aab7cf7 First version of improved track object support - not fully functional yet, but
should allow for movable and static track objects. Also fixes problems with
incorrect radius for spheres.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 00:08:20 +00:00
mbjornstk
5fe41e5625 Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
hikerstk
f8920355fe Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:38:47 +00:00
hikerstk
4ce732574a 1) Added support for new --trackdir command line parameter (which specifies a directory with more
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
   (so not containing the name of the track anymore). Beach and lighthouse tracks have been
   updated.
4) Track exporter uses the new filenames above.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +00:00
hikerstk
1033bfdf59 1) Only Track is now using the ItemManager.
2) Fixed several memory leaks in animation code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 11:12:26 +00:00
hikerstk
989220af7e Replaces tabs with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 06:16:01 +00:00
hikerstk
2acfc48e3e Updated animation rotations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 13:05:13 +00:00
hikerstk
f3bc93f69a Fixed (at least some) incorrect rotations in 3d animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:35:35 +00:00
hikerstk
8c1bba8abb Added initial support for checklines (though atm they don't do anything yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:35:33 +00:00
auria
55a282c829 fixed compiler warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 17:17:10 +00:00
hikerstk
88600d7d2e 1) Animations can now be bullet rigid bodies, which means collisions are
possible.
2) The track exporter supports now exporting a single animation model only even
   if the model is used in several animations.
3) Changed the rad to/from degree macros to be uses as multiplication factors,
   i.e. RAD_TO_DEGREE*x instead if RAD_TO_DEGREE(x). This allows more compact
   code if vectors are convered (RAD_TO_DEGREE*vec3  instead of three separate
   macro invocations, once for each component)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 00:51:31 +00:00
hikerstk
da030d923d Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:05:24 +00:00
hikerstk
d9e90576c7 Added support for bezier interpolation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:04:26 +00:00
hikerstk
d1807bf4c4 More animation support (still not complete) - animated objects in
blender will now be exported with local coordinates, and the
right location is exported in the .scene file and used in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 02:14:30 +00:00
hikerstk
6cefc34b31 More work on animations (still work in progress)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-30 12:51:38 +00:00
auria
d9f3a197cc Fixed compiler warnings (and potential memory issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 23:56:26 +00:00
hikerstk
fadb3692f8 Added files missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 23:56:37 +00:00