Re: [JAVA3D] Averaging rotations

2002-01-22 Thread Michel Wigbers
if you like to rotate something use something like a rotation interpolator mvg Michel - Original Message - From: "Bob Dengle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 8:12 PM Subject: [JAVA3D] Averaging rotations > Hi >

Re: [JAVA3D] Averaging rotations

2002-01-21 Thread David Yazel
The alpha is the percent of the q1 that is used, 1-alpha is the percent of q2 that is used. Dave Yazel - Original Message - From: Bob Dengle <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 2:12 PM Subject: [JAVA3D] Averaging rotations Hi Ive be

[JAVA3D] Averaging rotations

2002-01-21 Thread Bob Dengle
Hi Ive been trying to rotate a shape based on the weighted average of 4 or 5 rotations. Is there a simple way in Java3D to average rotations? I looked at the Quat4d's interpolate() method but im not sure what the parameters mean. public final void interpolate(Quat4d q1,double alpha) Performs a