mj1.at Michael Jaros' Techblog

1Mar/150

Tutorial: How to use the PedSpace package to create the supermarket demo scene

Posted by mj

The PedSpace package provides basic pedestrian simulation using a source-sink paradigm and a hierarchical behavioral model. This tutorial explains how to create the supermarket demo scene using the package.

3Nov/140

Pedestrian dynamics in Unity

Posted by mj

Crowd simulation is used in many applications such as safety science, architecture, urbanism, film and computer game production. Behaviour, appearance, and variety are three major aspects of crowd simulation. On the other hand, crowd scenario authoring plays an important role, denoting the creation of appropriate content. [1] [2]

In my master thesis Crowd Simulation for Virtual Environments in Unity, the problem of simulating pedestrian behavior in a public place is investigated. Specifically, a focus is put on the following research questions:

  • RQ1 How can pedestrian behavior be analyzed and structured, based on a train station case study?
  • RQ2 How can typical human behavioral patterns be integrated with the Unity game engine in a user-friendly and extensible way, focusing on motion planning and task scheduling?
  • RQ3 How can Unity users be supported in knowledge acquisition regarding crowd simulation?

Existing literature will be summarized, focusing on behavioral modelling, motion planning, and learning content generation. In a case study, pedestrians inside Westbahnhof, one of Vienna's two largest train stations, will be observed and subsequently their behavior will be analyzed (RQ1). Using approaches found in the literature review and the observations made on site, a behavioral model will be created and implemented as a reusable package for the Unity game engine (RQ2). A tutorial and learning material for architecture students and professionals (RQ3) will be developed.

Screenshot of pedestrian simulation PedSpace 2014-11-05 22-05-03-05.bmp
PedSpace 2014-11-05 22-04-40-99.bmp PedSpace 2014-11-05 21-54-30-49.bmp
PedSpace 2014-11-08 23-23-08-06 PedSpace 2014-11-08 23-29-55-11
queues PedSpace 2014-12-01 10-31-32-86.bmp
PedSpace 2014-12-04 20-04-29-91.bmp
References:
  1. Daniel Thalmann, Helena Grillon, Jonathan Maïm, and Barbara Yersin. Challenges in crowd simulation. In 2009 International Conference on CyberWorlds, Bradford, West Yorkshire, UK, 7-11 September 2009,
    pages 1–12, 2009. []
  2. Daniel Thalmann and Soraia Raupp Musse. Crowd Simulation. Springer, London, 2nd edition, 2013 []