supertuxkart-sourceforge-migration / stk-migration-test2

0 stars 0 forks source link

IPO-animated LOD objects #452

Open supertuxkart-sourceforge-migration opened 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria

I have an object that has type=lod_instance, interaction=move (LOD objects cannot be moved around at this time, but the interaction parameter comes from before LOD was introduced).

The exporter nonetheless exports

<object type="movable .../>

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/452

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria note: same thing for type=lod_model

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Fixed in r9933.

One problem I noticed is that LOD would not work on objects with IPO animation. This is however not needed for 0.7.3.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Some more fixes in r10320.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Much of the work done in r10322.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Feature-complete in r10323.

I'm still leaving this open because the code is quite ugly. Queues of waiting objects are created in TrackObjectManager and manually completed later, breaking encapsulation and resulting in hard to understand code. Let's see if I can come up with a better solution.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Should be clean enough as of r10399 :)