diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2014-01-02 03:26:15 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2014-01-02 03:26:15 +0400 |
commit | c7029f06d924e5acf5eafcaa13854aca5e7406b5 (patch) | |
tree | 409d939838d8d8cdea354d55cb371ace058a5e9b /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | |
parent | 9a1585a5331ec4dd3fcf7d024548820098181601 (diff) |
Add new BGE Stereo mode: 3DTV top-bottom.
This mode is designed for passive 3D TV: the viewport is split
horizontally - left eye above, right eye below - but the original camera
viewport is squashed in each half (with half the vertical resolution).
This is necessary to restore the aspect ratio in the 3D output because the TV expands each half to the full screen size.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index ba580bc038c..7d792ca37c8 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -660,6 +660,9 @@ int main(int argc, char** argv) else if (!strcmp(argv[i], "syncdoubling")) stereomode = RAS_IRasterizer::RAS_STEREO_ABOVEBELOW; + else if (!strcmp(argv[i], "3dtvtopbottom")) + stereomode = RAS_IRasterizer::RAS_STEREO_3DTVTOPBOTTOM; + else if (!strcmp(argv[i], "anaglyph")) stereomode = RAS_IRasterizer::RAS_STEREO_ANAGLYPH; |