<div dir="ltr">No "shadows" in Savage.  So unless Don has something in SavageDefense, we'll have to roll our own example, or find someone else's (Holger's).<div><br></div><div>It looks like the attribute type for "shadows" the shadows field is not being found in X3dToPython.xslt.</div><div><br></div><div>I'm wanting to do code coverage analysis again.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 1, 2022 at 4:23 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Here are rereported issues.<div><br></div><div>One can download the create3000 Library with:</div><div><br></div><div>git clone <a href="https://github.com/create3000/Library" target="_blank">https://github.com/create3000/Library</a><br></div><div><br></div><div>Then use X3dToPython.xslt in Library/Tests/Components/ParticleSystems/.</div><div><br></div><div>translating to python<br>BEGIN ../Library/Tests/Components/ParticleSystems/Bubbles.x3d > py, *** Warning: X3dToPython.xslt attribute type not found for DirectionalLight field 'shadows'<br>*** Error: tuple-size not found for type '' (type value missing)<br>END ../Library/Tests/Components/ParticleSystems/Bubbles.x3d<br><br>BEGIN ../Library/Tests/Components/ParticleSystems/Fire.x3d > py, *** Warning: X3dToPython.xslt attribute type not found for DirectionalLight field 'shadows'<br>*** Error: tuple-size not found for type '' (type value missing)<br>END ../Library/Tests/Components/ParticleSystems/Fire.x3d<br></div><div><br></div><div>Since shadows is an SFBool, there is no tuple-size, perhaps?</div><div><br></div><div>The above errors show that type is '', not SFBool.  I can't figure out the XSLT yet.</div><div><br></div><div>I will look at the XML.</div><div><br></div><div>Here's one example from Bubbles.x3d:</div><div><br></div><div>        <MetadataSet DEF='Selection' containerField='value'<br>            name='Selection'<br>            reference='<a href="http://titania.create3000.de" target="_blank">http://titania.create3000.de</a>'><br>          <MetadataSet DEF='previous' containerField='value'<br>              name='previous'<br>              reference='<a href="http://titania.create3000.de" target="_blank">http://titania.create3000.de</a>'/><br>          <MetadataSet DEF='children' containerField='value'<br>              name='children'<br>              reference='<a href="http://titania.create3000.de" target="_blank">http://titania.create3000.de</a>'><br>            <DirectionalLight DEF='_1' containerField='value'<br>                direction='-0.372556 -3.8217e-05 -0.92801'<br>                shadows='true'<br>                shadowIntensity='0.518717'/><br>          </MetadataSet><br>        </MetadataSet><br>      </MetadataSet><br></div><div><br></div><div>Here's another from Fire.x3d:</div><div><br></div><div>    <DirectionalLight DEF='_1'<br>        direction='-0.531638 -0.672816 -0.51447'<br>        shadows='true'<br>        shadowIntensity='0.605'/><br></div><div><br></div><div>Hope this helps.  I'm bamboozled until I can find  a better XSLT debugger.  We're a bit over budget the last few months.</div><div><br></div><div>Looks like everything is up-to-date.</div><div><br></div><div>I'd like to make sure Fire.py works before proceeding to further debug x3djsonld.py, so I know I have a good example python to pull ideas from.</div><div><br></div><div>There are no examples of DirectionalLight and attribute shadows in the X3D Examples on sourceforge.  Perhaps it's time to add an example?</div><div><br></div><div>I'm presently downloading Savage.  Maybe we'll get lucky.</div><div><br></div><div>Thanks!</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 1, 2022 at 3:48 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Background for what I’m going to test. I’m in-line with your analysis of this one issue.  I don’t recall if ‘shadows’ in DirectionalLight is still an issue (see thread).  I’ve been able to address the gzip issue on my own system.   There may be more issues to address.</div><div dir="auto"><br></div><div dir="auto">Here’s how i test in X3DJSONLD:</div><div dir="auto"><br></div><div dir="auto">X3DJSONLD/src/main/shell $ bash don.sh ../Library/Tests/Components/ParticleSystems/*.x3d</div><div dir="auto"><br></div><div dir="auto">You may use a single .x3d file.</div><div dir="auto"><br></div><div dir="auto">I’m going to run downstairs to run the test.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 1, 2022 at 9:16 AM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div><p class="MsoNormal">Nor is particleElasticity (or the word “elasticity”) found in X3D4 specification.  Thus not in any other validation tools.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ul style="margin-top:0in" type="disc"><li style="margin-left:0in"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-DIS/Part01/components/particleSystems.html" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-DIS/Part01/components/particleSystems.html</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">And so, looking around, wondering what is being talked about.  Presumably a browser-specific extension, building on the X in X3D.<u></u><u></u></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u style="font-family:"Courier New""></u> <u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" style="font-family:"Courier New"" target="_blank">brutzman@nps.edu</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">X3D graphics, virtual worlds, Navy robotics https://</span> <span style="font-size:10pt;font-family:"Courier New""><a href="http://faculty.nps.edu/brutzman" style="font-family:"Courier New"" target="_blank">faculty.nps.edu/brutzman</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p></div></div><div lang="EN-US"><div><p class="MsoNormal"><u></u> <u></u></p><div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)"><p class="MsoNormal"><b>From:</b> x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" target="_blank">x3d-public-bounces@web3d.org</a>> <b>On Behalf Of </b>John Carlson<br><b>Sent:</b> Sunday, June 26, 2022 1:46 PM<br><b>To:</b> Holger Seelig <<a href="mailto:holger.seelig@yahoo.de" target="_blank">holger.seelig@yahoo.de</a>>; X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br><b>Subject:</b> Re: [x3d-public] X3dToPython.xslt warnings and errors produced from Holger's examples<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Holger's example:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)"><div><div><p class="MsoNormal">translating to json<br>BEGIN ../Library/Tests/Components/ParticleSystems/Waterfall.x3d > json, Warning: X3dToJson.xslt attribute type not found for ParticleSystem particleElasticity<br>END ../Library/Tests/Components/ParticleSystems/Waterfall.x3d<u></u><u></u></p></div></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">particleElasticity not found in X3DUOM<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">So specific to Holger's use case, I guess.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div></blockquote></div></div>
</blockquote></div>
</blockquote></div>