I am currently doing a simulation of high-density crowds using Unity as a degree project. More formally:
The goal of the thesis is to improve an implementation of a proposed algorithm to simulate high-density crowds, using both mathematical and programmable optimizations with both a practical and theoretical solution as basis. Additionally, real-life behavior in the simulation is further sought through implementing crowd-formations and placing the simulation in a specifc scenario: Pedestrians in a high-density Metro Environment, interchanging between different traffic facilities. Finally, the thesis aim to implement simpler real-time tools for having interested parties interact with the crowd dynamically.
I am using the proposed constraint/algorithm by Narain et al: Unilateral Incompressible Constraint in their paper “Aggregate Dynamics for dense crowd simulation” as a basis along with some basic code from http://www.diva-portal.org/smash/record.jsf?pid=diva2%3A813795&dswid=-7280 to help me start out.
I am aiming for a fast implementation that can yield interesting, realistic effects.
Current state of art:
- Pathfinding
- Spawning module
- Map sampling
- Conversion from discrete form to continuous from (From agents to MAC grid)