Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/6945f9bd-f198-8008-bb8c-1ab730279e5f
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Assistant: Yes β you are seeing a real, known x3dom issue, not a mistake on your part. === Yes β you are seeing a real, known x3dom issue, not a mistake on your part. The warning about a deprecated feature typically arises because the canonical x3dom.js served from x3dom.org still uses legacy WebGL / DOM APIs that modern browsers (especially Chromium-based ones) now flag. Let me address this cleanly and pragmatically. ==== When you see something like: ==== : it usually refers to one of the following inside x3dom.js, not your HTML: * Legacy WebGLRenderingContext assumptions * Deprecated DOM mutation observers * Old event handling patterns * Use of document.write or similar constructs Important: This is a warning, not a failure. * Rendering is still correct * Interaction still works * Performance is not catastrophically affected x3dom is mature but not aggressively modernized, because its design predates current WebGL2 / WebGPU trends. ==== Instead of the generic download URL, use the explicit stable release hosted on the CDN. ==== ===== <syntaxhighlight lang="html"><script src="https://www.x3dom.org/download/x3dom.js"></script> ===== <link rel="stylesheet" href="https://www.x3dom.org/download/x3dom.css"/> </syntaxhighlight> ===== <syntaxhighlight lang="html"><script src="https://www.x3dom.org/release/x3dom.js"></script> ===== <link rel="stylesheet" href="https://www.x3dom.org/release/x3dom.css"/> </syntaxhighlight> This removes most deprecated-feature warnings in current browsers. ==== x3dom sits in an awkward but understandable position: ==== * Designed to map X3D semantics β WebGL * Predates: - WebGL2 - WebGPU - Modern shader pipelines * Prioritizes: - Declarative scene graphs - Stability - Backward compatibility In other words, it is structurally conservative, much like NodeBox. This is why your instinct to treat x3dom as a projection backend, not the core abstraction, is exactly right. ==== Crucially: ==== * Your CSV β geometry β projection idea is sound * Your plane-based stellated octahedron is correct * The nDspace semantics live above x3dom, not inside it x3dom is simply: : Even if x3dom were replaced tomorrow by: * Three.js * Babylon.js * WebGPU-native engines your CSV + xyz + projection model would remain unchanged. ==== You can suppress most warnings by: ==== * Running Chrome with: ``<code> chrome://flags β disable deprecated warnings <syntaxhighlight>- Or simply ignoring them during development There is no functional gain in trying to βfixβ x3dom internally unless you plan to fork it. ==== This situation reinforces something you have been arguing all along: ==== : x3dom, like NodeBox, has the geometry, but lacks: * explicit dimensional semantics * formal projection declarations * separation between object and view Your work sits above this layer and survives tool churn. ==== Here is the clean, recommended header going forward: ==== </syntaxhighlight>html <script src="https://www.x3dom.org/release/x3dom.js"></script> <link rel="stylesheet" href="https://www.x3dom.org/release/x3dom.css"/> </code>`` No other changes are required. ==== The deprecated warning is not a setback β it is a symptom. ==== It tells us that: * the web platform has moved * projection engines lag * abstractions matter more than implementations You are working at the right layer.
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)