blender/source/gameengine/Rasterizer
Dalai Felinto 43998d6a38 BGE: Extend Framing Mode + Camera sensor
If the "Framing" mode is set to extend,
the camera frustrum changes when you
resizes the blenderplayer window.

Before this patch, there were no way to
control which part of the framing you want
to extend (vertical, horizontal or arbritary).

Now:
If the camera sensor fit is set to HORIZONTAL,
the horizontal field of view doesn't change.
If set to VERTICAL, the vertical fov doesn't change.

If set to AUTO the old behaviour takes place, arbitrarly
showing more of the horizontal or vertical field of view
depending on the aspect ratio of the window.

Test file:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/gameengine/framing_extend.blend

Bugfix supported by NF-UBC Nereus Program as part of the development
of OceanViz/NereusViz
2013-04-18 23:34:32 +00:00
..
RAS_OpenGLFilters code cleanup: bge warnings 2013-04-04 23:16:23 +00:00
RAS_OpenGLRasterizer style cleanup 2013-04-18 01:52:38 +00:00
CMakeLists.txt code cleanup: bge - was converting float[] to MT_Vector's just to compare. use BLI_math instead. 2013-02-23 01:57:56 +00:00
RAS_2DFilterManager.cpp code cleanup: bge warnings 2013-04-04 23:16:23 +00:00
RAS_2DFilterManager.h BGE: Fixing a performance regression with 2D filters. My changes caused a check to fail every frame resulting in constant recreation of textures. 2012-07-28 09:45:39 +00:00
RAS_BucketManager.cpp style cleanup 2013-03-29 06:21:28 +00:00
RAS_BucketManager.h style cleanup 2013-03-29 06:21:28 +00:00
RAS_CameraData.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_Deformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
RAS_FramingManager.cpp BGE: Extend Framing Mode + Camera sensor 2013-04-18 23:34:32 +00:00
RAS_FramingManager.h style cleanup 2012-09-16 04:58:18 +00:00
RAS_ICanvas.h BGE: Adding a render.setFullScreen() and a render.getFullScreen() to allow fulscreening games via Python. 2013-04-13 21:09:02 +00:00
RAS_IPolygonMaterial.cpp style cleanup 2012-10-14 13:08:19 +00:00
RAS_IPolygonMaterial.h style cleanup: comment format 2013-02-02 04:48:21 +00:00
RAS_IRasterizer.h BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() and bge.render.getMipmapping(). 2013-04-14 00:40:24 +00:00
RAS_IRenderTools.cpp remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
RAS_IRenderTools.h BGE Profile : visual feedback bars and improvements 2013-01-28 01:26:36 +00:00
RAS_LightObject.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_MaterialBucket.cpp fix for typo in r53145 2012-12-19 01:42:28 +00:00
RAS_MaterialBucket.h add 2 new utility functions to the BGE mesh py api. 2012-11-10 09:45:43 +00:00
RAS_MeshObject.cpp style cleanup 2013-03-18 11:44:56 +00:00
RAS_MeshObject.h BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
RAS_ObjectColor.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_Polygon.cpp style cleanup 2012-10-22 08:15:51 +00:00
RAS_Polygon.h optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
RAS_Rect.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_texmatrix.cpp BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
RAS_TexMatrix.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
RAS_TexVert.cpp code cleanup: bge - was converting float[] to MT_Vector's just to compare. use BLI_math instead. 2013-02-23 01:57:56 +00:00
RAS_TexVert.h BGE: Cleaning up the VBO code to use RAS_TexVert more directly instead of copying out pieces. This also gets rid of MapBuffers, which isn't available in OpenGL ES. Scenes that require constant VBO updates (like my skeletal mesh stress test) are now 10~13% faster. 2013-04-05 01:28:38 +00:00
SConscript Check if the variable is a string and split nicely, so compile command stays intact with proper include options. 2013-02-25 12:03:55 +00:00