blender/release/scripts
Dalai Felinto e37e3845a1 BGE: stereoscopic settings changes: (1) eye separation is the UI (2) focallength uses camera focallength
Now the default eye separation value is 0.10 (reasonable for games with 1 meter == 1 B.U.
The focallength used is the camera focal length (DOF settings). It allow you to even use different focal lengths for different scenes (good for UI)

In order to change it you can change the camera focal length or use Rasterizer.setFocalLength.
If you use the Rasterizer method it will use this value for all the cameras.

ToDo:
- Blenderplayer settings
- Update wiki documentation (any volunteer)?

* Note to stereo fans:
I don't have a real stereo environment to test it (other than cheap cyan-red glasses). If you can give it a try in a more robust system and report bugs or problems with BGE current system please let me know. I would be glad to help to make it work 100% by the time Blender 2.5 is out.

For the record, BGE is using the method known as 'parallel axis asymmetric frustum perspective projection'. This method is well documented here:
http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/stereorender/
2009-12-29 15:47:20 +00:00
..
io netrender tab to spaces 2009-12-29 00:04:57 +00:00
modules new python module constants 2009-12-28 10:00:04 +00:00
op - object.add_shape_key(name="Key", from_mix=True) 2009-12-28 18:03:04 +00:00
presets netrender tab to spaces 2009-12-29 00:04:57 +00:00
templates replace dynamic_menu.py with Menu classmethods much less complicated. 2009-12-25 22:16:19 +00:00
ui BGE: stereoscopic settings changes: (1) eye separation is the UI (2) focallength uses camera focallength 2009-12-29 15:47:20 +00:00