UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm (Experimental)
使用编辑器工具执行特定任务
Extending Editor Functionality
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
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

四路缓冲立体声支持

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

Unigine has embedded support for Quad Buffered Stereo. This allows using such professional graphics cards as NVIDIA Quadro and AMD FireGL.Unigine嵌入了对四缓冲立体声的支持。这样就可以使用NVIDIA Quadro和AMD FireGL等专业显卡。

注意
The Quad Buffered Stereo mode can be enabled for OpenGL mode only.只能为OpenGL模式启用Quad Buffered Stereo模式。

Enabling Quad Buffered Stereo Mode启用四路缓冲立体声模式#

To enable the Quad Buffered Stereo mode, perform the following:要启用Quad Buffered Stereo模式,请执行以下操作:

  1. Make sure that you use the graphics card with the support for Quad Buffered Stereo.确保在支持四缓冲立体声的情况下使用图形卡。
  2. Configure the graphics card driver to make your application work correctly.配置图形卡驱动程序以使您的应用程序正确运行。
  3. Enable the Quad Buffered Stereo mode in one of the following ways:
    • Via the command line: specify the video_quad_buffer command line option on the application start-up:
      命令行
      main_x64 -video_app opengl -extern_define STEREO_QUAD_BUFFER -video_quad_buffer 1
      Via the command line: specify the video_quad_buffer command line option on the application start-up:
      命令行
      main_x64 -video_app opengl -extern_define STEREO_QUAD_BUFFER -video_quad_buffer 1
    • Via the console: run the video_quad_buffer console command and restart the video application:
      源代码
      Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
      Via the console: run the video_quad_buffer console command and restart the video application:
      源代码
      Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
    Via the command line: specify the video_quad_buffer command line option on the application start-up:
    命令行
    main_x64 -video_app opengl -extern_define STEREO_QUAD_BUFFER -video_quad_buffer 1
    Via the console: run the video_quad_buffer console command and restart the video application:
    源代码
    Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
    启用Quad Buffered Stereo模式可以通过以下方式之一进行:
    • Via the command line: specify the video_quad_buffer command line option on the application start-up:
      命令行
      main_x64 -video_app opengl -extern_define STEREO_QUAD_BUFFER -video_quad_buffer 1
      通过命令行:在应用程序启动时指定video_quad_buffer命令行选项:
      命令行
      main_x64 -video_app opengl -extern_define STEREO_QUAD_BUFFER -video_quad_buffer 1
    • Via the console: run the video_quad_buffer console command and restart the video application:
      源代码
      Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
      通过控制台:运行video_quad_buffer控制台命令并重新启动视频应用程序:
      源代码
      Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
注意
To make sure that the Quad Buffered Stereo mode is enabled, check the log file. The Quad Buffer Context should be added to the OpenGL flags string.要确保启用Quad Buffered Stereo模式,请检查日志文件。四缓冲区上下文应添加到OpenGL标志字符串中。

For example, if you use the NVIDIA Quadro graphics card and run your application on Windows, you should configure the NVIDIA driver as follows:例如,如果您使用NVIDIA Quadro图形卡并在Windows上运行您的应用程序,则应按以下方式配置NVIDIA驱动程序:

  1. Run the NVIDIA Control Panel (click on the desktop with the right mouse button to call the context menu).运行NVIDIA Control Panel(使用鼠标右键在桌面上单击以调用上下文菜单)。
  2. Select the Manage 3D settings in the left navigation bar.在左侧导航栏中选择Manage 3D settings
  3. Choose the 3D OpenGL Stereo preset in the Global Settings tab.Global Settings选项卡中选择3D OpenGL Stereo预设。
  4. Configure the Stereo - Display mode parameter (choose Generic active stereo (with Nvidia 3D Vision Support) in the drop-down list if you want to use nVidia 3D-glasses, otherwise choose Generic active stereo - in this case, 3D-glasses will not work).配置Stereo - Display mode参数(如果要使用nVidia 3D眼镜,请在下拉列表中选择Generic active stereo (with Nvidia 3D Vision Support),否则选择通用有源立体声-在这种情况下,3D眼镜将不起作用)。
  5. Press the Apply button.按下Apply按钮。
  6. Select the Set up stereoscopic 3D in the left navigation bar.在左侧导航栏中选择Set up stereoscopic 3D
  7. Check the Enable stereoscopic 3D.检查Enable stereoscopic 3D
  8. Select when your monitor will be in 3D mode in the drop-down menu (Always is recommended).在下拉菜单中选择显示器何时处于3D模式(建议使用Always)。
  9. Press the Apply button.按下Apply按钮。
  10. Run your application.
    注意
    You should set the Screen refresh rate to 120 Hz before launching the engine with Quad Buffered Stereo support:
    • Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).
    • Click the Advanced settings.Click the Advanced settings.
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.In the Monitor tab, choose the 120 Hertz in the drop-down menu.
    • Press the Apply button.Press the Apply button.
    Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Click the Advanced settings.In the Monitor tab, choose the 120 Hertz in the drop-down menu.Press the Apply button.
    You should set the Screen refresh rate to 120 Hz before launching the engine with Quad Buffered Stereo support:
    • Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).
    • Click the Advanced settings.Click the Advanced settings.
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.In the Monitor tab, choose the 120 Hertz in the drop-down menu.
    • Press the Apply button.Press the Apply button.
    You should set the Screen refresh rate to 120 Hz before launching the engine with Quad Buffered Stereo support:
    • Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).
    • Click the Advanced settings.Click the Advanced settings.
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.In the Monitor tab, choose the 120 Hertz in the drop-down menu.
    • Press the Apply button.Press the Apply button.
    Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Click the Advanced settings.In the Monitor tab, choose the 120 Hertz in the drop-down menu.Press the Apply button.
    运行您的应用程序。
    注意
    You should set the Screen refresh rate to 120 Hz before launching the engine with Quad Buffered Stereo support:
    • Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).
    • Click the Advanced settings.Click the Advanced settings.
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.In the Monitor tab, choose the 120 Hertz in the drop-down menu.
    • Press the Apply button.Press the Apply button.
    Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).Click the Advanced settings.In the Monitor tab, choose the 120 Hertz in the drop-down menu.Press the Apply button.
    在使用以下命令启动引擎之前,应将屏幕刷新率设置为120 Hz。Quad Buffered Stereo支持:
    • Open the Screen Resolution panel (click on the desktop with the right mouse button to call the context menu).打开Screen Resolution面板(使用鼠标右键在桌面上单击以调用上下文菜单)。
    • Click the Advanced settings.单击Advanced settings
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.Monitor标签中,在下拉菜单中选择120 Hertz
    • Press the Apply button.按下Apply按钮。
最新更新: 2020-11-11