<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">In X3DOM (I don't know enough about
X_ITE to comment with authority), it is possible to write JS code
that handles new nodes. The code would be loaded at run-time and
handle parsing the processing the new nodes. It is necessary to
correctly connect them up with the rendering and other parts of
the X3DOM system. <br>
<br>
X3D Scripting is HTML/DOM scripting + X3D API calls for event and
field handling. There are certain things that are easier to do in
DOM scripting (e.g., connect HTML events to X3D actions and
vice-versa). Note that JavaScript is not on top of HTML. The DOM
is the API to the parsed HTML and JavaScript can access the DOM.
It is possible to have HTML without JavaScript and JavaScript
without HTML.<br>
<br>
There may be cases where you will want a complete X3D environment
without a browser, but those cases will become fewer in number and
more restrictive in applicability. The world is moving to mobile
devices and there is a general disinterest in loading specialized
apps unless there is a real solid and obvious advantage to the
user. Soon the requirement to run outside the browser may be seen
as a disadvantage, especially if it prevents full integration and
use within the browser environment.<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:mci9wwtqcpxxuv115imgl8lk.1533584537962@email.android.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New"}
span.HTMLPreformattedChar
{font-family:"Courier New"}
span.m-1560826583463856358m3705278146108278236m8095493740017175402m-7056022351321710558apple-converted-space
{}
.MsoChpDefault
{}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
ol
{margin-bottom:0in}
ul
{margin-bottom:0in}
-->
</style>
<div>Hi John.</div>
<div><br>
</div>
<div>Cannot help here. I am just a user of X3D and I thought to
stress the fact THAT extensibility is crucial. Cannot tell you
HOW to achieve it. Sorry.</div>
<div><br>
</div>
<div>All the best</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div id="composer_signature">
<div dir="auto" style="font-size:88%; color:#364f67">Von meinem
Samsung Gerät gesendet.</div>
</div>
<br>
<br>
-------- Ursprüngliche Nachricht --------<br>
Von: John Carlson <a class="moz-txt-link-rfc2396E" href="mailto:yottzumm@gmail.com"><yottzumm@gmail.com></a> <br>
Datum: 06.08.18 21:18 (GMT+01:00) <br>
An: Valentin Christoph <a class="moz-txt-link-rfc2396E" href="mailto:Christoph.Valentin@kapsch.net"><Christoph.Valentin@kapsch.net></a>,
Leonard Daly <a class="moz-txt-link-rfc2396E" href="mailto:Leonard.Daly@realism.com"><Leonard.Daly@realism.com></a>
<br>
Cc: Andreas Plesch <a class="moz-txt-link-rfc2396E" href="mailto:andreasplesch@gmail.com"><andreasplesch@gmail.com></a>, X3D-Public
<a class="moz-txt-link-rfc2396E" href="mailto:x3d-public@web3d.org"><x3d-public@web3d.org></a> <br>
Betreff: RE: [x3d-public] good example for ECMAScripting and
Protos? <br>
<br>
<div>
<div class="WordSection1">
<p class="MsoNormal">Here’s the one case I was successful at
writing an interpreter:
<a href="http://dsmforum.org/events/DSVL01/carlson.pdf"
moz-do-not-send="true">http://dsmforum.org/events/DSVL01/carlson.pdf</a>
I got help from Michael Turner, Jeffrey Allen and Frank
Guerra. No scoping whatsoever.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">John</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Sent from <a
href="https://go.microsoft.com/fwlink/?LinkId=550986"
moz-do-not-send="true">
Mail</a> for Windows 10</p>
<p class="MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt;
padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none; padding:0in"><b>From:
</b><a href="mailto:yottzumm@gmail.com"
moz-do-not-send="true">John Carlson</a><br>
<b>Sent: </b>Monday, August 6, 2018 3:13 PM<br>
<b>To: </b><a href="mailto:Christoph.Valentin@kapsch.net"
moz-do-not-send="true">Valentin Christoph</a>;
<a href="mailto:Leonard.Daly@realism.com"
moz-do-not-send="true">Leonard Daly</a><br>
<b>Cc: </b><a href="mailto:andreasplesch@gmail.com"
moz-do-not-send="true">Andreas Plesch</a>; <a
href="mailto:x3d-public@web3d.org"
moz-do-not-send="true">
X3D-Public</a><br>
<b>Subject: </b>RE: [x3d-public] good example for
ECMAScripting and Protos?</p>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The only problem with this is that some
X3D programmers are not capable of writing a good
interpreter or compiler (only me perhaps). It’s another step
up from regular programming (I have tried several times, and
am only successful when someone else helps). I don’t see
why we can’t use the regular browser JavaScript for
x3dscript, except for scoping issues, perhaps. Am I being
obtuse/stupid?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">John</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Sent from <a
href="https://go.microsoft.com/fwlink/?LinkId=550986"
moz-do-not-send="true">
Mail</a> for Windows 10</p>
<p class="MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt;
padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From: </b><a
href="mailto:Christoph.Valentin@kapsch.net"
moz-do-not-send="true">Valentin Christoph</a><br>
<b>Sent: </b>Monday, August 6, 2018 3:04 PM<br>
<b>To: </b><a href="mailto:yottzumm@gmail.com"
moz-do-not-send="true">John Carlson</a>; <a
href="mailto:Leonard.Daly@realism.com"
moz-do-not-send="true">
Leonard Daly</a><br>
<b>Cc: </b><a href="mailto:andreasplesch@gmail.com"
moz-do-not-send="true">Andreas Plesch</a>; <a
href="mailto:x3d-public@web3d.org"
moz-do-not-send="true">
X3D-Public</a><br>
<b>Subject: </b>AW: [x3d-public] good example for
ECMAScripting and Protos?</p>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am in favor of keeping X3D Scripting
and X3D prototypes even in X3DOM and similar. </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Reason: need some place "on top" of
X3D. At least for experimental extensibility.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">X3dscript "on top" of X3D ("on top" of
Javascript "on top" of html)</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">The part within parentheses needs to
remain optional IMHO</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div id="composer_signature">
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;
color:#364F67">Von meinem Samsung Gerät gesendet.</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
-------- Ursprüngliche Nachricht --------<br>
Von: John Carlson <a class="moz-txt-link-rfc2396E" href="mailto:yottzumm@gmail.com"><yottzumm@gmail.com></a> <br>
Datum: 06.08.18 20:08 (GMT+01:00) <br>
An: Leonard Daly <a class="moz-txt-link-rfc2396E" href="mailto:Leonard.Daly@realism.com"><Leonard.Daly@realism.com></a> <br>
Cc: Andreas Plesch <a class="moz-txt-link-rfc2396E" href="mailto:andreasplesch@gmail.com"><andreasplesch@gmail.com></a>,
X3D-Public <a class="moz-txt-link-rfc2396E" href="mailto:x3d-public@web3d.org"><x3d-public@web3d.org></a> <br>
Betreff: Re: [x3d-public] good example for ECMAScripting and
Protos? </p>
<div>
<div>
<div>
<p class="MsoNormal">I agree there should be a solution
that everyone can use. One potential solution is to
sandbox, which has worked for systems like VMware,
virtual box etc. I don’t know the status of systems
like this for JavaScript, but it may be worth
investigating such systems, and creating a
recommendation for those implementing VRML on the
web. Another potential solution is moving more things
into declarative syntax. I favor this, but I don’t
want to end up with something like CSAML (left to the
reader to investigate). A third solution get rid of
scripting from X3D entirely and use DOM scripting.
This perhaps is the best solution, but might leave
some people out of the VRML world because they are too
afraid of DOM scripting.</p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Mon, Aug 6, 2018 at 1:56 PM
Leonard Daly <<a
href="mailto:Leonard.Daly@realism.com"
moz-do-not-send="true">Leonard.Daly@realism.com</a>>
wrote:</p>
</div>
<blockquote style="border:none; border-left:solid
#CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt;
margin-left:4.8pt; margin-top:5.0pt; margin-right:0in;
margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">[Removed
X3DOM mailing list because the message applies
to X3D in general and not X3DOM.]<br>
<br>
There has been several mentions over that last
many months about using eval to process code in
the browser. Sometimes the code is JSON, other
times the code is JavaScript (sometimes HTML5
JavaScript, others X3D ECMAScript).
<br>
<br>
I do not recall seeing any discussion of
potential security issues when 'eval'ing code.
<br>
<br>
If the string is JSON, then the proper way to
convert the JSON string to internal data
structure is with JSON.parse (e.g., see
<a
href="https://www.w3schools.com/js/js_json_parse.asp"
target="_blank" moz-do-not-send="true">https://www.w3schools.com/js/js_json_parse.asp</a>).
This built-in method ensures that no code is
executed and only data structures are created.<br>
<br>
eval() is a dangerous function. <br>
<br>
<a
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Do_not_ever_use_eval"
target="_blank" moz-do-not-send="true">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Do_not_ever_use_eval</a>!<br>
<br>
Any library that provides the ability to execute
uncontrolled code is really asking for trouble
and probably will not be allowed in any
corporate environment. Any X3D solution that
requires the use of eval() for user code needs
to be re-thought to develop a solution without
that requirement -- either explicitly stated or
required because no other solution to the
requirements is possible.</p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0in;
margin-bottom:12.0pt; margin-left:4.8pt">
<br>
<br>
<br>
Leonard Daly<br>
<br>
<br>
</p>
</div>
<blockquote style="margin-top:5.0pt;
margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"
style="margin-left:40.8pt">I am interested
in the fields, specifically getting
scengraph values out of SFNodes which are in
fields. I can call the script node
mooluckpooluck when I insert it into DOM,
let’s just decide on something and add it to
both X_ITE and X3DOM. X_ITE already uses
eval. Are we going to make that magically
disappear, if so, how? Let’s hop skip jump
to it if it has to go through W3C.</p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt">John</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"> </p>
<div>
<div>
<p class="MsoNormal"
style="margin-left:40.8pt">On Mon, Aug 6,
2018 at 1:32 AM John Carlson <<a
href="mailto:yottzumm@gmail.com"
target="_blank" moz-do-not-send="true">yottzumm@gmail.com</a>>
wrote:</p>
</div>
<blockquote style="border:none;
border-left:solid #CCCCCC 1.0pt; padding:0in
0in 0in 6.0pt; margin-left:4.8pt;
margin-top:5.0pt; margin-right:0in;
margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"
style="margin-left:45.6pt">I don’t
care if the script tag is called
mooluckpooluck or if there is a
conflict. I’m working in the JSON
environment, so the rules are somewhat
different. What I am concerned about
is getting my arrays converted to
arrays and not strings.</p>
</div>
</div>
<div>
<p class="MsoNormal"
style="margin-left:45.6pt"> </p>
<div>
<div>
<p class="MsoNormal"
style="margin-left:45.6pt">On Mon,
Aug 6, 2018 at 1:19 AM John Carlson
<<a
href="mailto:yottzumm@gmail.com"
target="_blank"
moz-do-not-send="true">yottzumm@gmail.com</a>>
wrote:</p>
</div>
<blockquote style="border:none;
border-left:solid #CCCCCC 1.0pt;
padding:0in 0in 0in 6.0pt;
margin-left:4.8pt; margin-top:5.0pt;
margin-right:0in; margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">Leonard,
I agree my approach may not work
in all environments.</p>
</div>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">Determining
a valid or invalid mime type is
extremely difficult if done
semantically, but extremely easy
if done syntactically. My guess
is that many of the X3D tags are
semantically invalid, unless
someone has added them to Apache.
I do not know the status of
this. I have to add mine types
to my server for every new
extension I add. It is not a that
big of a deal.</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">One may
not need a script tag around X3D
script to execute X3D script. One
may use eval in a script tag.
One may make script
inconsequential by making the
scripts only functions, and move
the functions to a string which is
evaled. Essentially you are
parsing twice.</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">If we
want script fields handled by
X3DOM, we will have to find
someway to bring them into X3DOM.
X_ITE has shown the way. We can
take other approaches than X3DOM,
like straight DOM. I am beginning
to think this is preferable, but
using DEF to find node which
aren’t in the scenegraph has kind
of been, wtf?</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">The
question has become “Are DEFed
SFNodes valid scenegraph objects
if they are in fields?” This may
show a failing of X3DOM, which may
need to be corrected. I can
probably find the scengraph object
using USE, but I really want to
use DEF. Can someone show me how
to do it in the HTML5 environment?</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">John</p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"
style="margin-left:.7in">On
Mon, Aug 6, 2018 at 12:24 AM
Leonard Daly <<a
href="mailto:Leonard.Daly@realism.com"
target="_blank"
moz-do-not-send="true">Leonard.Daly@realism.com</a>>
wrote:</p>
</div>
<blockquote style="border:none;
border-left:solid #CCCCCC 1.0pt;
padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;
margin-top:5.0pt;
margin-right:0in;
margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"
style="margin-left:55.2pt">I
am replying to an early
message in this thread,
but I hope to capture
comments from all messages
in the thread. My comments
only apply to the web
browser (HTML5)
environment.<br>
<br>
First, any Script tag (in
any case) will be handled
by the web browser, and
the web browser will parse
content before anything
else. If you really need
to independently parse
some tags, you will need
to "read" it into a
JavaScript variable and
handle it that way. If
it's in the page file, it
will be parsed.<br>
<br>
There was a suggestion to
use "text/x3dscript" or
some other string. The W3C
has something to say about
this at
<a
href="https://www.w3.org/TR/html5/scripting-1.html#the-script-element"
target="_blank"
moz-do-not-send="true">
https://www.w3.org/TR/html5/scripting-1.html#the-script-element</a>. The
value of the type
attribute must either be</p>
<p class="MsoNormal"
style="margin-left:91.2pt;
text-indent:-.25in"><span
style="">1.<span
style="font:7.0pt
"Times New
Roman"">
</span></span>omitted </p>
<p class="MsoNormal"
style="margin-left:91.2pt;
text-indent:-.25in"><span
style="">2.<span
style="font:7.0pt
"Times New
Roman"">
</span></span>JavaScript
MIME type </p>
<p class="MsoNormal"
style="margin-left:91.2pt;
text-indent:-.25in"><span
style="">3.<span
style="font:7.0pt
"Times New
Roman"">
</span></span>"module" </p>
<p class="MsoNormal"
style="margin-left:91.2pt;
text-indent:-.25in"><span
style="">4.<span
style="font:7.0pt
"Times New
Roman"">
</span></span>any other
valid mime type </p>
<p>So the use of an invalid
MIME type is not
technically valid HTML.
This may cause a problem
with some browsers or
validators; or present
future problems if that
string is ever defined to
have a particular meaning.</p>
<p>X3DOM does not have X3D
scripting. If you need
scripting to correctly
process an X3DOM
environment; then you need
to do it in HTML5
Javascript. X3DOM does not
process the Script tag,
that is done by HTML5.
While X3DOM parser could
recognize that tag, it
does not; hence, none of
the X3DOM methods are
available to handle
interactions on a Script
node (a Script tag parsed
into DOM).</p>
<p>The X3D Script / HTML5
Script tag name conflict
is a long-standing and
known issue. To my
knowledge no work has been
done to break the
conflict.
</p>
<p>Leonard Daly</p>
<p> </p>
<p> </p>
<p class="MsoNormal"
style="margin-right:0in;
margin-bottom:12.0pt;
margin-left:55.2pt">
</p>
</div>
</div>
<div>
<blockquote
style="margin-top:5.0pt;
margin-bottom:5.0pt">
<div>
<p class="MsoNormal"
style="margin-left:91.2pt">Here’s
my current code for
clearing the ECMAScript
out of a X3D file so
that it doesn’t show on
the screen:</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">
$(selector+"
Script").contents().filter(function
() {</p>
<p class="MsoNormal"
style="margin-left:91.2pt">
return this.nodeType ===
3 || this.nodeType ===
4;</p>
<p class="MsoNormal"
style="margin-left:91.2pt">
}).remove();</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">This
retains the fields. I
may change my code to
work with fields instead
of parsing out the
fields into properties
(but directOutput is
nice). This would mean
that X3DOM has to route
to and from the script
fields (is this
possible?).</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">John</p>
<p class="MsoNormal"
style="margin-left:91.2pt">Sent
from <a
href="https://go.microsoft.com/fwlink/?LinkId=550986"
target="_blank"
moz-do-not-send="true">
Mail</a> for Windows
10</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<div style="border:none;
border-top:solid #E1E1E1
1.0pt; padding:3.0pt 0in
0in 0in">
<p class="MsoNormal"
style="margin-left:91.2pt"><b>From:
</b><a
href="mailto:yottzumm@gmail.com"
target="_blank"
moz-do-not-send="true">John
Carlson</a><br>
<b>Sent: </b>Saturday,
August 4, 2018 4:56 AM<br>
<b>To: </b><a
href="mailto:vmarchetti@kshell.com"
target="_blank"
moz-do-not-send="true">vmarchetti@kshell.com</a>;
<a
href="mailto:x3d-public@web3d.org"
target="_blank"
moz-do-not-send="true">X3D-Public</a>;
<a
href="mailto:x3dom-users@lists.sourceforge.net"
target="_blank"
moz-do-not-send="true">
x3dom mlist</a>; <a
href="mailto:andreasplesch@gmail.com" target="_blank"
moz-do-not-send="true">Andreas
Plesch</a><br>
<b>Subject: </b>RE:
[x3d-public] good
example for
ECMAScripting and
Protos?</p>
</div>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">I
have a problem with this
file in X3DOM, because
as far as I can tell,
the SFNode fields (the
node, not the field) do
not have getFieldValue
for point etc. as a
function, for example
(but one can double
check me). In other
words, I don’t think
this node is an X3DOM
node.</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Thus
I cannot take a
reasonable length in the
script. One would have
to parse the string.</p>
<p class="MsoNormal"
style="margin-left:91.2pt"><br>
That’s as clear as I can
get. I think this might
be because x3dom does
not process scripts
correctly. We would need
a script tag handler,
and a field handler
inside that.</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Can
you help Andreas? I’ve
created a script tag
before, but that code is
lost. It might be in my
GitHub repository
somewhere, not sure.</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">We
just need a script tag
that has fields, but
doesn’t execute its
CDATA section. I am
pretty sure</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">How
is V4.0 handling this?</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Alternatively,
I can change my nodeUtil
code to look at the type
and do the right thing
converting a string to
the correct type.
Suggestions are welcome.</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Thanks
for the great example,
Vince,</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Should
I adapt my code to deal
with this failing in
X3DOM, or should we
change X3DOM?</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">John</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">Sent
from <a
href="https://go.microsoft.com/fwlink/?LinkId=550986"
target="_blank"
moz-do-not-send="true">
Mail</a> for Windows
10</p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<div style="border:none;
border-top:solid #E1E1E1
1.0pt; padding:3.0pt 0in
0in 0in">
<p class="MsoNormal"
style="margin-left:91.2pt"><b>From:
</b><a
href="mailto:vmarchetti@kshell.com"
target="_blank"
moz-do-not-send="true">vmarchetti@kshell.com</a><br>
<b>Sent: </b>Wednesday,
August 1, 2018 9:04 PM<br>
<b>To: </b><a
href="mailto:yottzumm@gmail.com"
target="_blank"
moz-do-not-send="true">John
Carlson</a>; <a
href="mailto:x3d-public@web3d.org"
target="_blank"
moz-do-not-send="true">
X3D-Public</a><br>
<b>Subject: </b>Re:
[x3d-public] good
example for
ECMAScripting and
Protos?</p>
</div>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt">See </p>
<p class="MsoNormal"
style="margin-left:91.2pt"><a
href="http://www.kshell.com/pages/pointcloudvisualization/SphereDirectedPointSet.x3d"
target="_blank"
moz-do-not-send="true">http://www.kshell.com/pages/pointcloudvisualization/SphereDirectedPointSet.x3d</a></p>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt">It
is a X3D file with
with a Prototype +
ecmascript definition
of a point cloud, with
a vector attached to
each point of the
cloud.</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt">Example
used is just points
randomly distributed
on sphere with directs
pointed radially
outward.</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt">Potential
uses would be to
implement the scanning
design pattern at <a
href="http://x3dgraphics.com/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPatternIndex.html"
target="_blank"
moz-do-not-send="true">http://x3dgraphics.com/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPatternIndex.html</a>
, or</p>
</div>
<div>
<p class="MsoNormal"
style="margin-left:91.2pt">visualizing
fluid flow or
electromagnetic field</p>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt;
margin-left:91.2pt"> </p>
<blockquote
style="margin-top:5.0pt;
margin-bottom:5.0pt">
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt">On Jul 31, 2018, at 10:30 PM, John Carlson
<a
href="mailto:yottzumm@gmail.com"
target="_blank" moz-do-not-send="true"><yottzumm@gmail.com></a>
wrote:</p>
</div>
<p class="MsoNormal"
style="margin-left:127.2pt"> </p>
<div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt">Is there a good example of ECMAScripting in
X3D that I can
use to test my
X3D JSON
ECMAScript
preprocessor?
Preferably
with Protos<span
class="m-1560826583463856358m3705278146108278236m8095493740017175402m-7056022351321710558apple-converted-space"> </span></p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt"> </p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt"> </p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt">Thanks!</p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt"> </p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt">John</p>
</div>
<div>
<p
class="MsoNormal"
style="margin-left:127.2pt"> </p>
</div>
<p
class="MsoNormal"
style="margin-left:127.2pt"><span style="font-size:9.0pt;
font-family:"Times
New
Roman",serif">_______________________________________________<br>
x3d-public
mailing list<br>
</span><a
href="mailto:x3d-public@web3d.org"
target="_blank" moz-do-not-send="true"><span style="font-size:9.0pt;
font-family:"Times
New
Roman",serif;
color:#954F72">x3d-public@web3d.org</span></a><span
style="font-size:9.0pt; font-family:"Times New Roman",serif"><br>
</span><a
href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org"
target="_blank" moz-do-not-send="true"><span style="font-size:9.0pt;
font-family:"Times
New
Roman",serif;
color:#954F72">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</span></a></p>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
<p class="MsoNormal"
style="margin-left:91.2pt"> </p>
</div>
<p class="MsoNormal"
style="margin-right:0in;
margin-bottom:12.0pt;
margin-left:91.2pt">
</p>
<pre>_______________________________________________</pre>
<pre>x3d-public mailing list</pre>
<pre><a href="mailto:x3d-public@web3d.org" target="_blank" moz-do-not-send="true">x3d-public@web3d.org</a></pre>
<pre><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank" moz-do-not-send="true">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></pre>
</blockquote>
<p> </p>
<div>
<p class="MsoNormal"
style="margin-left:55.2pt">--
<br>
<b><span
style="font-size:13.5pt;
color:#333366">Leonard
Daly</span></b><span
style="color:#333366"><br>
3D Systems & Cloud
Consultant<br>
LA ACM SIGGRAPH Past
Chair<br>
President, Daly Realism
- <i>Creating the
Future</i> </span></p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p> </p>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">--
<br>
<b><span style="font-size:13.5pt; color:#333366">Leonard
Daly</span></b><span style="color:#333366"><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Past Chair<br>
President, Daly Realism - <i>Creating the
Future</i> </span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:7.0pt"><br>
<br>
<br>
The information contained in this e-mail message is
privileged and confidential and is for the exclusive use
of the addressee. The person who receives this message and
who is not the addressee, one of his employees or an agent
entitled to hand it over to the addressee, is informed
that he may not use, disclose or reproduce the contents
thereof, and is kindly asked to notify the sender and
delete the e-mail immediately.</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
</blockquote>
<p><br>
</p>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Past Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>