This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Syncker Demo

警告
本文介绍的功能在 Community SDK 版本中不可用。
您应该升级到 Sim SDK版本才能使用它。

Syncker demo showcases the capabilities of the UNIGINE Syncker plugin. This plugin provides robust and reliable frame synchronization for real-time content rendering in a multi-node network cluster, fully customizable via API. Syncker演示展示了UNIGINE Syncker插件的功能。此插件可通过API完全自定义,从而为多节点网络群集中的实时内容渲染提供可靠,可靠的帧同步。

Features特征#

  • Automatic synchronization of global water (ObjectWaterGlobal), cloud layers (ObjectCloudLayer), world light sources (LightWorld), and particle systems (ObjectParticles). 全球水ObjectWaterGlobal),云层ObjectCloudLayer),世界光源LightWorld)和的自动同步粒子系统ObjectParticles)。
  • Synchronization of dynamic objects moving along the trajectories set by splines (vessel, boats, aircrafts).沿样条线设置的动态对象(船只,船只,飞机)的同步。
  • Behavior of static nodes (buoys), that have their position determined by the ObjectWaterGlobal. These nodes are not synchronized, but their positions are adjusted indirectly via global water (ObjectWaterGlobal) synchronization.静态节点(浮标)的行为,其位置由ObjectWaterGlobal确定。这些节点不同步,但是它们的位置通过全局水(ObjectWaterGlobal)同步间接调整。
  • Synchronization of child nodes in the NodeReference hierarchy (helicopter rotors). NodeReference层次结构中的子节点(直升机旋翼)的同步。
  • Creation of objects and enabling physical interactions for them.创建对象并为其启用物理交互。
  • Setting individual logic and controls for each slave.为每个从属设置单独的逻辑和控制。
  • Setting cameras on slaves to target different objects.在奴隶上设置摄像机以瞄准不同的对象。
  • Changing a slave's logic.更改从属逻辑。
  • Various addressing modes: Unicast, Multicast, Broadcast.各种寻址模式Unicast, Multicast, Broadcast
  • Animating objects based on the current time if their position can be pre-defined to optimize network data transfer.如果可以预先定义对象的位置以优化网络数据传输,则根据当前时间对它们进行动画处理。
  • Making Syncker a network library.使Syncker成为网络库。

Running the Demo运行演示#

As you run the demo, you'll see the Syncker Configurator window.在运行演示时,您将看到Syncker Configurator窗口。

Addressing method Selection of the addressing mode.选择寻址模式
Master UDP Port UDP port to be used for message exchange between the Master and Slaves. UDP端口,用于在MasterSlaves之间进行消息交换。
Demo A scene demonstrating a certain aspect of the Syncker Plugin. As soon as you select a scene from the dropdown list, its brief description is displayed below.一个场景,展示了Syncker插件的某个方面。从下拉列表中选择一个场景后,其简短说明就会显示在下面。
Peers Count The number of instances you are going to run. For example, if you plan to run a Master and two Slaves, enter 3 in this field and run two more instances of this demo scene as Slaves.您要运行的实例数。例如,如果您打算运行一个Master和两个Slaves,请在此字段中输入3并以Slaves的形式运行该演示场景的另外两个实例。
Run Master Run the current instance as Master.将当前实例运行为Master
Run Slave Run the current instance as Slave.将当前实例运行为Slave
View Define the position of the image rendered by the current instance in the overall panorama.定义当前实例在整个全景图中渲染的图像的位置。

When the required number of instances has been run, the scene opens and the information about the demo is displayed in the Master instance.运行了所需数量的实例后,将打开场景,并在Master实例中显示有关演示的信息。

访问演示项目源代码#

您可以学习和修改此演示的源代码来创建自己的项目。 要访问源代码,请执行以下操作:

  1. Demos部分中找到Syncker Demo演示并点击Install(安装)(如果您尚未安装)。
  2. 安装成功后,demo会出现在Installed部分,您可以点击Copy as Project基于此创建项目 演示。
  3. 在打开的 Create New Project 窗口中,在相应字段中输入新项目的名称,然后单击Create New Project.
  4. 现在您可以点击Open Code IDE查看和修改默认IDE中的源代码,或者点击Open Editor打开项目 在 UnigineEditor中。
最新更新: 2023-06-23
Build: ()