0ad/binaries/data/mods
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
..
_test.dae/art
_test.minimal Clean up some svn:executable flags 2010-05-08 23:17:08 +00:00
_test.sim Add flag to VisualActor for entities that should only be visible in Atlas. Patch by KareemErgawy. Fixes #1411. 2013-06-09 23:18:21 +00:00
_test.tex/art/textures Add test for NVTT bug 2010-10-07 10:56:38 +00:00
_test.xero
public New unit renderer. 2014-06-01 18:24:50 +00:00