>
> // final transform = [original]*[translate]*[scale]*[translate2]
> Transform3D finalTrans = new Transform3D();
> finalTrans.mul(originalTrans);
> finalTrans.mul(translateTrans);
> finalTrans.mul(scaleTrans);
> finalTrans.mul(translateTrans2);
>
> objTG.setTransform(finalTrans);
As far as I see you mixed the order of matrix multiplications:
first you want to translate it to the origin, then scale, translate back and last
use the original transformation:
you have to do [original] * [translate2] * [ scale] * [translate]
regards
Paul
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".