0ad/source/simulation2/system
Ykkrosh 1882f28504 New unit renderer.
Instead of each CCmpVisualActor rendering itself individually, collect
all the units in a single CCmpUnitRenderer. This avoids the overhead of
doing Interpolate/RenderSubmit calls every frame for every object in the
world. It also allows more efficient culling.

CCmpUnitRenderer knows the positions of each object at the start and end
of each turn, and computes the bounding sphere of the object along that
path. That allows quick culling without recomputing the precise
interpolated transform every frame. (In the future it could be improved
much more.)

Clarify and clean up the sending of PositionChanged messages, and add
new InterpolatedPositionChanged.

Remove the forceFloating parameter from GetInterpolatedTransform, since
it doesn't fit the new design. Replace it with a (non-synchronised) flag
in CCmpPosition.

Move construction progress from CCmpVisualActor to CCmpPosition, so that
it consistently affects all position/transform computation.

Refs #2337.

This was SVN commit r15265.
2014-06-01 18:24:50 +00:00
..
CmpPtr.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
CmpPtr.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
Component.h Simplify component interface: remove explicit context parameter, use GetSimContext() instead. 2011-01-16 14:08:38 +00:00
ComponentManager.cpp New unit renderer. 2014-06-01 18:24:50 +00:00
ComponentManager.h Allow system components to be registered on the scripting side (so mods can make their own system components). 2014-05-18 13:44:08 +00:00
ComponentManagerSerialization.cpp Simplify component deserialization. 2014-06-01 18:14:09 +00:00
Components.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ComponentTest.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
Entity.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
EntityMap.h Fix invalid count for entityMaps 2014-03-05 14:58:17 +00:00
IComponent.cpp Simplify component interface: remove explicit context parameter, use GetSimContext() instead. 2011-01-16 14:08:38 +00:00
IComponent.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
Interface.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
InterfaceScripted.h Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
Message.h Fix serialize/deserialize API asymmetry. 2010-09-17 17:53:26 +00:00
ParamNode.cpp Second (main) commit for the SpiderMonkey upgrade. 2014-03-28 20:26:32 +00:00
ParamNode.h Wall placement. Closes #786. 2012-05-05 19:22:22 +00:00
SimContext.cpp As per ticket #1707. Some minor improvements to spatial subdivision. Makes way for future changes in RangeManager. 2013-09-15 14:03:53 +00:00
SimContext.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00