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版本。

CIGI Demo

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

CIGI demo showcases the use of UNIGINE-based application as an Image Generator (IG) that interacts with a host via the CIGI protocol (versions 3.0, 3.1, 3.2, and 3.3 are supported). CIGI演示展示了如何使用基于UNIGINE的应用程序作为通过CIGI协议与主机进行交互的Image Generator (IG)(支持版本3.0、3.1、3.2和3.3)。

This demo also contains IG Host — a cross-platform host emulator that can be used for debugging. Currently it supports the CIGI protocol only.此演示还包含IG Host —可用于调试的跨平台主机仿真器。当前它仅支持CIGI协议。

IG Host can be used with any UNIGINE IG project. IG Host可以与任何used with any UNIGINE IG project.

CIGI demo is run out of the box with IG Host, no additional arrangement is required. CIGI demoIG Host开箱即用,不需要其他安排。

If you want to use HEMU with this demo, do the following:如果要在此演示中使用HEMU,请执行以下操作:

  • Download and install CIGI Host Emulator from here.CIGI Host Emulator from here.
  • Copy all files from the <CIGI_Demo_Root_Directory>/cigi_host_configuration directory to the <CIGI_Host_Emulator_Installation_Directory>/Default directory.
    注意
    You can open the root directory of the demo in SDK Browser by going to Samples -> Demos -> CIGI, and clicking Open.You can open the root directory of the demo in SDK Browser by going to Samples -> Demos -> CIGI, and clicking Open.
    You can open the root directory of the demo in SDK Browser by going to Samples -> Demos -> CIGI, and clicking Open.
    将所有文件从<CIGI_Demo_Root_Directory>/cigi_host_configuration目录复制到<CIGI Host Emulator Installation Directory>/Default目录。
    注意
    You can open the root directory of the demo in SDK Browser by going to Samples -> Demos -> CIGI, and clicking Open.您可以在 SDK 浏览器中打开演示项目的根目录,方法是转到 Samples -> Demos -> CIGI,然后单击 Open
  • Launch CIGI Host Emulator.启动 CIGI主机模拟器.
  • Launch CIGI demo and specify necessary configuration settings in the dialog window that appears.启动CIGI demo并在出现的对话框窗口中指定必要的配置设置。

Features特征#

  • Cross-platform host emulator that can be used for debugging可用于调试的跨平台主机模拟器
  • Entity creation/deletion and control实体创建/删除和控制
  • Control over articulated parts of the entity控制实体的关节部分
  • View/Viewgroup control via View Definition/Control packets通过View Definition/Control数据包进行View/Viewgroup控制
  • Changing the time of the day via Celestial Sphere Control packets通过Celestial Sphere Control数据包更改一天中的时间
  • Changing the weather conditions via Weather Control packets通过Weather Control数据包更改天气条件
  • HAT/HOT request packets HAT/HOT请求数据包

访问演示项目源代码#

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

  1. Demos部分中找到CIGI 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: ()