<div dir="ltr">I was able to launch pp3.x3d in X_ITE without issue from within X3D-Edit (NetBeans 18), but I don't think it leveraged the CORS server.<div><br></div><div>Worked very well!   Thanks to the X3D-Edit team and Holger!</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 26, 2023 at 12:36 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:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-2025739389046127326"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="m_-2025739389046127326WordSection1"><p class="MsoNormal">Here is a series of images showing how to download X3D Examples archives, then autolaunch CORS http server on localhost, then render an X3D model using X_ITE.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><ol style="margin-top:0in" start="1" type="1"><li class="m_-2025739389046127326MsoListParagraph">Select an archive to download, for example X3D for Web Authors is great for learning X3D.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download1X3dExamplesArchives.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download1X3dExamplesArchives.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="2" type="1"><li class="m_-2025739389046127326MsoListParagraph">The Download X3D Examples Archives lets you choose any of seven complete archives.  Directory location can be chosen, otherwise defaults to user desktop.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download2CompleteX3dForWebAuthorsArchive.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download2CompleteX3dForWebAuthorsArchive.png</a> <u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="3" type="1"><li class="m_-2025739389046127326MsoListParagraph">X3D-Edit asks if you want a CORS http server started on localhost automatically as a user preference.  Select Yes or else control via CORS panel tab.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download3X3dExamplesArchivesEnableAutolaunch.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download3X3dExamplesArchivesEnableAutolaunch.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="4" type="1"><li class="m_-2025739389046127326MsoListParagraph">Select and open a model of interest in X3D-Edit.  Numerous editing features are available.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download4BoxExampleSourceX3D-Edit.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download4BoxExampleSourceX3D-Edit.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="5" type="1"><li class="m_-2025739389046127326MsoListParagraph">The CORS localhost http server panel allows you to control starting, stopping and inspecting the localhost http server.  This is needed for X_ITE to work locally.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download5CorsLocalhostHttpServerRunning.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download5CorsLocalhostHttpServerRunning.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="6" type="1"><li class="m_-2025739389046127326MsoListParagraph">The corresponding tab for X_ITE Player shows the localhost addresses used for embedding a url reference in an HTML page.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download6X_itePlayerPanel.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download6X_itePlayerPanel.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="7" type="1"><li class="m_-2025739389046127326MsoListParagraph">X3D-Edit creates a web page (filename default ending in “X_ITE.html”) to save your exported result.  You can choose a different name and directory, if desired.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download7X_iteExportFileChooser.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download7X_iteExportFileChooser.png</a><u></u><u></u></p><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><u></u> <u></u></p><ol style="margin-top:0in" start="8" type="1"><li class="m_-2025739389046127326MsoListParagraph">Your localhost model should now render correctly using X_ITE.<u></u><u></u></li></ol><p class="m_-2025739389046127326MsoListParagraph" style="margin-left:0.25in"><a href="https://savage.nps.edu/X3D-Edit/images/Download8X3dfwaChapter02GeometryPrimitivesBoxExampleX_ITE.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/Download8X3dfwaChapter02GeometryPrimitivesBoxExampleX_ITE.png</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This is a common workflow for X_ITE.  Some steps require no change with repetition, so your ability to edit and review can go quickly.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Note that X3DOM export is also available using X3D-Edit, but rendering does not require a CORS http server on localhost.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">More information on CORS is available at<u></u><u></u></p><ul style="margin-top:0in" type="disc"><li class="m_-2025739389046127326MsoListParagraph" style="margin-left:0in">X3D Scene Authoring Hints, Cross-Origin Resource Sharing (CORS) Restrictions<u></u><u></u></li><li class="m_-2025739389046127326MsoListParagraph" style="margin-left:0in"><a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS</a><u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">All feedback is welcome.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Have fun with X3D-Edit!<u></u><u></u></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">all the best, Don<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:"Courier New"">-- <u></u><u></u></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">brutzman@nps.edu</a><u></u><u></u></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<u></u><u></u></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">https://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>
</div></blockquote></div>