<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">> More testing examples are desired, please send skeleton and animation examples I can actually load into Blender</span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">Just use the joekick skeleton and skin and animation. </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">Joe</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: John Carlson <yottzumm@gmail.com><br>Sent: Sep 24, 2023 7:25 PM<br>To: Joe D Williams <joedwil@earthlink.net>, Michalis Kamburelis <michalis.kambi@gmail.com><br>Cc: Brutzman Donald (Don) (CIV) <brutzman@nps.edu>, Peitso Loren (CIV) <lepeitso@nps.edu>, X3D Graphics public mailing list <x3d-public@web3d.org><br>Subject: Re: [x3d-public] Discussion: containerField for x3d.py XML export</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div dir="ltr">I believe the Transform mentioned in the warnings is part of the skin. Yes, search for "mesh_"... in the .x3d file.  You will see the skin (whose geometry IndexedFaceSet below Transform) without the appropriate "skin" containerField attribute.  I'm still working on an appropriate HAnimHumanoid skinCoord field. skinCoord is another containerField (but a bit harder than the others in my mind).  I'm creating a b2xFindCoordinate() method which you can pass a child of the skin field, and the method will search for a Coordinate name or DEF which it will return to place in the skinCoord node as a USE reference.
<div>
<div>
<div> </div>
<div>I can send Don and Joe corrected .x3d files, if you want to see what a corrected (per view3dscene) file looks like. But let me finish with skinCoord first.</div>
<div> </div>
<div>I am mainly speaking of HAnimHumanoid fields, fields at the HAnimHumanoid level (Joe mentioned children containerFields for stuff below humanoid_root).</div>
</div>
</div>
<div> </div>
<div>More testing examples are desired, please send skeleton and animation examples I can actually load into Blender.</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Sun, Sep 24, 2023 at 8:57 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div dir="ltr">I'm merely referring to view3dscene warnings about children containerFields, attached.  Or just run tovrmlx3d --validate with a recent copy of the .x3d file in the link I sent you.
<div> </div>
<div>John</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Sun, Sep 24, 2023 at 7:47 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank" rel="noopener">joedwil@earthlink.net</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div style="color: #000000; font-family: arial,sans-serif; font-size: 12pt;">
<p style="margin: 0.1rem 0px; line-height: 1;">> <span style="color: #000000; font-family: Calibri,sans-serif; font-size: 14.6667px; white-space: normal; float: none; display: inline;">—the default, children, is not an acceptable to view3dscene. </span> </p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
<p style="margin: 0.1rem 0px; line-height: 1;">The first Joint uses containerfield skeleton,then the rest use children.</p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
</div>
<div style="border-left: 1px solid #aaaaaa; box-sizing: border-box; padding: 10px 0px 10px 15px; margin: 0px;">
<p>-----Original Message-----<br>From: Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank" rel="noopener">brutzman@nps.edu</a>><br>Sent: Sep 24, 2023 12:48 PM<br>To: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>><br>Cc: Peitso, Loren (CIV) <<a href="mailto:lepeitso@nps.edu" target="_blank" rel="noopener">lepeitso@nps.edu</a>>, X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank" rel="noopener">x3d-public@web3d.org</a>><br>Subject: Re: [x3d-public] Discussion: containerField for x3d.py XML export</p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
<div>
<p class="MsoNormal">Thanks for continued troubleshooting.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Please do not do anything with containerField handling in x3d.py since it is unique to XML encoding.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If you encounter any incorrect handling, please provide a regular issue report that notes</p>
<ul style="margin-top: 0in;" type="disc">
<li style="margin-left: 0in;">Model, in .x3d/.x3dv and also .py</li>
<li style="margin-left: 0in;">Error or warning that was encountered, relevant tools, etc.</li>
</ul>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I can then isolate the problem and fix it.  When errors do occur, it is usually an error in the scene, but sometimes a simple omission of some sort somewhere deep in the code autogeneration of the library.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">p.s. also thanks for your recent issue reports on X3DJSAIL, very helpful.  I have made a number of improvements this weekend, hoping to publish tonight.</p>
<div>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';"> </span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';">all the best, Don</span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';">-- </span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank" rel="noopener">brutzman@nps.edu</a></span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149</span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: 'Courier New';">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank" rel="noopener">https://faculty.nps.edu/brutzman</a></span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<div style="border-right: none; border-bottom: none; border-left: none; border-top: 1pt solid #e1e1e1; padding: 3pt 0in 0in;">
<p class="MsoNormal"><strong>From:</strong> John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> <br><strong>Sent:</strong> Sunday, September 24, 2023 11:34 AM<br><strong>To:</strong> Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank" rel="noopener">brutzman@nps.edu</a>>; Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" target="_blank" rel="noopener">michalis.kambi@gmail.com</a>>; Peitso, Loren (CIV) <<a href="mailto:lepeitso@nps.edu" target="_blank" rel="noopener">lepeitso@nps.edu</a>>; X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank" rel="noopener">x3d-public@web3d.org</a>><br><strong>Subject:</strong> Discussion: containerField for x3d.py XML export</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">First of all, great work on x3d.py, Loren and Don, I feel like I am polishing a diamond.</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I am considering adding the containerField attribute (not field) to XML output in x3d.py. This is mainly to support requirements of view3dscene.  It complains if I don’t add the containerField attributes in HAnim (skeleton and joints containerFields, maybe more)—the default, children, is not an acceptable to view3dscene.  Also, not having a skin containerField is weird when dropping arbitrary Shape nodes into a HAnimHumanoid.</p>
<div>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Does adding the containerField attribute seem like a good idea, or should I push back on browser vendors?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I plan to do something like I do for VRML when printing out joints and skeleton fields etc.  I won’t print out the containerField for obvious fields, i have a list of these somewhere…geometry, appearance, material, etc </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Should I allow the x3d.py app programmer to add a containerField attribute, or should I compute it as best i can, and save browser vendors the pain?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I think what this means is passing an optional parameter to some each.XML() method calls.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">After writing this message, the answer seems obvious.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Comments?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">John</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
</blockquote>
</div>
</blockquote>
</div>
</div>

<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>