Anaglyph (3D): Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 141: Line 141:
| 25||64||51||38||55||31
| 25||64||51||38||55||31
|}
|}
==Eye Separation and Horizontal Distance==
The very final part of the OSG stereo view options consists of few variables that accommodate the device specific issues and finally allows you to set straight look or cross-eyed look (not advised) options.
'''OSG_SPLIT_STEREO_HORIZONTAL_SEPARATION:''' variable adjusts the distance between two horizontally separated view-ports (e.g. right/left screens). If not specified in the environment variables with the OSG_STEREO_MODE=HORIZONTAL_SPLIT set, it takes its default 42 '''pixels''' value. This value is probably specific to the 3D LCD glasses (like tiny screens in front of your eyes), to adjust the distances between two images.
'''OSG_SPLIT_STEREO_HORIZONTAL_EYE_MAPPING:''' While OSG_STEREO_MODE=HORIZONTAL_SPLIT is set, it can take variables such as LEFT_EYE_LEFT_VIEWPORT or LEFT_EYE_RIGHT_VIEWPORT. LEFT_EYE_LEFT_VIEWPORT obviously set the left eye to render to left viewport, right eye to right viewport as a default if not set in Environment. On the other hand LEFT_EYE_RIGHT_VIEWPORT set the left eye to render to right viewport, right eye to left viewport (kind of cross eyed or again, device specific).
'''OSG_SPLIT_STEREO_VERTICAL_SEPARATION:''' theoretically does the same thing as horizontal separation but showing images up/down as opposed to left/right. It can take values similar to HORIZONTAL_SEPARATION in pixels.
'''OSG_SPLIT_STEREO_VERTICAL_EYE_MAPPING''' works the same way as horizontal mapping, displaying upper and lower images respectively. The string variables are LEFT_EYE_TOP_VIEWPORT and LEFT_EYE_BOTTOM_VIEWPORT, which are quiet self-explanatory.


==Links==
==Links==
23

edits

Navigation menu