Blender Git Commit Log

Git Commits -> Revision dc6ae67

Revision dc6ae67 by Dalai Felinto (master)
May 20, 2009, 05:33 (GMT)
Moving ScreenSpace methods from Rasterizer to KX_Camera (getScreenPos, getScreenVect, getScreenRay)

The modules were moved in order to access the camera internal matrixes. It will make then compatible with multiple viewports in a near future.
So far the problem I found was:
1) KX_Camera doesn't store the canvas viewport
2) RAS_ICanvas methods: GetDisplayArea and GetWindowArea are affected by multiple viewports (and they shouldn't).

Test file is here: http://www.pasteall.org/blend/68

Commit Details:

Full Hash: dc6ae673b1d95d28c4fab4dbfbd9947d4a6c3bb2
SVN Revision: 20284
Parent Commit: fc9f893
Lines Changed: +189, -174

5 Modified Paths:

/source/gameengine/Ketsji/KX_Camera.cpp (+142, -2) (Diff)
/source/gameengine/Ketsji/KX_Camera.h (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+0, -128) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+43, -0) (Diff)
/source/gameengine/PyDoc/Rasterizer.py (+0, -44) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021