[x3d-public] X3D-Edit CORS localhost http server for X_ITE modeling
John Carlson
yottzumm at gmail.com
Mon Jun 26 22:10:14 PDT 2023
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.
Worked very well! Thanks to the X3D-Edit team and Holger!
John
On Mon, Jun 26, 2023 at 12:36 PM Brutzman, Donald (Don) (CIV) <
brutzman at nps.edu> wrote:
> 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.
>
>
>
> 1. Select an archive to download, for example X3D for Web Authors is
> great for learning X3D.
>
> https://savage.nps.edu/X3D-Edit/images/Download1X3dExamplesArchives.png
>
>
>
> 1. The Download X3D Examples Archives lets you choose any of seven
> complete archives. Directory location can be chosen, otherwise defaults to
> user desktop.
>
>
> https://savage.nps.edu/X3D-Edit/images/Download2CompleteX3dForWebAuthorsArchive.png
>
>
>
> 1. 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.
>
>
> https://savage.nps.edu/X3D-Edit/images/Download3X3dExamplesArchivesEnableAutolaunch.png
>
>
>
> 1. Select and open a model of interest in X3D-Edit. Numerous editing
> features are available.
>
>
> https://savage.nps.edu/X3D-Edit/images/Download4BoxExampleSourceX3D-Edit.png
>
>
>
> 1. 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.
>
>
> https://savage.nps.edu/X3D-Edit/images/Download5CorsLocalhostHttpServerRunning.png
>
>
>
> 1. The corresponding tab for X_ITE Player shows the localhost
> addresses used for embedding a url reference in an HTML page.
>
> https://savage.nps.edu/X3D-Edit/images/Download6X_itePlayerPanel.png
>
>
>
> 1. 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.
>
> https://savage.nps.edu/X3D-Edit/images/Download7X_iteExportFileChooser.png
>
>
>
> 1. Your localhost model should now render correctly using X_ITE.
>
>
> https://savage.nps.edu/X3D-Edit/images/Download8X3dfwaChapter02GeometryPrimitivesBoxExampleX_ITE.png
>
>
>
> 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.
>
>
>
> Note that X3DOM export is also available using X3D-Edit, but rendering
> does not require a CORS http server on localhost.
>
>
>
> More information on CORS is available at
>
> - X3D Scene Authoring Hints, Cross-Origin Resource Sharing (CORS)
> Restrictions
> -
> https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#CORS
>
>
>
> All feedback is welcome.
>
>
>
> Have fun with X3D-Edit!
>
>
>
> all the best, Don
>
> --
>
> Don Brutzman Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
>
> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
> +1.831.656.2149
>
> X3D graphics, virtual worlds, navy robotics
> https://faculty.nps.edu/brutzman
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230627/e60e9ab1/attachment.html>
More information about the x3d-public
mailing list