[x3d-public] Cleaned MultiFacialAnimationMenu.txt

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Sun Dec 22 10:02:29 PST 2024


Hi John.  Thanks for this model.

There is no prior version in the examples archive.

First made some adjustments for inclusion in the archive.  Then had some trouble with the model, and then discovered that it was invalid.  Started over again.  Found and fixed stray apostrophe at end of line 1245.

  *
<Material DEF="MenuBackground_Material" diffuseColor="0 0 1" />'

At this point the model validates, both with X3D XML DTD and X3D XML Schema.  Checked into version control in that form.  You can View History there to see a series of changes.

  *
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HumanoidAnimation/FacialAnimation/FacialAnimationReviewScripts.x3d

Then found and fixed similar error on line 1251:

  *
<Script DEF="ScriptToggle">'

Then applied X3D canonicalization (C14N) to regularize whitespace and line breaks, making comparison differencing of changes possible.

Then made initial adjustments to meta-tag metadata.  I think that you and Joe should be listed first since you made changes to the other authors' models, and are the primary authors of this model.

I'm using X3D-Edit 4.0 to make all of these checks and corrections.  We have a new release available on SourceForge, awaiting NetBeans confirmation on their plugin page.  If you want to use it, available at

  *
X3D-Edit 4.0 Distribution, 19 December 2024
  *
https://sourceforge.net/projects/x3d/files
  *
x



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 https://faculty.nps.edu/brutzman



________________________________
From: John Carlson <yottzumm at gmail.com>
Sent: Thursday, December 19, 2024 11:18 PM
To: X3D Graphics public mailing list <x3d-public at web3d.org>; Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>; doug sanden <highaspirations at hotmail.com>; Joe D Williams <joedwil at earthlink.net>; Holger Seelig <holger.seelig at yahoo.de>
Subject: Cleaned MultiFacialAnimationMenu.txt


 Don,

Please upgrade the previous example in the archive that I provided for MultiFacialAnimation.  I  don't see it on the page yet, it's probably waiting for a build.

This one doesn't have useless HAnimDisplacers and corresponding ROUTEs.

Works in Sunrize and not in FreeWRL.  Maybe Doug can take a look.  I tried two separate JavaScript engines (default and -J DUK). Sunrize wins this round. I upgraded and added back a CDATA section, but something else appears to be wrong for FreeWRL.

For those that prefer GitHub, here are a couple of links.  The major magic in the python is figuring out how to do a Script CDATA section.

ci2had/python/cleanup.py at main · coderextreme/ci2had<https://github.com/coderextreme/ci2had/blob/main/python/cleanup.py> (HAnimDisplacer clean up)
ci2had/resources/CleanedMultiFacialAnimationMenu.x3d at main · coderextreme/ci2had<https://github.com/coderextreme/ci2had/blob/main/resources/CleanedMultiFacialAnimationMenu.x3d>

I will continue to work on removing the script.

Here's it's cousin that no longer works in FreeWRL.  I have not tried all versions:

ci2had/resources/MultiFacialAnimationMenu.x3d at main · coderextreme/ci2had<https://github.com/coderextreme/ci2had/blob/main/resources/MultiFacialAnimationMenu.x3d>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20241222/8645dea1/attachment.html>


More information about the x3d-public mailing list