[Bf-committers] Change Representation and Initialisation of Matrices to Conform with Standard Notation

Dan Eicher dan at trollwerks.org
Fri Dec 9 05:07:23 CET 2011


On Wed, Dec 7, 2011 at 11:05 PM, Andrew Hale <trumanblending at gmail.com> wrote:
> Hi All,
>
> I have written a patch which rectifies a cause of confusion among Blender
> uses when starting out with matrices and vectors. The patch ensures
> consistency between the matrix representation and matrix/vector products so
> that they behave in the way that people familiar with math expect. This is
> achieved by adjusting pythons access to the internal storage, while keeping
> the internal data the same. Note that this does not interfere with how
> matrices are stored internally or how matrix products, additions etc are
> performed internally.
>
> The patch can be found here:
> http://projects.blender.org/tracker/index.php?func=detail&aid=29534&group_id=9&atid=127along
> with a more in depth explanation.
>
> Thanks,
> Andrew

I thought blender does it this way is because opengl also does row (or
column, dunno really) major representation?

...and this patch would break pretty much every script out there.

Dan


More information about the Bf-committers mailing list