[x3d-public] SLERP or LERP

Holger Seelig holger.seelig at yahoo.de
Tue Jul 25 07:51:29 PDT 2023


There is a paper about quaternion interpolation:

https://github.com/create3000/titania/blob/master/Papers/Quaternion/Animating Rotations 98-5.pdf <https://github.com/create3000/titania/blob/master/Papers/Quaternion/Animating%20Rotations%2098-5.pdf>

--
Holger Seelig
Leipzig, Germany

holger.seelig at yahoo.de
https://create3000.github.io/x_ite/

> Am 25.07.2023 um 12:04 schrieb Michalis Kamburelis <michalis.kambi at gmail.com>:
> 
> "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
> 
> _______________________________________________
> 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/db0a0b53/attachment-0001.html>


More information about the x3d-public mailing list