hi,
i want to apply
ardor3d's transform to a jPCT object. it has a 3x3 rotation matrix, a translation and a scale vector. ardor3d's coordinate system differ from jPCT (Y up i guess)
i'm trying to create two jPCT matrices, fill them in and set as rotation and translation matrices on Object3D.
* translation: straightforward: new Matrix().translate(x, y, z)
* rotation: AFAIK in jPCT rotation matrix, only upper left 3x3 part is used. i guess filling them in will be enough. but how to handle coordinate system difference ?
* scale vector: jPCT does not directly support scaling at different axis. but is it possible to achive the effect by playing with matrices ?
ardor3d transform also has
a method which returns a 4x4 matrix in the following form. maybe using it with some modification on the result makes more sense ?
R R R Tx
R R R Ty
R R R Tz
0 0 0 1
thanks,
r a f t