This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
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
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Separate Images Output with Separate Plugin

The Separate plugin is used to create a separate window for each eye. It can be used with any devices that support separate images output, e.g. for 3D video glasses or helmets (HMD)

Notice
  • The Separate plugin is available only on DirectX 11 graphics API. So it can be used under Windows only.
  • This plugin cannot be used in a Qt-based application.

Separate can be rendered in both the windowed and the full-screen mode.

Launching Separate#

To use the plugin, specify the extern_plugin command line option and STEREO_SEPARATE define on the start-up:

Shell commands
main_x64d -extern_plugin "UnigineSeparate" -extern_define STEREO_SEPARATE

Also you can create a new project with the Separate plugin support by checking the Dual output stereo 3D option on the New Project tab of the UNIGINE SDK Browser.

The engine automatically loads the appropriate version of the library depending on the specified main application. So you can use 64-bit debug or release version of the library.

Notice
The Separate plugin cannot be used with:

Customizing Separate#

Unigine-based application can be used with any custom device that supports an output of separate image pairs. You simply need to do the following:

  1. Define the application behaviour when the STEREO_SEPARATE define is set on the start-up or in the configuration file:
    Source code (C++)
    #ifdef STEREO_SEPARATE
    	// implement your code here
    #endif
  2. Implement the input device interface using an extensible C++ API.

Stereo settings that control eye separation and distance to the zero parallax plane are added to GUI by data/core/scripts/system/stereo.h script and can be controlled from there.

Last update: 2024-04-19
Build: ()