[x3d-public] computed orientation_changed output

Holger Seelig holger.seelig at yahoo.de
Sat Aug 31 03:13:58 PDT 2024


It is possible to calculate a rotation from fromVector to toVector, but these rotations have an arbitrary upVector. 

And yes, it would be better to have a defined upVector to make these rotations stable.

Holger

--
Holger Seelig
Leipzig, Germany

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

> Am 30.08.2024 um 23:45 schrieb Patrick Dähne <pdaehne at gmail.com>:
> 
> Unfortunately, it is not possible to implement NurbsOrientationInterpolator because it is not specified how to calculate the „up“ vector (the tangent of the curve only specifies the z axis, but neither the x nor y axis of the local coordinate system). The same applies to any other hypothetical „xOrientationInterpolator“.
> 
> Bye,
> 
> Patrick
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240831/99cc4da8/attachment.html>


More information about the x3d-public mailing list