Open-Data-Driven Unity Digital Twin Pipeline: Automatic Terrain and Building Generation with Unity-Native Evaluation
The creation of simulation-ready digital twins for real-world simulations is hindered by two key challenges: the lack of widely consistent, application-ready open access terrain data and the inadequacy of conventional evaluation metrics to predict practical, in-engine performance. This paper addresses these challenges by presenting an end-to-end, open-data pipeline that generates simulation-ready terrain and procedural 3D objects for the Unity engine. A central finding of this work is that the architecturally advanced Swin2SR transformer exhibits severe statistical instability when applied to Digital Elevation Model (DEM) data. We analyze this instability and introduce a lightweight, computationally efficient stabilization technique adapted from climate science—quantile mapping (qmap)—as a diagnostic remedy which restores the model’s physical plausibility without retraining. To overcome the limitations of pixel-based metrics, we validate our pipeline using a three-axis evaluation framework that integrates data-level self-consistency with application-centric usability metrics measured directly within Unity. Experimental results demonstrate that qmap stabilization dramatically reduces Swin2SR’s large error (a 45% reduction in macro RMSE from 47.4 m to 26.1 m). The complete pipeline, using a robust SwinIR model, delivers excellent in-engine performance, achieving a median object grounding error of 0.30 m and real-time frame rates (≈100 FPS). This study provides a reproducible workflow and underscores a crucial insight for applying AI in scientific domains: domain-specific stabilization and application-centric evaluation are indispensable for the reliable deployment of large-scale vision models.
Authors
- Sunjin Yu (ORCID: https://orcid.org/0000-0001-9292-4099)
- Donghyun Woo (ORCID: https://orcid.org/0000-0002-5562-4158)
- Hae-Ryong Choi (ORCID: https://orcid.org/0000-0001-8639-5848)
- J Kim (ORCID: https://orcid.org/0000-0002-9796-3000)
- Ruben D. Espejo (ORCID: https://orcid.org/0009-0007-7458-8619)
Institutions
- Changwon National University (KR)
- Advanced Institute of Convergence Technology (KR)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-11-05
- DOI
- https://doi.org/10.3390/app152111801
- Primary Topic
- 3D Surveying and Cultural Heritage
- Type
- article
- Field-Weighted Citation Impact
- 0.00