Geodetic Pivot(测量支点)
A Geodetic Pivot object is an abstract object that contains an ellipsoid with a pivot point. By using Geodetic Pivot you can place objects on the scene on the corresponding places in the real world.Geodetic Pivot对象是一个抽象对象,它包含一个带有轴心点的椭球体。通过使用Geodetic Pivot,您可以将场景中的对象放在现实世界中相应的位置上。
Geodetic Pivot helps to place world objects on their real world positions (latitude, longitude and altitude) by curving a plane with objects on it. Pivot converts real geodetic data to Cartesian and simultaneously "curves" objects to simulate the contorted Earth's surface.Geodetic Pivot通过弯曲带有对象的平面来帮助将世界对象放置到它们的真实世界位置(纬度、经度和海拔高度)。Pivot将真实的大地测量数据转换为笛卡尔坐标,并同时“弯曲”物体,以模拟扭曲的地球表面。
Geodetic Pivot works with:Geodetic Pivot工作于:
- ObjectTerrainGlobal
- ObjectWaterGlobal
- ObjectCloudLayer
- ObjectSky
- ObjectMeshStatic
- ObjectGrass
- ObjectMeshClutter
- WorldClutter
- Mesh Decals
See Also另请参阅#
- The GeodeticPivot class to manage scenes with geodetic data via APIGeodeticPivot类通过API管理大地测量数据场景
- The render_show_geodetic_pivot console command to show Geodetic Pivots in the scenerender_show_geodetic_pivot控制台命令在场景中显示Geodetic Pivots
- A Wikipedia article on Ellipsoid Wikipedia上关于 Ellipsoid 的文章
- A Wikipedia article on Geodesics on an ellipsoidWikipedia上一篇关于 椭球上测地线的文章
Adding a Geodetic Pivot添加一个大地轴#
To add a Geodetic Pivot to the scene via UnigineEditor do the following:通过UnigineEditor将一个Geodetic Pivot添加到场景中,步骤如下:
- Run the project with UnigineEditor.使用UnigineEditor运行项目。
On the Menu bar, click Create -> Geodetics -> Pivot.在菜单栏上,单击Create -> Geodetics -> Pivot。
- Place the Geodetic Pivot somewhere in the world.把Geodetic Pivot放在世界的某个地方。
Setting Up a Geodetic Pivot建立大地支点#
After adding the Geodetic Pivot on the scene, set up the parameters located in the Geodetic Pivot section (Parameters window -> Node tab).在场景中添加Geodetic Pivot后,设置位于Geodetic Pivot部分的参数(Parameters窗口→Node选项卡)。
Location settings. The geodetic location on the Earth of the pivot point. It is specified by 3 components:位置设置. 枢轴点在地球上的大地测量位置。 它由 3 个组件指定:
- Latitude is the north–south position in degrees of a point on the Earth's surface. For example, Tomsk city latitude is 56.4977100. 0 value means equator, 90 value means the North Pole, -90 means the South Pole.Latitude - 是地球表面某一点南北方向的位置。例如,托木斯克的城市纬度是56.4977100。0值表示赤道,90值表示北极,-90值表示南极。
- Longitude is the east-west position in degrees of a point on the Earth's surface. For example, Tomsk city longitude is 84.9743700. 0 value means a prime meridian (Greenwich). This field supports two ranges: from -180 to 180 and from 0 to 360.Longitude - 是地球表面某一点东西方向的位置,以度数表示。例如,托木斯克城市经度为84.9743700。0值表示本初子午线(格林尼治)。该字段支持两个范围:-180 ~ 180和0 ~ 360。
- Altitude is the height above sea level of a location. For example, Tomsk city altitude is 117 meters.Altitude - 是某一地点的海拔高度。例如,托木斯克市的海拔是117米。
- Flat geopositioning mode of the Geodetic Pivot. This mode should be used, when it is necessary only to set node positions via geo coordinates (latitude, longitude, altitude) without curving the terrain, clouds, etc.Geodetic Pivot 的Flat 定位模式。 当只需要通过地理坐标(纬度、经度、高度)设置节点位置,而不需要弯曲地形、云层等时,应该使用这种模式。
Ellipsoid settings.椭球体的设置.
- Reference is a mathematically defined ellipsoid that approximates the surface of the planet. We offer popular geocentric reference ellipsoids: WGS84, GRS80, Airy 1830, etc.Reference是一个数学定义的椭球体,近似于行星表面。我们提供流行的地心参考椭球:WGS84, GRS80, Airy 1830等等。
Working with Geodetic Pivot使用大地轴#
After adding and setting up the Geodetic Pivot, you can simply add objects to "curve" them:在添加和设置Geodetic Pivot之后,你可以简单地添加对象来“弯曲”它们:
Choose the necessary nodes (Static Mesh, Grass, Clutter, etc.) in the Nodes window and set them as children of the Geodetic Pivot.在Nodes窗口中选择必要的节点(Static Mesh, Grass, Clutter等),并将它们设置为Geodetic Pivot的子节点。
- Specify the necessary settings of the Geodetic Pivot.指定必要的设置的Geodetic Pivot。
- The update will be performed automatically.更新将自动执行。
As you add a node as a child to the Geodetic Pivot, its geo position coordinates (latitude, longitude, and altitude) are displayed in the Geo section of the Node tab:当你将一个节点作为子节点添加到Geodetic Pivot时,它的地理位置坐标(纬度、经度和海拔高度)将显示在Node选项卡的Common部分:
Geo Position | Specifies the geo position coordinates for the node (latitude, longitude, and altitude).指定节点的地理位置坐标(纬度、经度和高度)。 |
---|---|
By default only the following objects are curved by the Geodetic Pivot:默认情况下,只有以下对象会被Geodetic Pivot弯曲:
As for Static Meshes, Mesh Decals, and Billboards, sometimes you might just want to set their positions in real world coordinates an leave their geometry as is, but in some cases they should be curved (e.g., large static meshes, or roads represented as mesh decals). For this purpose you should use the following button:至于Static Meshes, Mesh Decals, and Billboards,有时你可能只是想设置头寸在现实世界坐标离开他们的几何,但在某些情况下,他们应该是弯曲的道路(如大型静态网格,或表示为网状图案)。为此,您应该使用以下按钮: |
|
Make Curved | Curves the geometry of the object according to the specified settings. A curved clone of the initial node is created, the initial node (using a non-curved mesh) is simply disabled, so you can use it when you need to return geometry back to normal (uncurved) state.根据指定的设置将对象的几何形状弯曲。创建初始节点的曲面克隆,初始节点(使用非曲面网格)被简单地禁用,所以当您需要将几何图形返回到正常(非曲面)状态时,可以使用它。 |