Hi Liming, This bug 4364128 - Non-uniform scale not implemented in RotPosScaleTCBSplinePathInterpolator, is fixed in v1.2.1 beta1. Thanks., - Kelvin --------------- Java 3D Team Sun Microsystems Inc. >X-Unix-From: [EMAIL PROTECTED] Mon Jan 15 09:03:59 2001 >X-Accept-Language: en >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Mon, 15 Jan 2001 17:03:14 +0000 >From: Liming CHEN <[EMAIL PROTECTED]> >Subject: [JAVA3D] non-uniform scale interpolation - esp. to the author of the KBRotPosScaleSplinePathInterpolator CLASS >To: [EMAIL PROTECTED] > > Dear all, > >The core class RotPosScalePathInterpolator does not support non-uniform >interpolation. The RotPosScaleTCBSplinePathInterpolator or >KBRotPosScaleSplinePathInterpolator classes in the Utility pack do not support >such function too. I have checked the souce code of the above classes. Here is what >they said: > > // TODO: Vijay - Handle Non-Uniform scale > // Currently this interpolator does not handle non uniform scale > // We cheat by just taking the x scale component > > // Scale the transformation matrix > sMat.set((double)iScale.x); > tMat.mul(sMat); > > // Set the translation components. > tMat.m03 = iPos.x; > tMat.m13 = iPos.y; > tMat.m23 = iPos.z; > rotation.set(tMat); > >My question is if I replace the sMat.set((double)iScale.x) with >rotation.setScale(iScale), (that means that the Transform3D contains a non-form >information), then the class will support the non-uniform scale onterpolation. I >doubt if it is so simple. > >Could someone or the author of these Util classes give me a clue? Are there other >options? > >Thanks > >liming > >=========================================================================== >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".
