Blender Git Loki

Git Commits -> Revision f12b179

Revision f12b179 by Dalai Felinto (master)
June 29, 2015, 13:45 (GMT)
Fix 73841 : Game Engine - Camera Lens Shift

This is essential for video projection, and the alternative until now was to manually change the projection matrix via Python.
( http://www.blender.org/manual/game_engine/camera/introduction.html#camera-lens-shift
- this page will be removed as soon as I commit this)

Also this is working for perspective and orto cameras BUT if the sensor is not AUTO it will only look correct in blenderplayer (this is an unrelated bug, but just in case someone runs into it while testing this, now you know why you got the issue).

Kudos for the BlenderVR project for supporting this feature development.

Differential Revision: https://developer.blender.org/D1379

Commit Details:

Full Hash: f12b1790a0f4bb26d99ca151f8794a179e151987
Parent Commit: 3d12d4b
Lines Changed: +83, -14

8 Modified Paths:

/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+16, -0) (Diff)
/source/gameengine/Ketsji/KX_Camera.h (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+4, -0) (Diff)
/source/gameengine/Rasterizer/RAS_CameraData.h (+5, -0) (Diff)
/source/gameengine/Rasterizer/RAS_FramingManager.cpp (+39, -13) (Diff)
/source/gameengine/Rasterizer/RAS_FramingManager.h (+8, -0) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021