On Mon, Feb 21, 2011 at 12:11:15PM +0100, Fabio Varesano wrote: > On 02/21/2011 11:58 AM, deavid wrote: > > > > This is the matrix: > > - CXx, CXy, CXz, W1 > > - CYx, CYy, CYz, W2 > > - CZx, CZy, CZz, W3 > > - Ox,Oy,Oz, W4 > > Thank you, but this is a 4x4=16 matrix.. while it's defined as a 19 > elements matrix. > > I think I understood how it works.. I did that by looking at the code > in matrix_from_quaternion() in matrix.c and comparing it to > http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToMatrix/index.htm > > So it seems that Grag has it right. It's a 4x4 matrix transformation > matrix ordered rows first, column later so that m[0] to m[3] is the > first column. > > m[16] to m[18] are instead those scale factors which I'm not sure > about what they do.
They are used to use the same model/geom for stuff of different size. > Anyone can confirm? I do. -- Pierre-Yves _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
