Unreal Plugin – Geospatial Mesh

Written by
Rohit Magdum
Published on
December 13, 2023

Overview

Geospatial data is information that describes objects, events or other features with alocation on or near the surface of the earth.

CDB – Common Data Base is a standard from Open Geospatial Consortium which specifies rules of organizing the Geospatial data.  Our customer need to make understanding of CDB data base, parse it and render it.

Challenges

Understanding Geospatial data.

Understanding the C++ coding in Unreal engine.

Skillset

Expertise in Computer Graphics technologies like OpenGL, DirectX.

Expertise in native language coding especially C, C++.

Basic understanding of Unreal engine.

Solutions

Understanding the CDB database –There are 14 volumes of CDB specification. We studied them as per our need.

Based on the requirements, we explored a few CDB specifications out of the total 14. The next task was to parse the CDB to extract its mapping. The models and terrain data were selected to parse from CDB as per the requirement. The team wrote a separate .flt parser to read the model data using PRESAGIS’s Open Flight API.  To parse terrain data, the team wrote a native code in C++, using GDAL API the imagery and height map data.

 To achieve real-time rendering, we used OpenGL graphics API. The .flt parser was used to provide model data which was then rendered using OpenGL. Now for terrain rendering, the team used tessellation to render dynamic LODS.

Unreal Engine plugin – Wrote a standalone plugin through which a single tiled with one level LOD Geospatial Mesh is rendered. The plugin CODE is written in C++ Unreal’s template. – Using GDAL API to read terrain data mainly mesh, LODs, imagery and height map data.

 Outcome

This helped client to understand the CDB its technical way to use and render it using Unreal engine.

Technical know hows and Understandings

Understanding of OpenGL.

Understanding of C, C++.

Understanding of UNREAL’s C++ programming.

Have Any Thoughts...
Let us know if you have any thoughts on the article. We would like to discuss and here your point of view or resolve any queries that you have on the case study.
Write To Us