[x3d-public] SLERP or LERP
Joseph D Williams
joedwil at earthlink.net
Tue Jul 25 08:21:58 PDT 2023
Thank You Michalis and Holger,
Joe
Unable to render code block
Is a message I got when looking at the pdf titania article.
From: Michalis Kamburelis
Sent: Tuesday, July 25, 2023 3:04 AM
To: Joseph D Williams
Cc: X3D Graphics public mailing list
Subject: Re: [x3d-public] SLERP or LERP
"HAnimJoint.rotation" is SFRotation, and the only interpolators in X3D standard
to animate SFRotation are
1. OrientationInterpolator . This indeed does SLerp.
Supported by pretty much all X3D browsers, used by a lot X3D
models to animate any rotations, also for "Transform.rotation".
2. SquadOrientationInterpolator. This does SQUAD interpolation.
Less often used and implemented, from what I see. I actually
never saw a real-life (not testcase) model using
SquadOrientationInterpolator, and I don't know who supports it
(CGE/view3dscene do not).
Both of those interpolators can be used to animate any SFRotation,
including "HAnimJoint.rotation" or "Transform.rotation".
Regards,
Michalis
wt., 25 lip 2023 o 07:43 Joseph D Williams <joedwil at earthlink.net> napisał(a):
>
> 19.4.6 OrientationInterpolator
>
> … An OrientationInterpolator interpolates between two orientations by computing the shortest path on the unit sphere between the two orientations. The interpolation is linear in arc length along this path. …
>
>
>
> So to me that means we are SLERP’n.
>
>
>
> Joe
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230725/c20ae095/attachment.html>
More information about the x3d-public
mailing list