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. Anyone can confirm? Thanks, Fabio Varesano _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user