[x3d-public] [x3dom/x3dom] Full patch from coderextreme/x3dom. Includes JSONloading, protoexpander, inline changes, and field changes (#844)
John Carlson
yottzumm at gmail.com
Mon May 21 21:10:22 PDT 2018
Yes, I got an embedded shader working with X3DJSONLD JSON-X3DOM (the x3d resource example is not ported to X3DOM), but not with X3DJSONLD XML-X3DOM. Works fine with URLs (no JavaScript in HTML file). I’ll have to check for differences in the JSON/XML, looking into it. The prototype did not work, but perhaps unrelated. I am working with SimpleShader.x3d, FYI, current version is attached.
John
Sent from Mail for Windows 10
From: Andreas Plesch
Sent: Monday, May 21, 2018 11:25 PM
To: x3dom/x3dom
Cc: John Carlson; Author
Subject: Re: [x3dom/x3dom] Full patch from coderextreme/x3dom. Includes JSONloading, protoexpander, inline changes, and field changes (#844)
https://rawgit.com/andreasplesch/x3dom/lgtm-fixes/test/regression-suite/test/cases/changeShaderAndDOM/changeShaderAndDOM.html
is an example in the test folder for inline shaders in x3dom.
It uses html, and probably <> would need to be escaped.
But xhtml with a CDATA section may work as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180522/df95fb3a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleShader.json
Type: application/json
Size: 14848 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180522/df95fb3a/attachment-0001.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleShader.x3d
Type: application/octet-stream
Size: 7615 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180522/df95fb3a/attachment-0001.obj>
More information about the x3d-public
mailing list