blender/source/gameengine
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
..
BlenderRoutines Fix #34997: when starting the game engine in one window and switching to a second 2013-04-18 16:28:39 +00:00
Converter style cleanup 2013-04-18 01:52:38 +00:00
Expressions style cleanup 2013-04-18 01:52:38 +00:00
GameLogic code cleanup: 2013-03-25 02:41:30 +00:00
GamePlayer BGE: Adding a render.setFullScreen() and a render.getFullScreen() to allow fulscreening games via Python. 2013-04-13 21:09:02 +00:00
Ketsji BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() and bge.render.getMipmapping(). 2013-04-14 00:40:24 +00:00
Network code cleanup: unused vars in collada, preprocessor formatting & warning in mingw. 2013-03-04 00:53:57 +00:00
Physics code cleanup: warnings and style. 2013-04-12 00:50:40 +00:00
Rasterizer BGE: Extend Framing Mode + Camera sensor 2013-04-18 23:34:32 +00:00
SceneGraph style cleanup: 2013-03-26 07:29:01 +00:00
VideoTexture style cleanup 2013-04-18 01:52:38 +00:00
CMakeLists.txt BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems. 2013-02-24 07:09:39 +00:00
SConscript BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems. 2013-02-24 07:09:39 +00:00