Back to search

McGill University

Efficient 2D sound propagation in video games

Abstract

dc:description.abstract

Modeling the propagation of sound in video games allows for more realistic and compelling virtual environments. Not only does it improve the immersion and provide the players with high awareness of their surroundings, but it also can be used to equip AI agents with the ability to hear. Modeling sound propagation in interactive and real-time environments such as video games is challenging, as most games have very limited resources to allocate for sound. Even for non-interactive environments, solving the wave equations may still imply a cost greater than the expected benefit if an extremely precise model is not required.In this work, we describe an efficient ray-based approach to modeling sound propagation in a 2D game environment. Our model is able to implement the diffraction, reflection, and transmission behaviors of sound, while easily adapting to the changes of the geometry as it can be quickly re-computed. Our performance measurements show that for a reasonable environment, the model can be computed in the order of a few milliseconds using a single CPU core, allowing for computation in real-time. To evaluate the quality and the effectiveness of our model, we have conducted a user study, which shows that the model is able to keep up with a complex wave-based simulation of sound which requires hours of pre-computation on the cloud. The data from the study hints toward the idea that players prefer simpler models in many cases, and perhaps, a very complex sound model is unnecessary for a great player experience

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Davari, Nima
Advisor dc:contributor.advisor
  • Verbrugge, Clark (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1342593112
Dc Identifier Other
hyrax:4q77fx623

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Davari, Nima. Efficient 2D sound propagation in video games. McGill University, 2022. https://doi.org/10.82308/37498