Improving games AI performance using grouped hierarchical level of detail

Computer games are increasingly making use of large environments; however, these are often only sparsely populated with autonomous agents. This is, in part, due to the computational cost of implementing behaviour functions for large numbers of agents. In this paper we present an optimisation based on level of detail which reduces the overhead of modelling group behaviours, and facilitates the population of an expansive game world. We consider an environment which is inhabited by many distinct groups of agents. Each group itself comprises individual agents, which are organised using a hierarchical tree structure. Expanding and collapsing nodes within each tree allows the efficient dynamic abstraction of individuals, depending on their proximity to the player. Each branching level represents a different level of detail, and the system is designed to trade off computational performance against behavioural fidelity in a way which is both efficient and seamless to the player. We have developed an implementation of this technique, and used it to evaluate the associated performance benefits. Our experiments indicate a significant potential reduction in processing time, with the update for the entire AI system taking less than 1% of the time required for the same number of agents without optimisation.

[1]  James A. R. Marshall,et al.  Egocentric AI Processing for Computer Entertainment: A Real-Time Process Manager for Games , 2000, GAME-ON.

[2]  Lance Williams,et al.  Pyramidal parametrics , 1983, SIGGRAPH.

[3]  Michael Gleicher,et al.  Scalable behaviors for crowd simulation , 2004, Comput. Graph. Forum.

[4]  Ondrej Sery,et al.  Simulation Level of Detail for Virtual Humans , 2007, IVA.

[5]  Noel O'Hara Hierarchical Impostors for the Flocking Algorithm in 3D , 2002, Comput. Graph. Forum.

[6]  James H. Clark,et al.  Hierarchical geometric models for visible surface algorithms , 1976, CACM.

[7]  Norman I. Badler,et al.  Controlling individual agents in high-density crowd simulation , 2007, SCA '07.

[8]  Markus H. Gross,et al.  Level-of-detail for cognitive real-time characters , 2005, The Visual Computer.

[9]  Dilip Prajapati,et al.  Hierarchical state machines for native mobile apps , 2012, 2012 Annual IEEE India Conference (INDICON).

[10]  Soraia Raupp Musse,et al.  A Model of Human Crowd Behavior : Group Inter-Relationship and Collision Detection Analysis , 1997, Computer Animation and Simulation.

[11]  Craig W. Reynolds Flocks, herds, and schools: a distributed behavioral model , 1987, SIGGRAPH.

[12]  Craig W. Reynolds Steering Behaviors For Autonomous Characters , 1999 .

[13]  Daniel Thalmann,et al.  Published online in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/cav.147 , 2022 .

[14]  Soraia Raupp Musse,et al.  A Model of Human Crowd Behavior , 1997 .