[x3d-public] X3D-Edit CORS localhost http server for X_ITE modeling

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Mon Jun 26 10:35:10 PDT 2023


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

 

2.	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/Download2CompleteX3dForWebAuthorsArch
ive.png 

 

3.	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/Download3X3dExamplesArchivesEnableAut
olaunch.png

 

4.	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

 

5.	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/Download5CorsLocalhostHttpServerRunni
ng.png

 

6.	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

 

7.	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

 

8.	Your localhost model should now render correctly using X_ITE.

https://savage.nps.edu/X3D-Edit/images/Download8X3dfwaChapter02GeometryPrimi
tivesBoxExampleX_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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230626/7baf4562/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5464 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230626/7baf4562/attachment-0001.p7s>


More information about the x3d-public mailing list