blender/source/gameengine/VideoTexture
Dalai Felinto f12b1790a0 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
2015-06-29 10:45:27 -03:00
..
BlendType.h BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor. 2013-08-03 05:01:50 +00:00
blendVideoTex.cpp Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
CMakeLists.txt Ghost Context Refactor 2014-10-07 15:47:32 -05:00
Common.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
Exception.cpp BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor. 2013-08-03 05:01:45 +00:00
Exception.h Code cleanup: doxy comments 2014-05-14 15:00:47 +10:00
FilterBase.cpp style cleanup 2013-03-29 06:21:28 +00:00
FilterBase.h style cleanup 2013-03-29 06:21:28 +00:00
FilterBlueScreen.cpp code cleanup: 2013-03-25 02:41:30 +00:00
FilterBlueScreen.h style cleanup 2013-03-29 06:21:28 +00:00
FilterColor.cpp style cleanup: 2013-03-26 07:29:01 +00:00
FilterColor.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
FilterNormal.cpp code cleanup: 2013-03-25 02:41:30 +00:00
FilterNormal.h style cleanup 2013-03-29 06:21:28 +00:00
FilterSource.cpp code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
FilterSource.h BGE: Making sure m_buffV, m_buffU, and m_pitchUV are initialized in the FilterYV12 constructor. 2013-08-03 05:01:40 +00:00
ImageBase.cpp missed last commit 2015-01-27 03:41:05 +11:00
ImageBase.h style cleanup 2013-03-29 06:21:28 +00:00
ImageBuff.cpp GSOC 2013 paint 2014-07-21 12:02:05 +02:00
ImageBuff.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
ImageMix.cpp style cleanup 2013-03-29 06:21:28 +00:00
ImageMix.h BGE: Making sure m_offset is initialized in the ImageSourceMix constructor. 2013-08-03 05:01:36 +00:00
ImageRender.cpp Fix 73841 : Game Engine - Camera Lens Shift 2015-06-29 10:45:27 -03:00
ImageRender.h BGE: Fix for precision lost in setBackground/getBackground at Video Texture 2015-06-16 00:05:25 +02:00
ImageViewport.cpp Ghost Context Refactor 2014-10-07 15:47:32 -05:00
ImageViewport.h style cleanup: 2013-03-26 07:29:01 +00:00
PyTypeList.cpp style cleanup 2013-03-29 06:21:28 +00:00
PyTypeList.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
SConscript Ghost Context Refactor 2014-10-07 15:47:32 -05:00
Texture.cpp Get rid og gluBuild2DMipmaps on game engine. 2015-03-16 16:18:37 +01:00
Texture.h Get rid of gluScaleImage in our game engine as well. 2015-02-27 14:47:39 +01:00
VideoBase.cpp style cleanup 2013-03-29 06:21:28 +00:00
VideoBase.h correction to previous warning cleanup, also quiet shadow-warning for thumbnail size 2013-04-05 00:10:33 +00:00
VideoFFmpeg.cpp BGE VideoTexture: refresh() on ImageFFmpeg should have no effect. 2014-12-04 23:55:53 +01:00
VideoFFmpeg.h BGE VideoTexture: refresh() on ImageFFmpeg should have no effect. 2014-12-04 23:55:53 +01:00