当前位置:网站首页>關聯GIS:條條道路通UE5城
關聯GIS:條條道路通UE5城
2022-06-27 08:02:00 【xosg】
Part1前言
本文介紹如何使用UE5的Georeferencing插件實現UE5與GIS坐標的關聯。

Part2坐標系介紹
這裏主要涉及以下幾個坐標系,如下圖
1、地理CRS坐標系
通過經緯度和海拔來錶示
緯度 = 相對於赤道的仰角距離,以度為單比特
經度 = 相對於本初子午線(格林威治)的方比特角,以度為單比特
海拔=相對於參考橢圓體的高度,以米為單比特
角度錶示為十進制度,即DMS(度分秒)。2、地心CRS坐標系 地心CRS使用笛卡爾坐標定義行星上任意點的比特置,其中原點比特於行星中心。
原點 = 地球中心 X 軸指向赤道/本初子午線(格林威治)交點。Z 軸與地球旋轉軸對齊。Y 軸與前兩個軸正交。
3、東北天坐標系
如上圖中的環境是綠色正方形
這裏約定 X軸 = Easting(東) = UE的X軸 Y軸 = Northing(北)= UE的Y軸取反 Z軸 = Up(天)= UE的Z軸

Part3建模要求
我們用3dmax建BIM模型的時候,需要確保需要保證模型X軸指向東、Y軸指向正北、Z軸指向天。之後再通過DataSmith導入UE5,此時模型才能與GIS坐標正確的關聯。
Part4插件使用
1創建GeoReferencingSystem
在關卡創建一個GeoReferencingSystem對象,路徑如下圖所示,如果找不到,請設置Show Engine Content
之後選擇Planet Shape為橢球形狀,即Round Planet。坐標系標准采用默認即可。
接下來,設置建模原點的經緯度和大地高。這裏需要取消上面Origin Location in Projected CRS才可以輸入。我們不采用投影坐標系的坐標。
2經緯度轉UE坐標
通過GeoGraphic to Engin 可以實現將經緯度轉成UE的坐標。藍圖使用方法如下:

其他坐標系的轉換,可以參考下圖實現。

3狀態欄工具
在/GeoReferencing/UI/UMG_GeoStatusBar中的示例 UMG控件在添加到視口之後,將顯示在各種CRS中的當前視圖比特置:投影、地理和ECEF。添加到視口方法如下:
實時顯示效果如下:
4坐標檢查器輔助控件
有一個特殊的編輯器輔助控件比特於/GeoReferencing/UtilityWidgets/EUW_CoordinatesInspector 中。如果在編輯器內運行該控件,它將顯示一個面板,可以在其中控制視圖以及鼠標下方點的地理配准坐標。我們將這個對象放置到UE的場景中,即可知道當前場景的坐標信息。需要運行之後,才會顯示,效果如下:
Part5總結
本章主要介紹了如何使用Georeferencing插件實現經緯度轉成UE的坐標的步驟。
5關於IN VETA
IN VETA是一支由建模、美術、UE5組成的年輕團隊。

我們致力於三維數字孿生技術分享與研發。
歡迎與各界朋友一起探討技術與商務合作,一起推動數字孿生的發展。
边栏推荐
- JS to determine whether the result is qualified, the range is 0-100, otherwise re-enter
- Install Jenkins
- 第6届蓝桥杯
- 2、项目使用的QT组件
- Index +sql exercise optimization
- 盲測調查顯示女碼農比男碼農更優秀
- Rust async: SMOL source code analysis -executor
- 2. QT components used in the project
- 基础知识 | js基础
- Programming life - what do you think of the 35 year old bottleneck of programmers?
猜你喜欢

js用switch输出成绩是否合格

File and multipartfile overview

八大误区,逐个击破(终篇):云难以扩展、定制性差,还会让管理员失去控制权?
![[11. two dimensional difference]](/img/b2/da624f8a7f97c46b8e346cf6d6da49.png)
[11. two dimensional difference]

PayPal账户遭大规模冻结!跨境卖家如何自救?

js成绩奖惩例题

js用switch语句根据1-7输出对应英文星期几

JS output all prime numbers between 1-100 and calculate the total number

基础知识 | js基础

Experience record of Luogu's topic brushing
随机推荐
js求所有水仙花数
参考 | Win11 开启热点之后电脑不能上网
L'enquête en aveugle a montré que les femmes étaient meilleures que les hommes.
八大误区,逐个击破(终篇):云难以扩展、定制性差,还会让管理员失去控制权?
What is a magnetic separator?
Install Jenkins
【10. 差分】
Binary tree structure and heap structure foundation
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
win命令行中导入、导出数据库相关表
[compilation principles] review outline of compilation principles of Shandong University
【每日一练】产品卡片动画效果的实现
(note) Anaconda navigator flashback solution
log4j:WARN No such property [zipPermission] in org. apache. log4j. RollingFileAppender.
JS to judge the odd and even function and find the function of circular area
【12. 最大连续不重复子序列】
Speech signal processing - concept (4): Fourier transform, short-time Fourier transform, wavelet transform
索引+sql练习优化
Implementation principle of similarity method in Oracle
Speech signal feature extraction process: input speech signal - framing, pre emphasis, windowing, fft- > STFT spectrum (including amplitude and phase) - square the complex number - > amplitude spectru