UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #4068  -  Renderer repopulates entity list each frame by copying
Posted Mar 26, 2012 - updated Jan 31, 2013
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
alextishin (alextishin) has been working on this issue since January 28, 2013 (20:49)
Issue details
  • Type of issue
    Feature request
  • Status
     
    Accepted
  • Assigned to
     alextishin
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     alextishin
  • Owned by
    Not owned by anyone
  • Category
    Engine
  • Priority
    2. Low
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Very Difficult
Issue description
Item 584 imported from sourceforge.net tracker on 2013-01-28 20:22:06

For every battlescape frame game copies all the entity data to separate array, dynamically constructs entities for submodels, and after that filters entity list for invisible models and renders it ... only do discard all that data and restart at the next frame. Making impossible to cache ANYTHING -- so much for the idea of caching the lights and static models info ...

Guess it should be fixed in some way. Possibly by copying pointers and keeping a separate pool for entities which are dynamically generated now.