[x3d-public] HAninMotion that doesn't animate. It's HAnim component level 3 (well, sort of, not labeled a such). BVH?

John Carlson yottzumm at gmail.com
Thu Sep 21 13:43:52 PDT 2023


Sorry, I hit the wrong button.

Summary. I believe frameTime should be specified by frameDuration per the
standard.
frameCount is outputOnly.  Do not specify it in a model.
frameIndex is OK, but weird when there's only one HAnimModel.  Must have
been a mistake on my part.

John

On Thu, Sep 21, 2023 at 3:17 PM John Carlson <yottzumm at gmail.com> wrote:

> These HAnimMotion fields don't work well in x3d.py, investigating:
>                                         # frameIndex=1,
>                                         # frameCount=numframes,
>                                         #frameTime=0.033333,
>
> frameCount and frameIndex are in HAnimMotion in the standard as SFInt32.
> frameTime is not in HAnimMotion. frameDuration is:
>

SFTime [in,out] frameDuration 0.1 (0,∞)

And it exports in X3DV experimental plugin!

frameIndex is in XML Schema
frameCount is in XML: Schema

frameCount is not in x3d.py (my version, but is in X3DUOM. There is no
"frame" anywhere in X3duomToX3dPythonPackage.xslt, which is
understandable.  This is an outputOnly field, and should not be specified
in the model scene. Double checking standard, indeed, outputOnly.  Sorry,
Doug, I we can't use that on input!)
frameIndex is in x3d.py (hmm, weird!, further investigation required.
Looks like frameIndex Is now working! Must of been an oversight on my part!)

John

>
>
> On Thu, Sep 21, 2023 at 8:18 AM GPU Group <gpugroup at gmail.com> wrote:
>
>> x3dv scene - no HAnimMotion node
>> x3d scene missing a few fields from HAnimMotion
>> enabled='true' frameIncrement='1' frameIndex='1' loop='true'
>> frameCount="392" frameTime = "0.033333"
>> HAnimHumanoid needs motionsEnabled='true' (for one motion or 'true false
>> false' for 3 motions)
>> -Doug
>>
>> On Wed, Sep 20, 2023 at 11:16 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> Apparently, HAnimMotion is HAnim component level 3, and the model is
>>> labeled HAnim component level 1 (see enclosure), profile is Immersive.
>>> Doug recommended .bvh (he is wise), I'm hoping I can get concurrence from
>>> Holger and Michalis to go with .bvh over HAnimMotion for mocap data.  I do
>>> not know if x3d.py can export .bvh, but a X3D Blender .bvh plugin can. If
>>> you need more examples of HAnimMotion, I can start by providing X3D and
>>> X3DV with HAnimMotion, with Joe's approval. I can't provide original .fbx
>>> or .blend.  Fix the one in the archive first?  Let me know.
>>>
>>> Don, anyone, could you update the model in the archive to HAnim
>>> component level 3, per:
>>>
>>>
>>> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof/Part01/components/hanim.html#SupportLevels
>>>
>>> See enclosure for model link information.  I am not sure
>>> which browsers support HAnim component level 3?
>>>
>>> For those of  you with your own data and you want to drive yourself, I
>>> am working on HAnimMotion export for Blender, the experimental pre-alpha
>>> plugin is here:
>>>
>>> https://github.com/coderextreme/BlenderX3DSupport/tree/main/io_scene_x3dv
>>>
>>> I'm guessing that Interpolators and Sensors can be used over
>>> HAnimMotion...why?
>>>
>>> Thanks for listening!
>>>
>>> John
>>>
>>> On Wed, Sep 20, 2023 at 11:34 PM John Carlson <yottzumm at gmail.com>
>>> wrote:
>>>
>>>> FreeWRL also shows a model, but no animation.  I will look further into
>>>> the model--nothing is popping out at me.
>>>>
>>>> Direct links:
>>>>
>>>>
>>>> https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/KoreanCharacterMotionAnnexD01Jin.x3dv
>>>>
>>>>
>>>> https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Specifications/KoreanCharacterMotionAnnexD01Jin.x3d
>>>>
>>>> Thanks!
>>>>
>>>> John
>>>>
>>>> On Wed, Sep 20, 2023 at 5:42 PM John Carlson <yottzumm at gmail.com>
>>>> wrote:
>>>>
>>>>> Please verify that your browsers animate Jin in this scene.  Thanks,
>>>>> I'm working on a Blender export that requires HAnimMotion (I'm validating
>>>>> x3d.py output).  Feel free to forward to x3d-public.  Thanks!
>>>>>
>>>>>
>>>>> https://www.web3d.org/x3d-resources/content/examples/HumanoidAnimation/Specifications/KoreanCharacterMotionAnnexD01JinIndex.html
>>>>>
>>>>> I can probably easily download sunrize when there's an update, so that
>>>>> has priority for me over X_ITE.   We're using view3scene on the Winter and
>>>>> Spring project, and I want to introduce mocap data.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> John
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230921/8458037d/attachment.html>


More information about the x3d-public mailing list