This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Geodetic Pivot(测量支点)

警告
本文介绍的功能在 Community SDK 版本中不可用。
您应该升级到 Engineering / Sim SDK版本才能使用它。
注意
In UNIGINE SDK editions other than Engineering and Sim, the geodetic pivot object is equivalent to NodeDummy.在除EngineeringSim之外的UNIGINE SDK版本中,大地pivot对象等价于NodeDummy

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工作于:

Curved ObjectMeshStatic with WorldClutter 曲线ObjectMeshStaticWorldClutter

See Also另请参阅#

Adding a Geodetic Pivot添加一个大地轴#

To add a Geodetic Pivot to the scene via UnigineEditor do the following:通过UnigineEditor将一个Geodetic Pivot添加到场景中,步骤如下:

  1. Run the project with UnigineEditor.使用UnigineEditor运行项目。
  2. On the Menu bar, click Create -> Geodetics -> Pivot.在菜单栏上,单击Create -> Geodetics -> Pivot

  3. 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.49771000值表示赤道,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.97437000值表示本初子午线(格林尼治)。该字段支持两个范围:-180 ~ 1800 ~ 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 PivotFlat 定位模式。 当只需要通过地理坐标(纬度、经度、高度)设置节点位置,而不需要弯曲地形、云层等时,应该使用这种模式。
  • 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之后,你可以简单地添加对象来“弯曲”它们:

  1. 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的子节点。

  2. Specify the necessary settings of the Geodetic Pivot.指定必要的设置Geodetic Pivot
  3. 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 Common 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弯曲:

  • Global Terrain (ObjectTerrainGlobal)
  • Global Water (ObjectWaterGlobal)
  • Cloud Layers (ObjectCloudLayer)

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 two buttons:至于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.根据指定的设置将对象的几何形状弯曲。创建初始节点的曲面克隆,初始节点(使用非曲面网格)被简单地禁用,所以当您需要将几何图形返回到正常(非曲面)状态时,可以使用它。
注意
Buttons described above are available only for Static Mesh, Mesh Decal, and Billboards objects, when they are added as children to the Geodetic Pivot.上面描述的按钮仅对Static Mesh, Mesh DecalBillboards对象可用,当它们作为子对象添加到Geodetic Pivot时。
最新更新: 2023-11-16
Build: ()