Anaglyph (3D): Difference between revisions

Jump to navigation Jump to search
(→‎Getting out of stereo mode: You can get out of stereo mode by starting FlightGear with the option --prop:/sim/rendering/osg-displaysettings/stereo-mode="OFF")
Line 96: Line 96:
* <tt>ANAGLYPH Use anaglyphic stereo when in stereo (default) (See green-red filtered images).</tt>  
* <tt>ANAGLYPH Use anaglyphic stereo when in stereo (default) (See green-red filtered images).</tt>  
* <tt>QUAD_BUFFER Use quad buffered stereo when in stereo.</tt>
* <tt>QUAD_BUFFER Use quad buffered stereo when in stereo.</tt>
* <tt>HORIZONTAL_SPLIT Use horizontal split stereo mode when in stereo [http://wiki.flightgear.org/index.php/File:OSG_Anaglyph_StartScreen.jpg Starting],[http://wiki.flightgear.org/index.php/File:Hor_Cockpit.jpg Running!], [http://wiki.flightgear.org/index.php/File:Stereo_B1900D_View.jpg External Stereo View]</tt>
* <tt>HORIZONTAL_SPLIT Use horizontal split stereo mode when in stereo [http://wiki.flightgear.org/File:OSG_Anaglyph_StartScreen.jpg Starting],[http://wiki.flightgear.org/File:Hor_Cockpit.jpg Running!], [http://wiki.flightgear.org/File:Stereo_B1900D_View.jpg External Stereo View]</tt>
* <tt>VERTICAL_SPLIT Use vertical split stereo mode when in stereo [http://wiki.flightgear.org/index.php/File:Vertical_Sep_Cockpit.jpg Vertical Separation Cockpit] and [http://wiki.flightgear.org/index.php/File:Vertical_Sep_External.jpg External View]</tt>
* <tt>VERTICAL_SPLIT Use vertical split stereo mode when in stereo [http://wiki.flightgear.org/File:Vertical_Sep_Cockpit.jpg Vertical Separation Cockpit] and [http://wiki.flightgear.org/File:Vertical_Sep_External.jpg External View]</tt>


(Any practical application sample of Vertical Split?)
(Any practical application sample of Vertical Split?)


To understand the red-green images, one can carefully inspect especially the horizontally separated images. If you carefully look at [http://wiki.flightgear.org/index.php/File:Hor_Cockpit.jpg this] image, note how the runway markings are appearing in a different perspective in left and right images. This is an exact (but not working in this case) copy of [http://en.wikipedia.org/wiki/Stereoscopy "cross eyed 3D"] pictures.What OSG does when you tell to enable the Anaglyph instead of this horizontal stereo, it applies color filters that exactly (not at practice sometimes, within color bandwidth limits) matches with your green and red filters on your glasses. Then it overlaps these filtered images and displays as a single image. Then, your left eye, with a green filter, filters the green image and sees the reddish image and vice versa for the right eye. Thus, giving each eye what they should be seeing in a real cockpit is also assembled by our brain, and perceived as a 3D environment. A small reminder about the Quad Buffered Stereo. It should only be enabled when you have a proper hardware, such as liquid crystal shutter glasses. The author attempted enabling this command on a laptop, resulting in bunch of error log in FlightGear console window and application hang.
To understand the red-green images, one can carefully inspect especially the horizontally separated images. If you carefully look at [http://wiki.flightgear.org/File:Hor_Cockpit.jpg this] image, note how the runway markings are appearing in a different perspective in left and right images. This is an exact (but not working in this case) copy of [http://en.wikipedia.org/wiki/Stereoscopy "cross eyed 3D"] pictures.What OSG does when you tell to enable the Anaglyph instead of this horizontal stereo, it applies color filters that exactly (not at practice sometimes, within color bandwidth limits) matches with your green and red filters on your glasses. Then it overlaps these filtered images and displays as a single image. Then, your left eye, with a green filter, filters the green image and sees the reddish image and vice versa for the right eye. Thus, giving each eye what they should be seeing in a real cockpit is also assembled by our brain, and perceived as a 3D environment. A small reminder about the Quad Buffered Stereo. It should only be enabled when you have a proper hardware, such as liquid crystal shutter glasses. The author attempted enabling this command on a laptop, resulting in bunch of error log in FlightGear console window and application hang.


'''OSG_SCREEN_DISTANCE=0.95:''' is the "distance" to your very own screen in metrics. For a good practice, you'd better measure this distance to your screen and not to make it 0.2 meters or 14.3 meters , since the first one is dangerous to your health and latter one to your flight profile. For multiple display, the measurements (should?) be from your viewpoint to the monitor surface. Contributes to the feeling of the depth on your screen.
'''OSG_SCREEN_DISTANCE=0.95:''' is the "distance" to your very own screen in metrics. For a good practice, you'd better measure this distance to your screen and not to make it 0.2 meters or 14.3 meters , since the first one is dangerous to your health and latter one to your flight profile. For multiple display, the measurements (should?) be from your viewpoint to the monitor surface. Contributes to the feeling of the depth on your screen.
1,089

edits

Navigation menu