[x3d-public] Units for BVH vs HAnimMotion.values

John Carlson yottzumm at gmail.com
Sat Oct 14 00:09:46 PDT 2023


Unity say Euler angles are in degrees.  Does that answer the HAnimMotion
question?

Are euler angles always in degrees?

John


On Sat, Oct 14, 2023 at 1:57 AM John Carlson <yottzumm at gmail.com> wrote:

> Angles are angles.  Euler is not a unit.
>
> I don’t disagree with converting to axis angle, but I would prefer if the
> browser vendor would handle that in the HAnimMotion code.
>
> I realize that HAnimMotion is a high component level.  I’m trying to
> promote use of HAnimMotion because I’m trying to export Katy’s data.  If
> Katy or you have a better way to export animations, let’s use it.
>
> John
> On Sat, Oct 14, 2023 at 12:21 AM Joe D Williams <joedwil at earthlink.net>
> wrote:
>
>> > Um, then why is angle even listed here?
>>
>>
>>
>> That is easy, take another look.
>>
>> Euler angles are not listed anywhere!
>>
>> Convert to axis-angle like showed in Part 2 and forget xyz angles/
>>
>> Joe
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: John Carlson <yottzumm at gmail.com>
>> Sent: Oct 13, 2023 6:15 PM
>> To: Joe D Williams <joedwil at earthlink.net>
>> Cc: <x3d-public at web3d.org>
>> Subject: Re: [x3d-public] Units for BVH vs HAnimMotion.values
>>
>>
>> Um, then why is angle even listed here?
>>
>> Confusing as heck!
>>
>>
>> https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/concepts.html#t-Standardunits
>>
>> John
>>
>>
>> On Fri, Oct 13, 2023 at 7:19 PM Joe D Williams <joedwil at earthlink.net>
>> wrote:
>>
>>> > otherwise specified in a UNIT statement
>>>
>>>
>>>
>>>
>>> https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/concepts.html#Standardunitscoordinates
>>>
>>>
>>>
>>> "However, the world coordinate units may be modified by specifying a
>>> different length unit using the UNIT statement."
>>>
>>>
>>>
>>> There is Not Now nor will there Ever be a UNIT statement that allows
>>> degrees for rotation and orientation.
>>>
>>>
>>>
>>> Never, will angles appear in any x3d animation interpolator.
>>>
>>> To apply an import using angle units, it is converted to x3d before use,
>>> then discarded or possibly stored somewhere away from working area for
>>> reference.
>>>
>>>
>>>
>>> Thanks and Best,
>>>
>>> Joe
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: John Carlson <yottzumm at gmail.com>
>>> Sent: Oct 13, 2023 11:44 AM
>>> To: X3D Graphics public mailing list <x3d-public at web3d.org>
>>> Subject: [x3d-public] Units for BVH vs HAnimMotion.values
>>>
>>>
>>> Apparently BVH uses degrees for rotations.  Units for HAnimMotion should
>>> use radians unless otherwise specified in a UNIT statement, AFAIK.
>>>
>>> Comments?
>>>
>>> Thanks!
>>>
>>> John
>>>
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231014/2d1db9c5/attachment-0001.html>


More information about the x3d-public mailing list