Not sure if this will help, but the term "knot" is used
extensively in Java 3D interpolators.  Read the javadoc for
PathInterpolator.

-Paul


> MIME-version: 1.0
> Content-transfer-encoding: 7BIT
> X-Accept-Language: en
> Date: Thu, 15 Feb 2001 17:24:12 +0100
> From: Rikard Elofsson <[EMAIL PROTECTED]>
> Subject: [JAVA3D] KBSplinePathInterpolator question
> To: [EMAIL PROTECTED]
>
> Hi all
>
> Well, not trouble maybe, rather "dont understand"
> I've tried out the Lightwave loader, works
> nicely, even loads behaviours. What I get is
> a KBSplinePathInterpolator.
>
> I try something like:
>
> private void test(TransformGroup tg) {
>   Enumeration en = tg.getAllChildren();
>   while(en.hasMoreElements()) {
>     Object o = en.nextElement();
>     if (o instanceof KBSplinePathInterpolator) {
>       KBSplinePathInterpolator k = (KBSplinePathInterpolator)o;
>       for (int i = 0; i < k.getArrayLength(); i++) {
>         k.getKeyFrame(i).debugPrint("" + i);                            }
>       }
>     }
>   }
> }
>
> 1. KBSplinePathInterpolator.getArrayLength() seems to return 1 too much (i'm
tired)
> 2. The only value which changes in an animation is "knot"
>
> What is a "knot"??? How does it translate to a Transform3D or something else?
I've
> tried looking for info on Kochanek-Bartels stuff but it is not my thing really
> and seems awefully scientific
>
> plz help out
> //Rikard
>
> ===========================================================================
> 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".

Reply via email to