This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
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
创建内容
Content Optimization
Materials
Art Samples
Tutorials

使用 AppEasyBlend 插件设置投影

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

AppEasyBlend plugin allows you to render the UNIGINE-based application on multi-projector setups that are stored in the calibration files created via Scalable Display Manager and set up via EasyBlend SDK. The setup can have a complex shape, such as dome.AppEasyBlend 插件允许您在多投影仪设置上渲染基于 UNIGINE 的应用程序,这些设置存储在通过 Scalable Display Manager 创建并通过 EasyBlend SDK 设置的校准文件中。设置可以具有复杂的形状,例如圆顶。

注意
  • The plugin is available only on Windows with DirectX 11 API (DirectX runtime may need to be updated). OpenGL support is currently experimental.该插件仅在具有 DirectX 11 API 的 Windows 上可用(DirectX 运行时可能需要更新)。 OpenGL 支持目前处于试验阶段。
  • Microsoft Visual C++ 2008 Redistributable Package x64 is required.Microsoft Visual C++ 2008 Redistributable Package x64 是必需的。
  • DPI scaling is not supported.不支持 DPI 缩放。
  • This plugin cannot be used in a Qt-based application.该插件不能在基于 Qt 的应用程序中使用。

The plugin supports the fullwindow mode (when the application window is rendered without decorations).该插件支持 fullwindow 模式(当应用程序窗口在没有装饰的情况下呈现时)。

注意
If you run the application in the windowed mode, the window should be non-resizable.如果在窗口模式下运行应用程序,窗口应该是不可调整大小.

You can toggle the AppEasyBlend plugin via the easyblend console command:您可以通过 easyblend 控制台命令切换 AppEasyBlend 插件:

  • To enable, use:要启用,请使用:

    源代码
    easyblend 1
  • To disable, use:要禁用,请使用:

    源代码
    easyblend 0

See Also也可以看看#

Implementing Unigine Application with AppEasyBlend Support使用 AppEasyBlend 支持实现 Unigine 应用程序#

To use the AppEasyBlend plugin with UNIGINE, perform the following:要将 AppEasyBlend 插件与 UNIGINE 一起使用,请执行以下操作:

  1. Create a new project with AppEasyBlend support via UNIGINE SDK Browser: click Plugins, check the EasyBlend support (AppEasyBlend plugin) option in the form that opens and click OK.通过 UNIGINE SDK 浏览器创建一个支持 AppEasyBlend 的新项目:单击 Plugins,在打开的表单中选中 EasyBlend support (AppEasyBlend plugin) 选项,然后单击 OK

    AppEasyBlend Plugin on Plugins PanelPlugins 面板上的 AppEasyBlend 插件
    注意
    To add AppEasyBlend support to the existing project, in UNIGINE SDK Browser, click Other Actions -> Configure Project -> Plugins -> EasyBlend support (AppEasyBlend plugin) -> OK. 要将 AppEasyBlend 支持添加到现有项目,请在 UNIGINE SDK Browser 中单击 Other Actions -> Configure Project -> Plugins -> EasyBlend support (AppEasyBlend plugin) -> OK
  2. Implement your application.实施您的应用程序。
  3. Launch the AppEasyBlend plugin on the application start-up.发射应用程序启动时的 AppEasyBlend 插件。

Launching AppEasyBlend启动 AppEasyBlend#

To launch the plugin, specify the extern_plugin command line option on the application start-up as follows:要启动插件,请在应用程序启动时指定 extern_plugin 命令行选项,如下所示:

注意
For the correct result, the screen resolution must be specified on the application start-up, and it must be the same as the one set in the *.ol file.要获得正确的结果,必须在应用程序启动时指定屏幕分辨率,并且必须与 *.ol 文件中设置的相同。
命令行
main_x64d -extern_plugin AppEasyBlend -calibration_file "my.ol" -video_mode -1 -video_width 1024 -video_height 768

Here:这里:

  • calibration_file option specifies a path (absolute) to an *.ol calibration file that stores projection settings.calibration_file 选项指定存储投影设置的 *.ol 校准文件的路径(绝对)。

If you run the application via UNIGINE SDK Browser, specify the command-line options given above in the Customize Run Options form.如果您通过 UNIGINE SDK 浏览器运行应用程序,请在 Customize Run Options 表单中指定上面给出的命令行选项。

注意

It is impossible to use AppEasyBlend with:不可能AppEasyBlend 用于:

最新更新: 2021-09-17
Build: ()