liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
The Cost of the 3rd Dimension: Comparing Unity-Based 3D And 2D ABMs
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesis
Abstract [en]

When developing an agent-based model (ABM), an important decision that has to be made is whether it should be two- or three-dimensional. 3D is often more realistic, while 2D typically has better computational performance. Since requirements on simulators vary, there is no single correct answer as to whether one should use 2D or 3D. The Unity game engine is popular both among video game developers and simulation developers, and has support for both 2D and 3D. However, there is little research regarding the performance differences between the two. To this end, this sets out to determine the difference in performance between 2D and 3D simulations in Unity. We develop two functionally identical simulators in Unity, one in 2D and one in 3D, and compare their computational performances. The results of this study show that with a low number of agents (500 and less) there is no meaningful difference in performance except a slightly higher memory usage in the 3D simulator. However, larger agent counts (1000 and higher) cause the 2D simulator to use more CPU time than its 3D counterpart. We conclude that the use of 3D simulators is preferable to 2D as it is more realistic and has better CPU performance. However, 2D simulators can still be useful for low agent counts when memory is a concern.

Place, publisher, year, edition, pages
2025. , p. 14
Keywords [en]
ABM, Agent Based Model, Unity, Game Engine, 2D, 3D, 3D vs 2D, performance
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-215307ISRN: LIU-IDA/LITH-EX-G--25/071--SEOAI: oai:DiVA.org:liu-215307DiVA, id: diva2:1974132
External cooperation
Katastrofmedicinskt centrum
Subject / course
Computer science
Supervisors
Examiners
Available from: 2025-06-23 Created: 2025-06-21 Last updated: 2025-06-23Bibliographically approved

Open Access in DiVA

fulltext(902 kB)171 downloads
File information
File name FULLTEXT02.pdfFile size 902 kBChecksum SHA-512
b99cc75600d94aef259c497df504e4f62052db7a02701b1652602d2b3541fda8812186648e17bb979479309c06e448db9140dccf5f9dc16b5827e16c3bddfee2
Type fulltextMimetype application/pdf

By organisation
Department of Computer and Information Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 174 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 330 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf