From c7029f06d924e5acf5eafcaa13854aca5e7406b5 Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Thu, 2 Jan 2014 00:26:15 +0100 Subject: 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. --- source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp') 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; -- cgit v1.2.3