alankligman/gladius — Issue #89: Engine transforms are incompatible with CubicVR
Author: alankligman
Created: 2012-01-19 01:15:09+00:00
State: open
Labels: Defect

Seems there's some transposition going on somewhere. This causes two problems:

* Object positions are interpreted incorrectly. By convention, position is represented as:

````
[ 1, 0, 0, x,
0, 1, 0, y,
0, 0, 1, z,
0, 0, 0, 1 ]
````

However, this seems to cause rendering problems. I 'fixed' this by changing the code in the math library, but my fix is incorrect and should be reverted.

* Using the conventional matrix representation for affine transforms, net transform should be computed thusly:

````
ParentTransform x LocalTransform
````

However, I had to transpose the operands in order to get position and rotation to work as expected.

Move investigation is needed here, as well as a solution.