当前位置:   article > 正文

cesium for unreal 坐标参考框架_cesium for unreal坐标系

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.

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

详情

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/416035
推荐阅读
相关标签
  

闽ICP备14008679号