<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">"Question: does FreeWRL or Coin3D (both open source codebases) have any C/C++ that can be compared to SAI?"</div><div dir="ltr"><a href="https://sourceforge.net/p/freewrl/git/ci/develop/tree/freex3d/src/SAI_Cpp/">FreeWRL VRML/X3D browser / Git / [61235b] /freex3d/src/SAI_Cpp (sourceforge.net)</a><br></div><div>- No, appears to be just the .h headers, but without any .cpp and nothing executable - perhaps never used.</div><div>- we did use a C interface for EAI <a href="https://sourceforge.net/p/freewrl/git/ci/develop/tree/freex3d/src/libeai/">FreeWRL VRML/X3D browser / Git / [61235b] /freex3d/src/libeai (sourceforge.net)</a> which included a swiggable interface for python, and a Java EAI;</div><div><a href="https://sourceforge.net/p/freewrl/git/ci/develop/tree/freex3d/src/java/">FreeWRL VRML/X3D browser / Git / [61235b] /freex3d/src/java (sourceforge.net)</a><br></div><div>- all that's for EAI and the one accessed from Script nodes in javascript is different / unrelated code.</div><div dir="ltr"> "Are they similar or different to Korea codebase? </div><div>I haven't seen the Korea codebase. Is it opensource, is there a link?</div><div dir="ltr">Is there somebody out in those arenas interested in participating?"</div><div>Freewrl has been quiet for over a year. I think it's EOL end of life. I have a wish list but other projects ahead, and other pathways. </div><div>One idea for fun is to convert freewrl to C++. I started to do that 12 years ago, got it to build ugly -just C compiled as cpp-, but no consensus to adopt. It would need to be a fork so C version preserved.</div><div>-Doug Sanden</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 21, 2022 at 10:31 AM 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:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div>
<p class="MsoNormal">Attendees:  John Carlson, Vince Marchetti, Nicholas Polys, Dick Puk, Don Brutzman.  Regrets Anita Havele.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Noted spiffy update to Web3D Consortium home page layout â€“ thanks Anita.<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" target="_blank">https://www.web3D.org</a>
<u></u><u></u></li></ul>
<div style="border-top:none;border-right:none;border-left:none;border-bottom:2.25pt double windowtext;padding:0in 0in 1pt">
<p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="1" type="1">
<li>
<i>X3D Programming Language bindings for C++/C</i>#.  Regarding C++/C#, we discussed how:<u></u><u></u></li></ol>
<ol style="margin-top:0in" start="1" type="a">
<li style="margin-left:0in">No C for now.<u></u><u></u></li><li style="margin-left:0in">Draft documents are on github but really need review as sensible, do-able in code (repeatable), ready for direct editing updates.<u></u><u></u></li><li style="margin-left:0in">Initial testing of Korea codebase on representative X3D example scenes.  Resolution of license status would be helpful too.<u></u><u></u></li><li style="margin-left:0in">Confirm compatibility with .net approaches, include minimal informative annex on .net (but only if necessary).<u></u><u></u></li><li style="margin-left:0in">Once at that threshold of interface maturity, we might autogenerate a second implementation via X3DUOM.<u></u><u></u></li><li style="margin-left:0in">Any later additions to X3D4 Architecture 19775-1 or abstract Scene Access Interface (SAI) 19775-2 are easily reconciled later.<u></u><u></u></li><li style="margin-left:0in">We need an editor still.<u></u><u></u></li></ol>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Question: does FreeWRL or Coin3D (both open source codebases) have any C/C++ that can be compared to SAI?  Are they similar or different to Korea codebase?  Is there somebody out in those arenas interested in participating?<u></u><u></u></p>
<div style="border-top:none;border-right:none;border-left:none;border-bottom:2.25pt double windowtext;padding:0in 0in 1pt">
<p class="MsoNormal" style="border:none;padding:0in"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="2" type="1">
<li>
<i>Mantis issues for X3D Architecture Specification review</i>.  With today’s meeting, 255 issues are now down to 175 open issues with no MAJOR issues remaining.<u></u><u></u></li></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="1" type="1">
<ul style="margin-top:0in" type="disc">
<li>
Mantis 1269<span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)"> glTF physically based rendering PBR, advanced material textures and lighting</span><u></u><u></u></li><li>
<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="MsoNormal">Our assessment is this is nearly complete, <i>EnvironmentLight</i> needs to be confirmed stable<b>, we can reduce this from major
</b>(no blockers) and confirm we are on endgame.  Since Khronos has formally submitted glTF as Publicly Available Specification (PAS) to ISO, we should be able to confirm that we are fully aligned.  Michalis please meet with Dick and Don to sort out Mantis
 status.<u></u><u></u></p>
<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="1" type="1">
<ul style="margin-top:0in" type="disc">
<li>
Mantis <span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)">
1265: Text size clarification, relative to baseline</span><u></u><u></u></li><li>
<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"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)">Vince posted a test scene and example screenshots.  Summary of status can be found on email thread.  Apparently 4 players have solved the identified
 problem satisfactorily.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)"><a href="http://web3d.org/pipermail/x3d-public_web3d.org/2022-January/016561.html" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/2022-January/016561.html</a></span><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black"><br clear="all">
<br clear="all">
<span style="background:rgb(243,243,243)">Dick reported how extremely thorough design was the basis of our internationalized text model in the X3D Architecture. We should remain reluctant to change it. The goal is not "pixel perfect" presentation but rather satisfactory
 presentation.</span><br clear="all">
<br clear="all">
<span style="background:rgb(243,243,243)">Nicholas (who has world-class expertise on this topic, see his dissertation) also thinks our basic model is satisfactory. We have many examples but maybe have not identified or consolidated on a smaller set of examples that
 illustrate what we need.</span><br clear="all">
<br clear="all">
<span style="background:rgb(243,243,243)">We are <b>reducing severity from MAJOR to MINOR</b>. Issue 1265 ownership remains assigned to Nicholas.<u></u><u></u></span></span></p>
<div style="border-top:none;border-right:none;border-left:none;border-bottom:2.25pt double windowtext;padding:0in 0in 1pt">
<p class="MsoNormal" style="border:none;padding:0in"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">3. <i>Projects Wish List</i>.  <a href="https://www.web3d.org/projects/wish-list" target="_blank">https://www.web3d.org/projects/wish-list</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="1" type="a">
<li>
Add View3Dscene to section 1 to note available as open source, fully implementing glTF.<u></u><u></u></li><li>
Does X3DOM support ROUTE? Yes.  Prototypes? Maybe â€“ interesting recent examples posted.  X3D Scripts?  No.  Hoping Andreas might provide succinct status and where help is useful, we will then discuss further on x3dom-developers list.<u></u><u></u></li><li>
Crucial issue common to X3DOM, X_ITE, view3DScene: plans for supporting WebXR?  This should be elevated as #1 wish list on client side.<u></u><u></u></li><li>
Tool side: Blender is our top issue.  Is a concerted team effort appropriate (or possible)?  Perhaps on an issue-by-issue basis?  The latest Blender 3.0 import/export has shown good progress is now stable from an X3D perspective (thanks to a fix by Andreas)
 so working on individual improvements is feasible. One is underway on ImageTexture that is revealing additional bugs… so maybe just encouragement of individuals to solve problems is what we need.  We can also elevate how we report progress publicly in order
 to build confidence.  Web3D Consortium members who have stakeholder interest in ought to discuss this closely.  Can Blender Foundation, or some set of coders associated with that group working for money, help?  How can we get money flowing to professional
 Blender programmers here?<u></u><u></u></li><li>
Our Blender project: <a href="https://github.com/Web3DConsortium/BlenderX3DSupport" target="_blank">https://github.com/Web3DConsortium/BlenderX3DSupport</a><u></u><u></u></li><li>
Tool side: MeshLab.  Next week please, if CRNI can attend that will be great.<u></u><u></u></li><li>
Don will continue to edit and update the page.  This wish list will continue to get reviewed every week.<u></u><u></u></li></ol>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">John asked a question about protos continue on mailing list please.  Please look around, a great many prototype examples are online, some with an explanatory book chapter.  Also available is a very thorough X3D Validator.<u></u><u></u></p>
<div style="border-top:none;border-right:none;border-left:none;border-bottom:2.25pt double windowtext;padding:0in 0in 1pt">
<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">Next week.  We will continue our tools focus with MeshLab.  All Â ideas and inputs welcome.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="1" type="1">
<ul style="margin-top:0in" type="disc">
<li>
<a href="https://www.meshlab.net" target="_blank">https://www.meshlab.net</a><u></u><u></u></li></ul>
</ol>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Step by step...  Quote from Thanos in movie <i>Avengers Endgame</i>:  â€œInevitable.”<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Have fun with X3D!  8)<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u></u>
<u></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">brutzman@nps.edu</a><u></u><u></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></u><u></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">faculty.nps.edu/brutzman</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Brutzman, Donald (Don) (CIV) <br>
<b>Sent:</b> Thursday, January 20, 2022 4:18 PM<br>
<b>To:</b> X3D Public Mailing List (<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>) <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
<b>Cc:</b> <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
<b>Subject:</b> X3D working group agenda 21 JAN 2022: progress, Mantis issue resolution, Projects Wish List, IMPORT/EXPORT<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<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><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><a href="https://zoom.us/j/148206572" target="_blank">https://zoom.us/j/148206572</a>  Password 483805
<u></u><u></u></li><li><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="1" type="1">
<li>
Anyone have new project progress to report (with image to share) this week?  Outreach is welcome.<u></u><u></u></li></ol>
<p style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="2" type="1">
<li>
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>
<a href="https://twitter.com/Web3Dconsortium" target="_blank">https://twitter.com/Web3Dconsortium</a><u></u><u></u></li></ul>
</ol>
<p style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="3" type="1">
<li>
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>
We started with 250 issues a year ago, we are down to 175.  Four months to go…<u></u><u></u></li><li>
The hardest issues are addressed.  Only 2 â€œmajor” issues remain.<u></u><u></u></li><li>
Issue list attached.  Please identify any topic priorities you have.<u></u><u></u></li><li>
Help requested.  Special opportunity: editing first-draft spec and implementation testing of X3D C++ C# bindings.<u></u><u></u></li><li>
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="3" type="1">
<ul style="margin-top:0in" type="disc">
<li>
Mantis <span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)">
1265: Text size clarification, relative to baseline</span><u></u><u></u></li><li>
<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="3" type="1">
<ul style="margin-top:0in" type="disc">
<li>
Mantis 1269<span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)"> glTF physically based rendering PBR, advanced material textures and lighting</span><u></u><u></u></li><li>
<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 style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="4" type="1">
<li>
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>
Work with MeshLab and Blender seems especially important.<u></u><u></u></li><li>
Can we add â€œhow to get involved?” to each major item.<u></u><u></u></li><li>
<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 style="margin-left:0.25in"><u></u> <u></u></p>
<ol style="margin-top:0in" start="5" type="1">
<li>
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>
Mantis <span style="font-size:10pt;font-family:Verdana,sans-serif;color:black;background:rgb(243,243,243)">
1109: 04.4.6 Import/Export semantics - Need to specify uniqueness of names</span><u></u><u></u></li><li>
<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="5" type="1">
<ul style="margin-top:0in" type="disc">
<li>
X3D4 Architecture, Networking component, 9.2.5 IMPORT statement<u></u><u></u></li><li>
<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>
X3D4 Architecture, Networking component, 9.2.6 IMPORT statement<u></u><u></u></li><li>
<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-top:none;border-right:none;border-left:none;border-bottom:1.5pt solid windowtext;padding:0in 0in 1pt">
<p class="MsoNormal"><u></u> <u></u></p>
<ol style="margin-top:0in" start="6" type="1">
<li>
What else?<u></u><u></u></li></ol>
<p class="MsoNormal"><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 style="margin-left:0in">Join Web3D Consortium<u></u><u></u></li><li 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-top:none;border-right:none;border-left:none;border-bottom:1.5pt solid windowtext;padding:0in 0in 1pt">
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<h2><a name="m_-6816456500926515009_IMPORTStatement"></a><span lang="EN" style="font-size:14.5pt;font-family:Verdana,sans-serif;color:black">9.2.5 IMPORT statement<u></u><u></u></span></h2>
<p><span lang="EN" style="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></u><u></u></span></p>
<p style="background:yellow"><span lang="EN" style="font-family:Verdana,sans-serif;color:black">IMPORT statements may appear anywhere in the file and have the following form:<u></u><u></u></span></p>
<p style="background:yellow"><span><span lang="EN" style="font-size:13pt;color:black">IMPORT <InlineNodeName><b>.</b><ExportedNameFromInlinedFile> [ AS <NewLocalNodeName> ]
</span></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black"><u></u><u></u></span></p>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The IMPORT statement has the following components:<u></u><u></u></span></p>
<ol style="margin-top:0in" start="1" type="a">
<li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">The name of the Inline node that contains the node to be imported
<u></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">The name of the node to import
<u></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">An optional name <span>
to be</span> <span>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></u><u></u></span></li></ol>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The IMPORT statement has the following semantics:<u></u><u></u></span></p>
<ol style="margin-top:0in" start="4" type="a">
<li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span><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></u><u></u></span></li></ol>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The following example illustrates the use of the IMPORT statement (Classic VRML encoding syntax):<u></u><u></u></span></p>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">DEF I1 Inline {<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">  url "someurl.x3d"<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">}<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">      . . .<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt"><u></u> <u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">IMPORT I1.rootTransform AS I1Root<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">DEF PI PositionInterpolator { ... }<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">ROUTE PI.value_changed TO I1Root.set_translation<u></u><u></u></span></b></pre>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">In the above example,
</span><span><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="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">
4.4.6.3 EXPORT semantics</a>). The optional AS keyword defines an alias for </span>
<span><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black"> so that within the containing scene the node is referenced using the DEF name
</span><span><span lang="EN" style="font-size:13pt;color:black">I1Root</span></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black">.
<span>All defined alias AS names shall also meet appropriate uniqueness requirements in the local DEF namespace of the parent scene.
</span><u></u><u></u></span></p>
<h2><a name="m_-6816456500926515009_EXPORTStatement"></a><span lang="EN" style="font-size:14.5pt;font-family:Verdana,sans-serif;color:black">9.2.6 EXPORT statement<u></u><u></u></span></h2>
<p><span lang="EN" style="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></u><u></u></span></p>
<p style="background:yellow"><span lang="EN" style="font-family:Verdana,sans-serif;color:black">EXPORT statements may appear anywhere in the file and have the following form:<u></u><u></u></span></p>
<p style="background:yellow"><span><span lang="EN" style="font-size:13pt;color:black">EXPORT <NodeName> [ AS <ExportedNodeName> ]
</span></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black"><u></u><u></u></span></p>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The EXPORT statement has the following components:<u></u><u></u></span></p>
<ol style="margin-top:0in" start="1" type="a">
<li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">The DEF name of the node to be exported
<u></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">An optional name <span>
to be</span> <span>that is</span> used as an alias for the exported node when importing it into other files
<u></u><u></u></span></li></ol>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The EXPORT statement has the following semantics:<u></u><u></u></span></p>
<ol style="margin-top:0in" start="3" type="a">
<li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<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></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span lang="EN" style="font-family:Verdana,sans-serif">Nodes shall not be exported from the body of a PROTO declaration.<u></u><u></u></span></li><li class="MsoNormal" style="color:black;margin-top:3pt">
<span><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></u><u></u></span></li></ol>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">The following example illustrates the use of the EXPORT statement (Classic VRML encoding):<u></u><u></u></span></p>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">DEF T1 Transform {<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">  Â ...<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">}<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">     . . .<u></u><u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt"><u></u> <u></u></span></b></pre>
<pre style="margin-left:11.25pt"><b><span lang="EN" style="font-size:9.5pt">EXPORT T1 AS rootTransform <u></u><u></u></span></b></pre>
<p><span lang="EN" style="font-family:Verdana,sans-serif;color:black">In the above example, node
</span><span><span lang="EN" style="font-size:13pt;color:black">T1</span></span><span lang="EN" style="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><b><span lang="EN" style="font-size:13pt;color:black">T1</span></b></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black"> as
</span><span><b><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></b></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black"> (
<i>i.e.</i>, other scenes may import the node only using the name </span><span><span lang="EN" style="font-size:13pt;color:black">rootTransform</span></span><span lang="EN" style="font-family:Verdana,sans-serif;color:black">).
<span>All defined alias AS names shall also meet appropriate uniqueness requirements in the local DEF namespace of the parent scene.
</span><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New"">-- <u></u>
<u></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">brutzman@nps.edu</a><u></u><u></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></u><u></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">faculty.nps.edu/brutzman</a><u></u><u></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>