DTrierFlood (Unity)
Unity 6000.3.0f1 URP project for viewing/importing DGM1 terrain tiles (supports XR via OpenXR/XRI).
Quick Start
- Open the project in Unity 6000.3.0f1 (URP project).
- Place exported data from
GeoDataintoAssets/GeoData/:height_png16/andtile_index.csv. - In Unity, run
Tools > Geo Tiles > Import Terrain Tiles (PNG16), keep the resolution/tile size consistent with the exporter (default 1025 and ~1000 m), and choose whether to delete existing tiles underGeo_Terrain_Tiles. - Test in
Assets/Scenes/SampleScene.unity; XR packages are present (OpenXR, XR Interaction Toolkit, Composition Layers) if you want to enter VR.
Notes
- Importer (
Assets/Scripts/Editor/GeoTileImporter.cs) reads the CSV header order-independently, enforces R16/single-channel texture import settings, anchors terrain origin at the minimumxmin/ymin, and sets Terrain Y toglobal_minwith height span(global_max - global_min); it can also apply ortho textures and optionally import buildings/trees/furniture when present. - Generated or cache folders like
Library/and large raw datasets should stay untracked; keep generated GeoData assets stable to avoid scene churn.
Description
Languages
C#
96.3%
ShaderLab
2.3%
GLSL
1.4%