[x3d-public] X3DOM dev url changed, HTML invocation questions
John Carlson
yottzumm at gmail.com
Tue Jul 15 07:01:49 PDT 2025
What are various X3DOM production links?
I've got a pulldown to change X3DOM versions on my main_viewer.html.
Currently, everything is development.
Might as well provide all of them!
Thanks,
John
On Sun, Jul 13, 2025 at 1:22 PM Don Brutzman via x3d-public <
x3d-public at web3d.org> wrote:
> Andreas writes on 10 JUL 2025:
>
>> I have deployed a new dev version.
>> Please note that the download link for the dev version of x3dom has
>> migrated from x3dom.org/download/dev (not updated) to
>> https://cdn.jsdelivr.net/gh/x3dom/x3dom-dev/dist/x3dom.js (preferred)
>> or
>> https://x3dom.github.io/x3dom-dev/dist/x3dom.js
>> which is
>> automatically updated through
>> https://github.com/x3dom/x3dom-dev
>> for every merged PR at
>> https://github.com/x3dom/x3dom
>> The netlify link is obsolete.
>
>
>> Andreas
>
>
> Thanks for the alert. I am hoping to get the address and invocation
> correct in our X3D Example Archives scenes by updating the conversion
> stylesheet.
>
> - X3D Example Archives
> - https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples
> -
> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToX3domX_ITE.xslt
>
> The X3dToX3domX_ITE.xslt stylesheet produces the following header in these
> examples:
>
> - X3D Example Archives: X3D4WA, X3D for Web Authors, Chapter 01
> Technical Overview, Hello World
> -
> https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldIndex.html
> -
> https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorldX3dom.xhtml
>
> <!DOCTYPE html>
>
> <!-- ===================================================================
> -->
>
> <!-- embedded X3D scene appears after html/head/script and style entries
> -->
>
> <!-- ===================================================================
> -->
>
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> <head>
>
> <title>Hello World!, HelloWorld.x3d (X3DOM)</title>
>
> <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/>
>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
>
> <meta name="generator"
>
> content="https://www.web3d.org/x3d/stylesheets/X3dToX3domX_ITE.xslt"/>
>
> <script type="text/javascript" src="
> https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js">
> </script>
>
> <!-- Numbered X3DOM release versions: https://www.x3dom.org/download -->
>
> <!-- Developer X3DOM release version: https://www.x3dom.org/download/dev
> -->
>
> <link rel="stylesheet"
>
> type="text/css"
>
> href="https://x3dom.org/download/dev/x3dom.css"/>
>
> <script type="text/javascript"
>
> src="https://x3dom.org/download/dev/x3dom-full.js"/>
>
>
> Questions please, before I start a major rebuild:
>
> 1. *x3dom.js or x3dom-full.js ? (both look to be available)*
> 2. *Same treatment for x3dom.css or is it no longer used?*
> 3. *What is up-to-date guidance whenText node is included?* I have
>
>
> - "X3DOM Text Example
> The following scenes demonstrate the use of the text and fontsyle
> nodes. You can also use web fonts, however on windows there is a glitch.
> You have to use and display the font in your document before you can use
> them in X3DOM."
> - https://x3dom.org/x3dom/example/x3dom_text.html
>
> <meta name="warning"
>
> content="Webfonts must be loaded prior to using Text node in X3D scene...
> see https://x3dom.org/x3dom/example/x3dom_text.html"/>
>
> <!-- X3DOM needs Web Fonts when an X3D Text node is included -->
>
> <!-- adapted from https://x3dom.org/x3dom/example/x3dom_text.html and
> https://web.mit.edu/jmorzins/www/fonts.html -->
>
> <style type="text/css">
>
> /*
> =============================================================================
> */
>
> @font-face {
>
> font-family: 'SERIF'; /* default original */
>
> font-style: normal;
>
> font-weight: 700;
>
> src: local('Roman'), url('Roman.ttf') format('truetype');
>
> }
>
> @font-face {
>
> font-family: 'SERIF'; /* default alternate */
>
> font-style: normal;
>
> font-weight: 700;
>
> src: local('Times New Roman'), local('TimesNewRoman'), url('Times New
> Roman.ttf') format('truetype');
>
> }
>
> /*
> =============================================================================
> */
>
> @font-face {
>
> font-family: 'SANS'; /* default original */
>
> font-style: normal;
>
> font-weight: 400;
>
> src: local('Arial'), url('Arial.ttf') format('truetype');
>
> }
>
> @font-face {
>
> font-family: 'SANS'; /* default alternate */
>
> font-style: normal;
>
> font-weight: 400;
>
> src: local('Helvetica'), url('Helvetica.ttf') format('truetype');
>
> }
>
> /*
> =============================================================================
> */
>
> @font-face {
>
> font-family: 'TYPEWRITER'; /* default original */
>
> font-style: normal;
>
> font-weight: 900;
>
> src: local('Courier'), url('Courier.ttf') format('truetype');
>
> }
>
> @font-face {
>
> font-family: 'TYPEWRITER'; /* default alternate */
>
> font-style: normal;
>
> font-weight: 900;
>
> src: local('Courier New'), url('Courier New.ttf') format('truetype');
>
> }
>
> /*
> =============================================================================
> */
>
> </style>
>
> <style type="text/css" media="screen, print">
>
> .webfont { font-size:200%; font-family:'TYPEWRITER'; color:green;} /*
> Conversion TODO font families: SANS SERIF TYPEWRITER */
>
> </style>
>
> and
>
> *4. Is the following still the best up-to-date list of supported nodes?*
>
> https://andreasplesch.github.io/x3dom/dist/doc/author/nodes.html
>
> P.S. node wish list: IndexedTriangleFanSet, Script
>
> Thanks in advance for all improvements to these invocations, and thanks as
> ever for ongoing progress with X3DOM!
>
> all the best, Don
> _______________________________________________
> 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/20250715/172e063e/attachment-0001.html>
More information about the x3d-public
mailing list