Yes, unfortunately we must one's own to find how this work. Let's see API: "RotPosScaleTCBSplinePathInterpolator behavior. This class defines a behavior that varies the rotational, translational, and scale components of its target TransformGroup by using the Kochanek-Bartels cubic spline interpolation to interpolate among a series of key frames (using the value generated by the specified Alpha object). The interpolated position, orientation, and scale are used to generate a transform in the local coordinate system of this interpolator." All Java3D spline interpolators based on Kochanek-Bartels cubic spline mathematics.
I found this usefull information about Kochanek-Bartels cubic spline: http://www.cubic.org/~submissive/sourcerer/hermite.htm http://www.magic-software.com/Documentation/kochbart.pdf Probably are other sources... To understand how this work read above links information then see inside source of RotPosScaleTCBSplinePathInterpolator. Onse I rewrite RotPosScaleTCBSplinePathInterpolator and attendant classes for my needs. Vladimir A. Vernikovski Programmer ------------------------------------------- JPROOF Technologies Ltd. ----- Original Message ----- From: "Nick Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 2003 6:59 PM Subject: Re: [JAVA3D] 3D Cubic Splines > Yeah, these were the spline classes I was referring to in my email. I read > through the API documentation, but there is very little explanation of the > variables in the KeyFrames. So it's quite difficult to understand how to > construct one of these spline interpolators. If someone has some sample > code using any of these objects, I'd love to take a look at it to get some > understanding of what's going on. > > Thanks again, > Nick > > > > Hi! > In Java3D is some interpolators for spline animation: > KBRotPosScaleSplinePathInterpolator > KBSplinePathInterpolator > RotPosScaleTCBSplinePathInterpolator > TCBSplinePathInterpolator > > Try to use. Read API documentation. Those realy work! > > Vladimir A. Vernikovski > Programmer > ------------------------------------------- > JPROOF Technologies Ltd. > ----- Original Message ----- > From: "Nick Stark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 04, 2003 6:42 PM > Subject: [JAVA3D] 3D Cubic Splines =========================================================================== 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".
