X Transformation matrix
Blitz3D Forums/Blitz3D Programming/X Transformation matrix
| ||
Hi, Does anyone understand the transformation matrix in an X file? Ive (kind of) worked it out for single entity meshes and parents, but all the children seem to go haywire. Also, i understand the internal matrix in blitz deals with 3x3 matrix. This seems to correspond with numbers in the X format in some experiments ive done. However in the X file format, it uses 4x4. i think ive sussed out the bottom row as world coordinates, but the 4th column is a bit of a mystery. TM,TM,TM,? TM,TM,TM,? TM,TM,TM,? PX,PY,PZ,? ?=No idea what this is for TM=transformation matrix matching the one in blitz (also a mystery) PX,PY,PZ=World position? Although in some situations seems to affect the scale?!? Im basically trying to export both basic and structured meshes to an X file. |
| ||
I think the first 3 right-most columns represent x,y,z translation. |