This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Quad Buffered Stereo Support

Unigine has embedded support for Quad Buffered Stereo. This allows using such professional graphics cards as NVIDIA Quadro and AMD FireGL.

Notice
The Quad Buffered Stereo mode can be enabled for OpenGL mode only. It cannot be used on Mac OS X.

Enabling Quad Buffered Stereo Mode

To enable the Quad Buffered Stereo mode, perform the following:

  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:
      Shell commands
      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:
      Source code
      Unigine~# video_app opengl && video_quad_buffer 1 && video_restart
Notice
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.

For example, if you use the NVIDIA Quadro graphics card and run your application on Windows, you should configure the NVIDIA driver as follows:

  1. Run the NVIDIA Control Panel (click on the desktop with the right mouse button to call the context menu).
  2. Select the Manage 3D settings in the left navigation bar.
  3. Choose the 3D OpenGL Stereo preset in the Global Settings tab.
  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).
  5. Press the Apply button.
  6. Select the Set up stereoscopic 3D in the left navigation bar.
  7. Check the Enable stereoscopic 3D.
  8. Select when your monitor will be in 3D mode in the drop-down menu (Always is recommended).
  9. Press the Apply button.
  10. Run your application.
    Notice
    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).
    • Click the Advanced settings.
    • In the Monitor tab, choose the 120 Hertz in the drop-down menu.
    • Press the Apply button.
Last update: 2017-07-03
Build: ()