[x3d-public] HAnim Java code (serializer based) Summary of errors.

Joseph D Williams joedwil at earthlink.net
Tue Nov 2 15:30:27 PDT 2021


➢ description="Unique name attribute must be defined so that HAnimSegment node can be identified at run time for animation purposes.">

this comment applies for Joint. And, the current joints, segments, and sites humanoid fields actually USE the DEF names> Here, in Segment nodes, useful mostly when needing to figure out which segment (bone) in the capture skeleton is child of which Joint in the playback skeleton. 
➢ We're not sure why X3DJSAIL is reporting an error.
4.8.6 Partial HAnim figures

https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#PartialHAnimFigures

By this example  I think LOA0 must include the sacrum, A Joint without a Segment has nothing to operate on since a Joint is really not supposed to include anything except Segment(s) and Joint(s). So the code for sacrum Segment 
  loa="1"
should be  
  loa="0"

everywhere. I don’t see why that should make a difference in error. 
Are all DEFs and names correct? 
Does the order of appearance in the ‘joints’ or the ‘segments’ field make any difference? 

Thanks, 
Joe

: Monday, November 1, 2021 5:25 PM
To: Joseph D Williams; X3D Graphics public mailing list; Don Brutzman
Subject: Re: HAnim Java code (serializer based) Summary of errors.

Error report from Java code:

========================== net.coderextreme.data.JinLOA4 
org.web3d.x3d.sai.InvalidFieldException: ERROR_ILLEGAL_VALUE: HAnimSegment DEF='hanim_sacrum' name='sacrum' illegal parent found: HAnimJoint name='hanim_humanoid_root' name='humanoid_root'
In X3DUOM:
     <SimpleType name="hanimSegmentNameValues" 
                 baseType="xs:NMTOKEN" 
                 appinfo="CAESAR segment names for identification of HAnimSegment nodes as defined in the HAnim Architecture specification. This list is unbounded, 
additional enumeration values are allowed." 
                 documentation="https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#Hierarchy"> 
        <enumeration value="sacrum" 
                     index="1" 
                     loa="1" 
                     parent="humanoid_root" 
                     documentation="https://en.wikipedia.org/wiki/Sacrum"/>
Also:

<field name="name" 
                  type="SFString" 
                  accessType="inputOutput" 
                  additionalEnumerationValuesAllowed="true" 
                  simpleType="hanimSegmentNameValues" 
                  baseType="xs:NMTOKEN" 
                  description="Unique name attribute must be defined so that HAnimSegment node can be identified at run time for animation purposes."> 
              <enumeration value="sacrum" 
                           index="1" 
                           loa="1" 
                           parent="humanoid_root" 
                           documentation="https://en.wikipedia.org/wiki/Sacrum"/>

***Looks like humanoid_root is parent of sacrum.  We're not sure why X3DJSAIL is reporting an error.

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


More information about the x3d-public mailing list