blender/source/gameengine/Rasterizer/RAS_OpenGLRasterizer
Benoit Bolsee 7f10f5f66f fix BGE bug #8646: unusable anaglyph settings
The best rules for stereo rendering are now applied to Blender. Here is the new situation:
1) The focal distance is now settable through the GUI: select the camera (each camera can have a different setting) and go to the camera data (F9): the "Dof Dist" and "Dof Ob" can be used to set the focal distance for that camera. The "Dof Ob" is interesting because it sets the focal distance so that the center this object will appear at the surface of the screen when running the game.
2) The eye separation is automatically set to focal_distance/30, which is considered to be a reasonable value. If you need a different value, you can always use Python scripting. 

Notes: 
- If you switch camera during the game, the focal distance will also change unless you have set the focal distance by scripting, in which case it overwrites the focal distance setting of all cameras.
- If you don't set the focal distance in the camera data or by scripting, the default value will be used. The default value corresponds more of less to the near clipping plane which means that all the objects will be very far with little 3D effect.
- If you don't set the eye separation by scripting, it is automatically computed as focal_distance/30, regardless on how the focal distance was set.
2008-05-24 08:34:04 +00:00
..
ARB_multitexture.h Improved OpenGL Shader Language support for game engine. The python interface is much simplified. Drawback is that scripts need to be updated next release. Testfiles: 2006-02-13 05:45:32 +00:00
CMakeLists.txt Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
EXT_separate_specular_color.h Add the separate spec colour definitions! 2004-06-07 11:57:10 +00:00
Makefile Fixes Makefiles for mac_compat_glext.h by updating some include paths. 2008-05-06 09:43:28 +00:00
mkglext.py Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
RAS_GLExtensionManager.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
RAS_GLExtensionManager.h getting ARB shaders working again in GE. 2008-04-29 16:22:13 +00:00
RAS_ListRasterizer.cpp BGE memleak fix: OpenGL Display Lists not deleted when switching scene 2008-03-09 22:02:32 +00:00
RAS_ListRasterizer.h BGE memleak fix: OpenGL Display Lists not deleted when switching scene 2008-03-09 22:02:32 +00:00
RAS_OpenGLRasterizer.cpp fix BGE bug #8646: unusable anaglyph settings 2008-05-24 08:34:04 +00:00
RAS_OpenGLRasterizer.h fix BGE bug #8646: unusable anaglyph settings 2008-05-24 08:34:04 +00:00
RAS_VAOpenGLRasterizer.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
RAS_VAOpenGLRasterizer.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SConscript getting ARB shaders working again in GE. 2008-04-29 16:22:13 +00:00