[x3d-public] Again, RE: HAnim examples/tests

John Carlson yottzumm at gmail.com
Wed Mar 25 13:28:15 PDT 2020


Using some UNIX tools, I was able to do some checking on the model in
AnnexA:  These are the names that appeared more than once in LOA-4, and the
number of times they appeared:

$ grep name AnnexA.x3dv | sed 's/^.*name/name/'|sort|uniq -c|sort

[snip]

      2 name           "l_eyeball"
      2 name           "l_femoral_lateral_epicn"
      2 name           "r_eyeball"
      2 name           "r_femoral_lateral_epicn"
      3 name           "l_index_proximal"
      3 name           "r_index_proximal"

Here are some DEFs that appear more than once:

$ grep DEF AnnexA.x3dv | sed 's/.*DEF/DEF/'|uniq -c|sort

      2 DEF hanim_l_index_proximal Segment {
      2 DEF hanim_r_index_proximal Segment {

There are DEFs among these that appear more than once, but have different
node types.

$ grep DEF AnnexA.x3dv | sed 's/.*DEF/DEF/' |sed 's/\(DEF [^ ]*\)
.*/\1/'|sort|uniq -c|sort

      2 DEF hanim_l_eyeball
      2 DEF hanim_r_eyeball
      3 DEF hanim_l_index_proximal
      3 DEF hanim_r_index_proximal

Recommend looking at:

      2 name           "l_femoral_lateral_epicn"
      2 name           "r_femoral_lateral_epicn"

For multiple DEFs

These DEFs may be in several PROTOs, and probably? okay? not sure.

Different LOA #'s mentioned in below snippet?

DEF JointCenters_WorldInfo Group
{
 children [
  WorldInfo
  {
   title "HANIM 200x Default Joint Centers, *LOA‑4"*
   info [ "
     HANIM 200x Default Joint Centers, *Level-Of-Articulation 3*


Do you want me to do the editing on github and create a pull request on github?

John


On Wed, Mar 25, 2020 at 12:12 PM Joseph D Williams <joedwil at earthlink.net>
wrote:

>
>
> Please See below
>
>
>
> *From: *Joseph D Williams <joedwil at earthlink.net>
> *Sent: *Wednesday, March 25, 2020 10:01 AM
> *To: *X3D Graphics public mailing list <x3d-public at web3d.org>; John
> Carlson <yottzumm at gmail.com>
> *Subject: *[x3d-public] Again, RE: HAnim examples/tests
>
>
>
> A.7.2.2 LOA‑4 Example with diamonds at Joint centres
>
>
>
> https://www.web3d.org/documents/specifications/19774-1/V2.0/index.html
>
>
>
>
> www.web3d.org/documents/specifications/19774-1/V2.0/HAnim/BodyDimensionsAndLOAs.html#LOA4ExampleSourceWithDiamonds
>
>
>
>
>
> Important links and the example should run as published.
>
> Thanks,
>
> Joe
>
>
>
> *From: *John Carlson <yottzumm at gmail.com>
> *Sent: *Tuesday, March 24, 2020 8:08 PM
> *To: *Joseph D Williams <joedwil at earthlink.net>
> *Cc: *X3D Graphics public mailing list <x3d-public at web3d.org>
> *Subject: *HAnim examples/tests
>
>
>
>    - Hi Joe, do you prefer email or voice chat?  I am much less apt to
>    call you, but it's probably good to have an initial meeting.
>
>
>
> Call me with the number I sent, or use this or hanim list.
>
>
>
>    - I'm going to look around the X3d Resource Examples, and I know
>    you've got a set of examples too.  I'll look around for what I have of
>    yours. I can't find it right away, but I'll look under People next.  I
>    found your examples in my Downloads folder. Yay!  You are now in
>    ~/People/Joe
>
>
>
> Fun happens where you find it. I’d like to see you be able to run the
> latest loa4 example.
>
>
>
>    - Okay, assuming you know what you sent me, what needs to be changed
>    about the various models you sent me?
>
>
>
> Not sure but I’m certain it was great stuff
>
>
>
>    - Also, note that I am a VRML newb.
>
>
>
> Youjust think you are. It is all very logical and we can use the xml or
> anything else you want as long as it runs.
>
>
>
>    - Do you use BS Contact?  I think I have that!
>
>
>
> So far most runs anywhere x3d except some may not do skin.
>
> BSContact is my standard for this right now but all do it.
>
>
>
>    - Is there an HAnim tutorial written yet?  Should I begin writing one?
>
>
>
> Somewhat. The thing to start with is that there is a humanoid space, a
> skeleton space and a skin space, so far.
>
> To me, they work best when they are all the same space.
>
>
>
> Thanks for looking
>
> Joe
>
>
>
>    - John
>
>
>
> On Tue, Mar 24, 2020 at 9:50 PM Joseph D Williams <joedwil at earthlink.net>
> wrote:
>
> > develop test cases for x3d4 or HAnim, I will do that.  Thanks to Joe for
> pointing me there.
>
>
>
> I can talk with you about hanim examples/tests most any time,
>
>
>
> Thanks and Best,
>
> Joe
>
>
>
>
>
>
>
> *From: *John Carlson <yottzumm at gmail.com>
> *Sent: *Tuesday, March 24, 2020 7:23 PM
> *To: *Don Brutzman <brutzman at nps.edu>
> *Cc: *Andreas Plesch <andreasplesch at gmail.com>; Katie Unger
> <kunger at ssdllc.biz>; X3D Graphics public mailing list
> <x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] JSweet translation of X3DJSAIL to JavaScript:
> needspecific design goals first
>
>
>
> Perhaps I haven’t been clear.   I see my position @ Web3d as a tester,
>  thus I expect to collaborate with other stakeholders to create test cases
> or example behaviors we want the system to perform.
>
>
>
> We have abundant XML that I can generate test cases from.   I’m not
> generating code out of the blue.   I have a goal of generating code out of
> the blue, but that’s a long term goal.   This would be done to do code
> coverage.
>
>
>
> I accidentally fell into a library writer position when we got to python.
>
>
>
> I added my JSONParser to the browsers because no one was doing it, and I
> needed a real environment to test in.
>
>
>
> I don’t see anything wrong with generating different versions of
> HelloWorld.js.
>
>
>
> I resign from library development.   If someone wants me to develop test
> cases for x3d4 or HAnim, I will do that.  Thanks to Joe for pointing me
> there.
>
>
>
> As a tester, I build code that I assert will not work, or I check the XML
> to see if the scene is supposed to fail.
>
>
>
> The test cases for node are currently failing big time, I know.   I know I
> use methods instead of array access.   That needs to be fixed.   There are
> properties in the SAI I haven’t really spotted in the X3DUOM, so perhaps I
> need to look harder.   I need to add route methods to my serializer.
>
>
>
> John
>
>
>
> On Tue, Mar 24, 2020 at 8:23 PM John Carlson <yottzumm at gmail.com> wrote:
>
> Design goal:  add existing X3D ecmascript SAI to HTML5 (chrome) and node.js
>
>
>
> I tend to work from examples rather than specifications.  Once we have our
> test cases, we can start coding the library, using “test driven
> development.”  or “behavior driven development.”
>
>
>
> We will build an npm environment, probably using webpack and yarn, and a
> suitable test framework.   Then I will start coding tests using  the test
> framework.   I believe we can use phantomjs or similar to run test cases in.
>
>
>
> I will look for the Transform example.
>
>
>
> Good news is I’m saving enough money on “shelter in place “ to afford a
> Web3d membership.
>
>
>
> John
>
>
>
> On Tue, Mar 24, 2020 at 7:44 PM Don Brutzman <brutzman at nps.edu> wrote:
>
> On 3/24/2020 3:48 PM, John Carlson wrote:
> > It seems like you have issues with the “generate first” approach. [...]
>
> Yes.  Don't do that.  Don't even bother thinking about that.
>
> Please look again at what I wrote.  You need specific design goals first.
>
> 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/20200325/bd4af94b/attachment-0001.html>


More information about the x3d-public mailing list