[x3d-public] CDATA sections don't show up on this X3D Resources Example, BasicShaders, that I can see in the decorated X3D
GPU Group
gpugroup at gmail.com
Tue May 22 05:49:04 PDT 2018
I don't know if spec comments is fixed yet, I'll say an idea and my
intention is that the same rules apply to it as if I had done the spec
comment form.
X3D SPEC COMMENT PUBLIC CONDITION APPLIES >>>>>>>>
Could / should there be something in x3d equivalent to (in C) #ifdef that
x3d parsers can filter based on the browser or other criteria?
<condition name='browser' value='x_ite'>
<condition_true>
... nodes
</condition_true>
<condition_false>
.. nodes
</condition_false>
</condition>
Then any un-reconcilable differences in browser technology can be filtered
either at parse time, or by some ETL extract transform load filtering tool
that take out the conditional elements.
Maybe xml has that already?
And authoring tools could support all browser technology with one file.
<<<<<<<<<<< X3D SPEC COMMENT PUBLIC CONDITION APPLIES
-Doug
On Tue, May 22, 2018 at 6:31 AM, GPU Group <gpugroup at gmail.com> wrote:
> - revisiting old topic from this time last year
> http://dug9.users.sourceforge.net/web3d/tests/ProgrammableShaders/
> SimpleShader/SimpleShader_kambu_desktop.x3d
> - this one works in freewrl, although outer layer renders thinner.
> -Doug
>
> On Mon, May 21, 2018 at 11:05 PM, John Carlson <yottzumm at gmail.com> wrote:
>
>> Also, I think comments in a GLSL shader start with a //, not a #. Or
>> surround in /* … */
>>
>>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> *From: *John Carlson <yottzumm at gmail.com>
>> *Sent: *Tuesday, May 22, 2018 12:52 AM
>> *To: *Don Brutzman <brutzman at nps.edu>; X3D Graphics public mailing list
>> <x3d-public at web3d.org>
>> *Subject: *CDATA sections don't show up on this X3D Resources Example,
>> BasicShaders, that I can see in the decorated X3D
>>
>>
>>
>> I haven’t tried copy/paste.
>>
>>
>>
>> http://www.web3d.org/x3d/content/examples/Basic/Shaders/
>> SimpleShaderIndex.html
>>
>>
>>
>> This is on the web page itself.
>>
>>
>>
>> Also X_ITE is drastically different from something like BS Contact for
>> example.
>>
>>
>>
>> We need more ports. FreeWRL? X3DOM (maybe put a switch in for the Proto?).
>>
>>
>>
>> John
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>>
>>
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180522/61be035b/attachment-0001.html>
More information about the x3d-public
mailing list