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)
File Formats
Materials and Shaders
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
创建内容
内容优化
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

使用 EasyBlend 插件设置投影

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

EasyBlend 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.EasyBlend 插件允许您在多投影仪设置上渲染基于 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 EasyBlend plugin via the easyblend console command:您可以通过 easyblend 控制台命令切换 EasyBlend 插件:

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

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

    源代码
    easyblend 0

See Also也可以看看#

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

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

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

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

Launching EasyBlend启动 EasyBlend#

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 EasyBlend -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 EasyBlend with:不可能EasyBlend 用于:

最新更新: 2022-08-08
Build: ()