If you want to preserve the translation and scale components of the
transform, you must
do that:
Transform3D mul = new Transform3D;
mul.rotX(Rot);
t3d.mul(mul);
rotX set the non x-traslational components to unitaries.
> -----Mensaje original-----
> De: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]En nombre de V�ctor
> Enviado el: jueves 7 de junio de 2001 18:46
> Para: [EMAIL PROTECTED]
> Asunto: [JAVA3D] TG scale question
>
>
> Hi all, I have notice that when I run the following code scale value is
> reset to 1.0. Is that the expected behavior or should keep the scale
> value before rotX was run?
>
> tg.getTransform(t3d);
> t3d.rotX(Rot);
> tg.setTransform(t3d); <- Here scale have been reset to 1.0
>
> V�ctor
>
> --
> Maldecir es el �nico lenguaje que dominan todos los programadores.
>
> ==================================================================
> =========
> 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".
>
===========================================================================
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".