<div dir="auto">Don, I can offer my C/C++ SAI binding programs and serializers. Now that I’m on windows, I might also offer c#, but I’m a C# newbie. I don’t know what the state most of this is in, I think I started working on compiling apps and maybe ran into a blocker. I believe Roy can offer an implementation of SAI bindings for c++? Not sure.</div><div dir="auto"><br></div><div dir="auto">If you could point me at current interface headers, that would be great. No, not an HTML file.</div><div dir="auto"><br></div><div dir="auto">As you know, I probably already have enough trouble communicating. I would probably not make the best editor. I suggest someone who’s actually implemented SAI.</div><div dir="auto"><br></div><div dir="auto">I will be glad to generate testing programs for C/C#C++. Is there some measure of completeness or code coverage? Would a version of the Java HelloWorldProgram.java program translated to the C languages be sufficient? That is, I would take Java, export JSON then load JSON in JavaScript and export HelloWorldProgramOutput.c,.cpp</div><div dir="auto"><br></div><div dir="auto">Here are my current links:</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/CSerializer.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/CSerializer.js</a></div><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/CppSerializer.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/CppSerializer.js</a></div><br></div><div dir="auto">These work with my load JSON, convert to a DOM tree, then call export serializers.</div><div dir="auto"><br></div><div dir="auto">See:</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/json2all.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/json2all.js</a></div><br></div><div dir="auto"><br></div><div dir="auto">I already have lots of programs currently generated, but probably not any compiled or linked. These are under src/main/c/net/coderextreme/data/ and src/main/cplusplus/net/coderextreme/data/</div><div dir="auto"><br></div><div dir="auto">(yes, I know they aren’t data—just something historical based on where the JSON is in src/main/data)</div><div dir="auto"><br></div><div dir="auto">So a good step would be to get compilable header files to work with.</div><div dir="auto"><br></div><div dir="auto">My wife says a week’s volunteering would be ok.</div><div dir="auto"><br></div><div dir="auto">I do not know if SAI validation or encoding exporting is specified yet for the C languages?</div><div dir="auto"><br></div><div dir="auto">I could use a standby expert in compiling the C languages on Windows ???</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022 at 6:19 PM Brutzman, Donald (Don) (CIV) <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_2110104625682951360WordSection1">
<p class="MsoNormal">The X3D Working Group meets each Friday at 0800-0900 pacific time. Videoconference Connectivity:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoPlainText"><a href="https://us02web.zoom.us/j/81634670698?pwd=a1VPeU5tN01rc21Oa3hScUlHK0Rxdz09" target="_blank">https://us02web.zoom.us/j/81634670698?pwd=a1VPeU5tN01rc21Oa3hScUlHK0Rxdz09</a>
<u></u><u></u></li><li class="m_2110104625682951360MsoPlainText"><a href="https://zoom.us/j/148206572" target="_blank">https://zoom.us/j/148206572</a> Password 483805
<u></u><u></u></li><li class="m_2110104625682951360MsoPlainText"><a href="https://www.web3d.org/member/teleconference-information" target="_blank">https://www.web3d.org/member/teleconference-information</a>
<u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">All inputs welcome. Agenda follows.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="0" type="1">
<li class="m_2110104625682951360MsoListParagraph">Anyone have new project progress to report (with image to share) this week? Outreach is welcome.<u></u><u></u></li></ol>
<p class="m_2110104625682951360MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="m_2110104625682951360MsoListParagraph">Excellent visibility of meeting minutes and other progress on Twitter, we will continue.<u></u><u></u></li><ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph"><a href="https://twitter.com/Web3Dconsortium" target="_blank">https://twitter.com/Web3Dconsortium</a><u></u><u></u></li></ul>
</ol>
<p class="m_2110104625682951360MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="m_2110104625682951360MsoListParagraph">Dick and I are spec editors steadily fixing issues but making progress too slowly. We request review.<u></u><u></u></li><ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">We started with 250 issues a year ago, we are down to 175. Four months to go…<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">The hardest issues are addressed. Only 2 “major” issues remain.<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">Issue list attached. Please identify any topic priorities you have.<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">Help requested. Special opportunity: editing first-draft spec and implementation testing of X3D C++ C# bindings.<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">We will keep going but finishing is not yet in reach… Will we be punting open issues to future X3D4.1 ?<u></u><u></u></li></ul>
</ol>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Request review of major issue by Nicholas:<u></u><u></u></p>
<ol style="margin-top:0in" start="2" type="1">
<ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">Mantis
<span style="font-size:10pt;font-family:Verdana,sans-serif;background-color:rgb(243,243,243);color:black">
1265: Text size clarification, relative to baseline</span><u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/member-only/mantis/view.php?id=1265" target="_blank">https://www.web3d.org/member-only/mantis/view.php?id=1265</a><u></u><u></u></li></ul>
</ol>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Request review of major omnibus issue by Michalis:<u></u><u></u></p>
<ol style="margin-top:0in" start="2" type="1">
<ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">Mantis 1269<span style="font-size:10pt;font-family:Verdana,sans-serif;background-color:rgb(243,243,243);color:black"> glTF physically based rendering PBR, advanced material textures and lighting</span><u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/member-only/mantis/view.php?id=1269" target="_blank">https://www.web3d.org/member-only/mantis/view.php?id=1269</a><u></u><u></u></li></ul>
</ol>
<p class="m_2110104625682951360MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="3" type="1">
<li class="m_2110104625682951360MsoListParagraph">Projects Wish List update discussion: we will look closely again next week.<u></u><u></u></li><ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">Work with MeshLab and Blender seems especially important.<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">Can we add “how to get involved?” to each major item.<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/projects/wish-list" target="_blank">https://www.web3d.org/projects/wish-list</a><u></u><u></u></li></ul>
</ol>
<p class="m_2110104625682951360MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="4" type="1">
<li class="m_2110104625682951360MsoListParagraph">Dick and I worked on IMPORT/EXPORT issue today, to good effect<u></u><u></u></li><ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">Mantis
<span style="font-size:10pt;font-family:Verdana,sans-serif;background-color:rgb(243,243,243);color:black">
1109: 04.4.6 Import/Export semantics - Need to specify uniqueness of names</span><u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/member-only/mantis/view.php?id=1109" target="_blank">https://www.web3d.org/member-only/mantis/view.php?id=1109</a><u></u><u></u></li></ul>
</ol>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="4" type="1">
<ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph">X3D4 Architecture, Networking component, 9.2.5 IMPORT statement<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/networking.html#IMPORTStatement" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/networking.html#IMPORTStatement</a><u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph">X3D4 Architecture, Networking component, 9.2.6 IMPORT statement<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph"><a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/networking.html#EXPORTStatement" target="_blank">https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/networking.html#EXPORTStatement</a><u></u><u></u></li></ul>
</ol>
<div style="border-style:none none solid;border-bottom-width:1.5pt;padding:0in 0in 1pt;border-bottom-color:windowtext">
<p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="5" type="1">
<li class="m_2110104625682951360MsoListParagraph" style="border:none;padding:0in">
What else?<u></u><u></u></li></ol>
<p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Membership definitely has value, including visibility into Mantis issue list. Hope you consider the possibilities.<u></u><u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="m_2110104625682951360MsoListParagraph" style="margin-left:0in">Join Web3D Consortium<u></u><u></u></li><li class="m_2110104625682951360MsoListParagraph" style="margin-left:0in"><a href="https://www.web3D.org/join" target="_blank">https://www.web3D.org/join</a><u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Have fun with X3D! 8)<u></u><u></u></p>
<div style="border-style:none none solid;border-bottom-width:1.5pt;padding:0in 0in 1pt;border-bottom-color:windowtext">
<p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p>
</div>
<h2><a name="m_2110104625682951360_IMPORTStatement"></a><span lang="EN" style="font-size:14.5pt;font-family:Verdana,sans-serif;color:black">9.2.5 IMPORT statement<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></h2>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The IMPORT statement is used within an X3D file to specify nodes, which are defined within Inline files or programmatically created content, that are to be brought into
the namespace of the containing file for the purposes of event routing. Once a node is imported, events may be sent to its fields via ROUTEs, or routed from any fields of the node which have output events.<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p style="background-color:yellow"><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">IMPORT statements may appear anywhere in the file and have the following form:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p style="background-color:yellow"><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">IMPORT <InlineNodeName><b>.</b><ExportedNameFromInlinedFile> [ AS <NewLocalNodeName> ]
</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The IMPORT statement has the following components:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<ol style="margin-top:0in" start="1" type="a">
<li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">The name of the Inline node that contains the node to be imported
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">The name of the node to import
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">An optional name <span class="m_2110104625682951360proposeddeletion1" style="font-family:Verdana,sans-serif">
to be</span> <span class="m_2110104625682951360proposed1" style="font-family:Verdana,sans-serif">that is</span> used as an alias for the imported node within the run-time name scope, to help prevent name clashes within the parent scene containing the IMPORT statement.<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li></ol>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The IMPORT statement has the following semantics:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<ol style="margin-top:0in" start="4" type="a">
<li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Once imported, events may be routed to or from the imported node in exactly the same manner as any node defined with DEF.
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Nodes imported into an X3D scene using the IMPORT statement may not be instanced via the USE statement.
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Only nodes that are exported from within the Inline via an EXPORT statement may be imported using a corresponding IMPORT statement.
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span class="m_2110104625682951360proposed1"><span lang="EN" style="font-family:Verdana,sans-serif">The IMPORT statement can appear wherever a ROUTE statement is allowed, and shall follow the Inline node to which it refers.</span></span><span lang="EN" style="font-family:Verdana,sans-serif"><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li></ol>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The following example illustrates the use of the IMPORT statement (Classic VRML encoding syntax):<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">DEF I1 Inline {<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"> url "someurl.x3d"<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">}<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"> . . .<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"><u style="font-family:monospace"></u> <u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">IMPORT I1.rootTransform AS I1Root<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">DEF PI PositionInterpolator { ... }<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">ROUTE PI.value_changed TO I1Root.set_translation<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">In the above example,
</span><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"> is defined as a Transform node in the file someurl.x3d and exported
via an EXPORT statement (see <a href="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#EXPORTSemantics" target="_blank" style="font-family:Verdana,sans-serif">
4.4.6.3 EXPORT semantics</a>). The optional AS keyword defines an alias for </span>
<span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"> so that within the containing scene the node is referenced using the DEF
name </span><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">I1Root</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">.
<span class="m_2110104625682951360proposed1" style="font-family:Verdana,sans-serif">All defined alias AS names shall also meet appropriate uniqueness requirements in the local DEF namespace of the parent scene.
</span><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<h2><a name="m_2110104625682951360_EXPORTStatement"></a><span lang="EN" style="font-size:14.5pt;font-family:Verdana,sans-serif;color:black">9.2.6 EXPORT statement<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></h2>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The EXPORT statement is used within an X3D file to specify nodes that may be imported into other scenes when Inlining that file. Only named nodes exported with an EXPORT
statement are eligible to be imported into another file.<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p style="background-color:yellow"><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">EXPORT statements may appear anywhere in the file and have the following form:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p style="background-color:yellow"><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">EXPORT <NodeName> [ AS <ExportedNodeName> ]
</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The EXPORT statement has the following components:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<ol style="margin-top:0in" start="1" type="a">
<li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">The DEF name of the node to be exported
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">An optional name <span class="m_2110104625682951360proposeddeletion1" style="font-family:Verdana,sans-serif">
to be</span> <span class="m_2110104625682951360proposed1" style="font-family:Verdana,sans-serif">that is</span> used as an alias for the exported node when importing it into other files
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li></ol>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The EXPORT statement has the following semantics:<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<ol style="margin-top:0in" start="3" type="a">
<li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Once imported into a containing scene, events may be routed to or from an exported node in exactly the same manner as any node defined with DEF.
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Exported nodes imported into a containing scene may not be instanced via the USE statement.
<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Exportation may not be propagated across multiple files; that is, a node imported into one scene using the IMPORT statement may not then be further exported into another scene using the EXPORT statement.<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span lang="EN" style="font-family:Verdana,sans-serif">Nodes shall not be exported from the body of a PROTO declaration.<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li><li class="MsoNormal" style="margin-top:3pt;color:black">
<span class="m_2110104625682951360proposed1"><span lang="EN" style="font-family:Verdana,sans-serif">The EXPORT statement can appear wherever a ROUTE statement is allowed, and shall be contained within the Inline node to which it refers.</span></span><span lang="EN" style="font-family:Verdana,sans-serif"><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></li></ol>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">The following example illustrates the use of the EXPORT statement (Classic VRML encoding):<u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></u></span></p>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">DEF T1 Transform {<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"> ...<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">}<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"> . . .<u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace"><u style="font-family:monospace"></u> <u style="font-family:monospace"></u></span></b></pre>
<pre style="margin-left:11.25pt;font-family:monospace"><b style="font-family:monospace"><span lang="EN" style="font-size:9.5pt;font-family:monospace">EXPORT T1 AS rootTransform <u style="font-family:monospace"></u><u style="font-family:monospace"></u></span></b></pre>
<p><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">In the above example, node
</span><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">T1</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"> is exported for use by other X3D scenes. The optional AS keyword defines the
exported name of </span><span class="m_2110104625682951360code"><b><span lang="EN" style="font-size:13pt;color:black">T1</span></b></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"> as
</span><span class="m_2110104625682951360code"><b><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></b></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black"> (
<i style="font-family:Verdana,sans-serif">i.e.</i>, other scenes may import the node only using the name </span><span class="m_2110104625682951360code"><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="font-size:11pt;font-family:Verdana,sans-serif;color:black">).
<span class="m_2110104625682951360proposed1" style="font-family:Verdana,sans-serif">All defined alias AS names shall also meet appropriate uniqueness requirements in the local DEF namespace of the parent scene.
</span><u style="font-family:Verdana,sans-serif"></u><u style="font-family:Verdana,sans-serif"></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"">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" target="_blank" style="font-family:"Courier New"">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" target="_blank" style="font-family:"Courier New"">faculty.nps.edu/brutzman</a><u style="font-family:"Courier New""></u><u style="font-family:"Courier New""></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>