[AI] Fwd: Java to XML/VRML to renderer.
John Carlson
yottzumm at gmail.com
Tue Feb 10 03:28:21 PST 2026
https://claude.ai/share/636ed092-ace5-4331-9222-4d0d85e80ada
I asked claude.ai to create a X3D JSON WebGPU renderer using THREE. Then
I asked it to create a scene that contains all X3D nodes and statements,
then regenerate the renderer.
Untested as I am in bed with a cold. Maybe I can add this renderer to my
bake-off.
John
---------- Forwarded message ---------
From: John Carlson <yottzumm at gmail.com>
Date: Tue, Feb 10, 2026 at 4:50 AM
Subject: Java to XML/VRML to renderer.
To: X3D Ecosystem public discussion <x3d-ecosystem at web3d.org>, Don Brutzman
<don.brutzman at gmail.com>, Holger Seelig <holger.seelig at yahoo.de>, Andreas
Plesch <andreasplesch at gmail.com>
So I get that one can go from Java to XML/VRML to render. Even I go from
JSON to DOM to renderer with JavaScript.
AFAIK, Xj3D has a scenegraph that it renders. I realize it’s based on
VRML. That’s cool.
In x3danari, I import a X3DPSAIL scenegraph and render it with Pynari and
ANARI.
Is there anything that’s preventing us from doing that in Java and
JavaScript scenegraphs? I don’t know the rendering APIs for those. Please
answer for Xj3D, X_ITE, X3DOM and Sunrize.
I have started on a visitor pattern that might help to render X3DJSAIL.
https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/java/net/coderextreme/visitor
Also of interest is my recursive node remover.
https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/java/net/coderextreme/Remove.java
Also my remove generator and visitor generator:
https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/Visitor.py
https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/removeGenerator.py
Anyway, rendering is probably beyond me without AI assistance. I would
like to write a JSON-based renderer, but perhaps that’s not in the cards.
Maybe I can do something with pynari?
Maybe creating Blender JSON might be in the future.
I don’t even have a clear picture of the OpenGL/WebGL/Vulkan/WebGPU
drivers. Can someone recommend a class? I know stuff like creating
images.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/ai_web3d.org/attachments/20260210/190f28b0/attachment.html>
More information about the AI
mailing list