当前位置:网站首页>关联GIS:条条道路通UE5城
关联GIS:条条道路通UE5城
2022-06-27 08:00: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组成的年轻团队。

我们致力于三维数字孪生技术分享与研发。
欢迎与各界朋友一起探讨技术与商务合作,一起推动数字孪生的发展。
边栏推荐
- What is a magnetic separator?
- 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
- 参考 | 升级 Win11 移动热点开不了或者开了连不上
- MSSQL how to export and delete multi table data using statements
- Programming life - what do you think of the 35 year old bottleneck of programmers?
- 野風藥業IPO被終止:曾擬募資5.4億 實控人俞蘠曾進行P2P投資
- 期货反向跟单靠谱吗?
- [paper reading] internally semi supervised methods
- 【批处理DOS-CMD命令-汇总和小结】-输出/显示命令——echo
- 【批处理DOS-CMD命令-汇总和小结】-批处理命令中的参数%0、%1、%2、%[0-9]、%0-9和批处理命令参数位置切换命令shift,dos命令中操作符%用法
猜你喜欢

Preliminary understanding of C #

JS print 99 multiplication table

Win10 how to manage startup items?

L'introduction en bourse de Wild Wind Pharmaceutical a pris fin: Yu pinzeng, qui avait l'intention de lever 540 millions de RMB, a effectué un investissement P2P.

Online text digit recognition list summation tool

js例题打印1-100之间所有7的倍数的个数及总和

js用switch输出成绩是否合格

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

盲测调查显示女码农比男码农更优秀
![[batch dos-cmd command - summary and summary] - map folder to virtual disk - subst](/img/09/cd12c276392d3465dce1909d0f86a6.png)
[batch dos-cmd command - summary and summary] - map folder to virtual disk - subst
随机推荐
c的时间函数算效率
How to bind SQL statements to web buttons
「短视频」临夏消防救援支队开展消防安全培训授课
How can I import data from Oracle into fastdfs?
2. QT components used in the project
【13. 二进制中1的个数、位运算】
js例题打印1-100之间所有7的倍数的个数及总和
[13. number and bit operation of 1 in binary]
游戏六边形地图的实现
无论LCD和OLED显示技术有多好,都无法替代这个古老的显示数码管
[batch dos-cmd command - summary and summary] - environment variables, path variables, search file location related instructions - set, path, where, what if there are spaces in the path parameters of
Stream常用操作以及原理探索
【论文阅读】Intrinsically semi-supervised methods
Binary tree structure and heap structure foundation
磁选机是什么?
[paper reading] internally semi supervised methods
Mysql-8 download, installation and configuration tutorial under Windows
Mapping of Taobao virtual product store opening tutorial
爬一个网页的所有导师信息
[10. difference]