by gyf304 · 3y ago · 0 comments
Here's a hello world for X3D: https://www.web3d.org/x3d/content/examples/Basic/X3dSpecific...
And here's a hello world for OpenUSD: https://www.openusd.org/release/tut_helloworld.html#viewing-...
Although X3D is a bit more verbose, a lot of parallels can be drawn between the two, 20 years apart.
All the plugins that used to be needed to display VRML online are gone now, but you can still display VRML 2.0/97 files online using JavaScript library called X_ITE [1]. I used it recently to view some old VRML I had saved but could no longer view. Works great.
What I wanted (but never built) was a semantic file format, something like:
<room style="square" id="room1">
<wall direction=north>
<picture frame="modern" src="http://foo.com/fancycat.jpg" />
</wall>
<wall direction=south>
<door room="room2" />
</wall>
</room>The examples, demos, and development experience are great, but since it's based on web tech hasn't made a big splash yet with the bigger 3D content businesses.
You can actually render a gltf as a JSX tree too with gltfjsx: https://github.com/pmndrs/gltfjsx
It also used the PHANToM for haptic feedback and used a 3D stereoscopic display
https://www.researchgate.net/figure/A-Reachin-Display-equipp...
The company H3D has built something similar.
We're talking about 3d model formats where the current industry standard is a close sourced Autodesk nightmare. This is already the default situaton.
There's not much incentive to change either because animation and game studios tend to roll their own tech.
That was my initial thought also.
> Although X3D is a bit more verbose
The USDA file format reminds me a lot of the pre-XML VRML 97 file format, with the curly bracket C-style syntax, #comments, and 'def' everywhere.
https://openusd.org/release/spec_usdpreviewsurface.html#usd-...