Back to search

Monterey, California: Naval Postgraduate School

Development of a web-based distributed interactive simulation (DIS) environment using javascript

Abstract

dc:description.abstract

This thesis investigated the current infrastructure for web-based simulations using the DIS network protocol. The main technologies studied were WebSockets, WebRTC and WebGL. This thesis sought readily available means to establish networks for interchanging DIS message (PDUs), so the WebSocket gateway server from Open-DIS project was used to construct a Client-Server structure and PeerJS API was used to construct a peer-to-peer structure. WebGL was used to create a scene and render 3D models in browsers. A first-person-shooter tank game was used as a test application with both WebSocket and WebRTC infrastructures. Experiments in this thesis included measuring the rate of sending and receiving DIS packets and analysis of the tank game by profiling tools. All the experiments were run on Chrome and Firefox browsers in a closed network. The experimental results showed that both WebSocket and WebRTC infrastructures were competent enough to support web-based DIS simulation. The results also found the significant differences of performance between Chrome and Firefox. Currently, the best performance is provided by the combination of Firefox using the WebRTC framework. The analysis of the tank game showed that most of the browser’s computational resources were spent on the WebGL graphics, with only a small percentage of the resources expended on exchanging DIS packets.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Modeling, Virtual Environments, and Simulation
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Modeling, Virtual Environments, and Simulation Institute (MOVES)
Department dc:contributor.department
Computer Science
Grantor dc:publisher
Monterey, California: Naval Postgraduate School
Year dc:date.issued
2014

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hsiao, Chen-Fu
Advisors dc:contributor.advisor
  • Darken, Christian J.
  • McGregor, Donald

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Approved for public release; distribution is unlimited.

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10945/43928

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Hsiao, Chen-Fu. Development of a web-based distributed interactive simulation (DIS) environment using javascript. Masters thesis, Monterey, California: Naval Postgraduate School, 2014. https://hdl.handle.net/10945/43928