Blender Git Commit Log

Git Commits -> Revision 43998d6

Revision 43998d6 by Dalai Felinto (master)
April 18, 2013, 23:34 (GMT)
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

Commit Details:

Full Hash: 43998d6a383f6d6a8ae31ed8533235c226deda3f
SVN Revision: 56155
Parent Commit: c846e3c
Lines Changed: +66, -26

1 Modified Path:

/source/gameengine/Rasterizer/RAS_FramingManager.cpp (+66, -26) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021