[x3d-public] HAnim 1.0, 2.0 joint, segment, featurePoint names implemented inX3DUOM, X3DJSAIL

Joseph D Williams joedwil at earthlink.net
Wed May 22 09:09:43 PDT 2019


➢ looking ahead to facial expressions and internal organs build on the same baseline patterns in HAnim specification.

And also a ‘standard’ set of animations for simple actions that can test operation. This is V1-based. Working on V2.
Joe







From: Brutzman, Donald (Don) (CIV)
Sent: Saturday, May 18, 2019 5:51 PM
To: Joseph D Williams
Cc: Humanoid Animation (HAnim) Working Group; X3D Graphics public mailing list; Medical working group
Subject: Re: HAnim 1.0, 2.0 joint, segment, featurePoint names implemented inX3DUOM, X3DJSAIL

This validating code block for checking correct parent-child relationships is finally integrated into X3DJSAIL.

Further work needed to confirm examples through testing, and to also confirm that alias names are validated effectively.

Looks like this will someday lead to creation of a suite of unit-test example scenes for correctly patterned humanoid models and patient records.

Thanks Joe for steady scrutiny, also for looking ahead to facial expressions and internal organs build on the same baseline patterns in HAnim specification.

On 4/3/2019 5:21 PM, Brutzman, Donald (Don) (CIV) wrote:
> Here is example child-parent validation code sent to HAnim list earlier.  I will continue on integrating that design pattern into X3DJSAIL autogeneration of validation tests.
> 
> FYI work in progress:
> 
>           // test for correct parent
>           X3DConcreteElement parent = getParentObject();
>           if (getParentObject() != null) // TODO hasParentObject()
>           {
>               if      (parent.getElementName().equals(HAnimJointObject.NAME))
>               {
>                   // now test for correct parent-child LOA4 relationship pair
>                   if (!hasSegmentNameParent(((HAnimJointObject)parent).getName()))
>                   {
>                       String errorNotice = ConfigurationProperties.ERROR_ILLEGAL_VALUE +
>                           ": illegal parent name found: '" + ((HAnimJointObject)parent).getName() + "' instead of TODO" ;
>                       validationResult.append(errorNotice).append("\n");
>                       throw new InvalidFieldException(errorNotice); // report error
>                   }
>               }
>               else if (!parent.getElementName().equals(fieldObject.NAME) && !parent.getElementName().equals(fieldValueObject.NAME) &&
>                        !parent.getElementName().equals(ProtoBodyObject.NAME))
>               {
>                   String errorNotice = ConfigurationProperties.ERROR_ILLEGAL_VALUE +
>                       ": illegal parent found: '" + parent.getElementName() + "'";
>                   validationResult.append(errorNotice).append("\n");
>                   throw new InvalidFieldException(errorNotice); // report error
>               }
>           }


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190522/826c9d70/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JoeV1L1LOA3SkeletonAnimations.zip
Type: application/zip
Size: 20805 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190522/826c9d70/attachment-0001.zip>


More information about the x3d-public mailing list