<div><div><ol style="margin:1em 0px 1em 1.25em;padding:0px 0px 0px 1.25em;color:rgb(0,0,0);font-family:'arial',sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><li>JSON export was completely broken.</li></ol><div dir="auto"><font face="arial, sans-serif" size="3">I tried fixing this in x3d.py and failed.  I have worked on python validators for JSON export, but it’s slow in Python.  Validating the scenegraph isn’t enough.</font></div><ol style="margin:1em 0px 1em 1.25em;padding:0px 0px 0px 1.25em;color:rgb(0,0,0);font-family:'arial',sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><li>The skeleton and joint export order of the HAnimHumanoid node fields using x3d.py would theoretically dump all the DEF’d joints into the ‘joints’ field, and thus only produce one USE’d root joint in the 'skeleton field. Though I haven’t implemented HAnimHumanoid yet, I re-ordered the field export so that the ‘skeleton’ field will get writen to the file before the ‘joints’ field.</li></ol><div dir="auto"><font face="arial, sans-serif" size="3">You’ll also want to verify skin and skinCoord field order, plus sites and segments field order with skeleton.</font></div><ol style="margin:1em 0px 1em 1.25em;padding:0px 0px 0px 1.25em;color:rgb(0,0,0);font-family:'arial',sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><li>‘containerField’ was not implemented for XML export, which caused the textures to not work because they weren’t allocated to the proper texture field within the Material node.</li></ol><div dir="auto"><font face="arial, sans-serif" size="3">Andreas has a good patch for that.</font></div><ol style="margin:1em 0px 1em 1.25em;padding:0px 0px 0px 1.25em;color:rgb(0,0,0);font-family:'arial',sans-serif;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><li>The ‘mapping’ field was missing from the TextureTransform object, so it wouldn’t export.</li></ol><div dir="auto"><font face="arial, sans-serif" size="3"><br></font></div><div dir="auto"><font face="arial, sans-serif" size="3"><div><span style="color:rgb(0,0,0);font-family:'arial',sans-serif;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;display:inline!important;float:none">Good catch.</span><br></div><br></font></div><div dir="auto">Also,  how did you solve the DEF/USE ordering issue?</div><div dir="auto"><br></div></div></div><div dir="auto">I’ll post what i have for JSON elsewhere.</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto">I will do a bit of a search for validation.</div><div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Mar 5, 2025 at 3:39 AM Bergstrom, Aaron via X3D-Ecosystem <<a href="mailto:x3d-ecosystem@web3d.org">x3d-ecosystem@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_-8397676761955189629WordSection1">
<p class="MsoNormal">I was having issues with some of the export functionality of x3d.py.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I implemented a companion script. And wrote about it on the Castle Game Engine Website:<u></u><u></u></p>
<p class="MsoNormal"><a href="https://forum.castle-engine.io/t/rawkee-x3d-exporter-plugin-for-maya-repost/1804/3" target="_blank">https://forum.castle-engine.io/t/rawkee-x3d-exporter-plugin-for-maya-repost/1804/3</a></p></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_-8397676761955189629WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Aaron<u></u><u></u></p>
</div>
</div>

-- <br>
X3D-Ecosystem mailing list<br>
<a href="mailto:X3D-Ecosystem@web3d.org" target="_blank">X3D-Ecosystem@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org</a><br>
</blockquote></div></div>