[x3d-public] Text.url or way to display source code in Castle Model Viewer (CastleScript)

John Carlson yottzumm at gmail.com
Fri Apr 17 00:47:17 PDT 2026


I am currently displaying source code by keeping a copy in scene, instead
of downloading or referencing a url in scene, it just seems a bit excessive
for all the possible encodings.   I already have an Inline, how can I also
feed the Inline data to a Text.string?

Apologies if I brought down web3d.org today, I didn’t think single-threaded
code would be too intrusive.  I have commented out/removed the https client
in my menu generator.

The CORS issue is holding back further testing of X3DOM, Sunrize and X_ITE
for AnchorMenu, I’m afraid.  Downloading or recreating the archive might be
a possibility.  Probably Castle Web experiences similar.  I will work on a
zip.

I don’t think I’ll break the GPU, especially if Text.string is truncated?

Seems strange now that many terminals are hardware accelerated.

John

On Thu, Apr 16, 2026 at 4:09 PM John Carlson <yottzumm at gmail.com> wrote:

> I would like a Text.url field so that I can easily display downloaded
> source code in a Text node.  I expect the Text.url and Text.string fields
> to change between different X3D encoded files.
>
> This should also work in Castle Model Viewer.  It's easier to integrate
> with other browsers by not using Script at all.
>
> A different node is also possible.
>
> Discuss!
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20260417/49634ebb/attachment.html>


More information about the x3d-public mailing list