cesium for unreal 坐标参考框架

Reference Frames 参考框架

This is an inventory of the most important reference frames used in Cesium for Unreal.

在Cesium for Unreal 中用到的重要的坐标参考框架清单。

Ellipsoid-centered 地心坐标系

This is the “native” reference frame of Cesium.

Cesium最原始的坐标参考框架。

HandednessRight (右手系)
UnitsMeters (米)
OriginCenter of the ellipsoid (Earth)
Orientation
  • +X passes through the intersection of the equator and prime meridian (0 degrees latitude, 0 degrees longitude)
  • +Y passes through the intersection of the equator and +90 degrees longitude (0 degrees latitude, 90 degrees longitude)
  • +Z is up through the North Pole

在这里插入图片描述

Georeferenced 地理参考系 NEU

A reference frame defined by the ACesiumGeoreference actor.

ACesiumGeoreference actor 定义的自身的局部坐标参考系。

HandednessRight (右手)
UnitsMeters
OriginThe origin defined by the ACesiumGeoreference::OriginPlacement and possibly OriginLongitude, OriginLatitude, and OriginHeight properties.
Orientation
  • If ACesiumGeoreference::AlignTilesetUpWithZ is true:
    • +X points East at the origin
    • +Y points North at the origin
    • +Z is in the direction of the ellipsoid surface normal at the origin (up)
  • If ACesiumGeoreference::AlignTilesetUpWithZ is false:
    • Same as Ellipsoid-centered above.

Cesium Tileset

The reference frame of a Cesium 3D Tiles tileset, as defined by the tileset.json. Usually, tilesets are georeferenced and this reference frame is identical to the Ellipsoid-centered frame described above, but this is not strictly required by 3D Tiles. A non-georeferenced model of a building, for example, may have an origin at the center of the building and axes aligned with the principal sides of the building.

tileset.json 文件定义的 Cesium 3D Tiles 坐标参考系。通常在要求不严格的情况下,tilesets的坐标参考框架和 WGS84 地心坐标系一致。例外的情况是,一栋没有地理参考的建筑物模型,它的原点位于模型的中心,坐标轴与主要的侧面对齐。

HandednessRight (右手)
UnitsMeters (米)
OriginSpecified by tileset.json, often the center of the Earth. (自定义原点或是WGS84球心)
OrientationSpecified by tileset.json, often ECEF. (同WGS84)

Unreal Tileset

The same as the Cesium Tileset, but expressed in Unreal Engine terms: the coordinates are in centimeters (multiplied by 100.0) and left-handed (have an inverted Y component) relative to Cesium Tileset coordinates.

Please note that the transformation from Unreal Tileset coordinates to Unreal Absolute/Relative World (below) is affected by the ACesium3DTileset Actor’s Location and Orientation properties. However, these should almost always be set to identity.

Unreal Tileset 与 Cesium Tileset 相同,只不过是在 Unreal Engine 的术语。坐标系单位厘米,左手系。

注意从Unreal Tileset 坐标到 Unreal 绝对/相对坐标系的转换,它往往会与ACesium3DTileset Actor的地理参考有关。然而通常情况下,它们总是会设置成相同的。

HandednessLeft (左手系)
UnitsCentimeters (厘米)
OriginSpecified by tileset.json, often the center of the Earth (自定义原点或是WGS84球心).
OrientationSpecified by tileset.json, often ECEF.(同WGS84)

Unreal Absolute World (Unreal 绝对坐标系)

Vectors and matrices in Unreal Engine are expressed using single-precision floating-point numbers. In order to maintain precision, these coordinate values must remain relatively small. To support this, the Unreal absolute world origin can be moved by setting the OriginLocation property of UWorld. Coordinates that are said to be in the “Unreal Absolute World” reference frame are expressed relative to the absolute origin (0,0,0) and are not affected by the value of the OriginLocation property.

UE4 中的向量和矩阵使用单精度浮点类型。为了保证精度,坐标数值必须保持相对小。为了达到这个目的,UE4的绝对世界原点可以通过 UWorld的属性OriginLocation设置。 这里的世界坐标系是相对与坐标原点(0,0,0) 而言的,不被这个OriginLocation属性值所影响。

HandednessLeft (左手系)
UnitsCentimeters (厘米)
OriginNo fixed meaning.
OrientationNo fixed meaning.

Unreal Relative World (Unreal 相对坐标系)

This reference frame has the same orientation as “Unreal Absolute World”, but is offset from it by the UWorld's OriginLocation. Coordinates are expressed relative to the floating origin.

这个坐标框架的坐标轴与 Unreal 绝对坐标系的坐标轴一致,原点是浮动的,是相对于UWorldOriginLocation动态偏移的。

HandednessLeft (左手)
UnitsCentimeters(厘米)
OriginNo fixed meaning.
OrientationNo fixed meaning.

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

详情

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Cesium for Unreal是一款用于虚幻引擎的插件,用于将Cesium地理数据和功能集成到虚幻引擎中。以下是关于Cesium for Unreal教程的详细介绍。 首先,你需要下载和安装Cesium for Unreal插件。你可以在Cesium的官方网站上找到下载链接。安装完成后,你可以在虚幻引擎的插件列表中找到Cesium for Unreal。 一旦安装完成,你可以开始使用Cesium for Unreal开发地理相关的应用程序。首先,你需要导入Cesium的地理数据。你可以通过Cesium ion来获取全球范围的卫星图像、高程数据、地形数据等。导入这些数据后,你可以在虚幻引擎中创建一个真实的地球模型。 接下来,你可以使用Cesium for Unreal的工具和功能来操作地球模型。这些功能包括地理位置定位、相机控制、地理搜索、地理标记等。通过这些功能,你可以在虚幻引擎中创建出具有真实地球数据的应用程序。 除了基本的地理功能,Cesium for Unreal还提供了一些额外的功能和效果,用于增强你的地理应用程序的视觉效果。你可以使用Cesium的渲染器和效果来创建出逼真的地球表面和大气层。你还可以使用Cesium的光照模型来呈现出日出日落、星空等效果。 最后,你可以使用Cesium for Unreal的工具和API来开发自定义的地理应用程序。你可以根据需要添加交互功能、传感器支持、物理模拟等。通过使用虚幻引擎的强大功能和Cesium的地理数据集成,你可以创建出高度逼真和具有交互性的地理应用程序。 总之,Cesium for Unreal是一个强大的插件,用于将Cesium的地理数据和功能整合到虚幻引擎中。使用Cesium for Unreal,你可以创建出真实地球数据的应用程序,并添加各种地理功能和效果。无论是开发虚拟旅游应用程序还是构建地理可视化工具,Cesium for Unreal都是一个非常有用的工具。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值