<div dir="auto">This does raise the question why these large numbers are being generated in the first place?<div dir="auto"><br></div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 11, 2017 2:41 PM, "Masaki Aono" <<a href="mailto:aono@tut.jp">aono@tut.jp</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Dear John<br>
</p>
I'd appreciate your continuous efforts for the bridge between Java
and Python.<br>
<br>
<br>
I may be wrong., but I believe the number such as 4278190335 is too
large for 32-bit integer.<br>
This is where I think NumPy's 64-bit integer may be needed for
compatibility (with Java's long)<br>
<a class="m_928382103542742418moz-txt-link-freetext" href="https://docs.scipy.org/doc/numpy/user/basics.types.html" target="_blank">https://docs.scipy.org/doc/<wbr>numpy/user/basics.types.html</a><br>
<br>
I mean wherever Java's long integer is expected,<br>
Numpy's int64 might be of help.<br>
<br>
<br>
Sincerely,<br>
<br>
<div class="m_928382103542742418moz-cite-prefix">On 2017/08/12 1:53, John Carlson wrote:<br>
</div>
<blockquote type="cite">
<div class="m_928382103542742418WordSection1">
<p class="MsoNormal">Okay, I’m running make.sh in pythonSAI and
collecting errors. One major one appears to be in
PixelTextureObject.setImage().</p>
<p class="MsoNormal"><br>
I get errors like:</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> File "rgb_alpha.py", line 120, in
<module></p>
<p class="MsoNormal">
PixelTexture27.setImage([2,2,<wbr>4,4278190335,4294901760,<wbr>4294901760,4278190335])</p>
<p class="MsoNormal"> File "jnius\jnius_export_class.pxi"<wbr>, line
900, in jnius.JavaMultipleMethod.__<wbr>call__
(jnius\jnius.c:29079)</p>
<p class="MsoNormal">jnius.JavaException: No methods matching
your arguments</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Don, can you provide a matching method in
X3DJSAIL? Do I need to provide hex?<br>
<br>
</p>
<p class="MsoNormal">Attached,<br>
<br>
John</p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a>
for Windows 10</p>
<p class="MsoNormal"><u></u> <u></u></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:aono@tut.jp" target="_blank">Masaki
Aono</a><br>
<b>Sent: </b>Friday, August 11, 2017 12:30 PM<br>
<b>To: </b><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br>
<b>Cc: </b><a href="mailto:roy.walmsley@ntlworld.com" target="_blank">Roy Walmsley</a>;
<a href="mailto:brutzman@nps.edu" target="_blank">Don
Brutzman</a>; <a href="mailto:mwlee@suwon.ac.kr" target="_blank">Myeong Won Lee</a>; <a href="mailto:x3d-public@web3d.org" target="_blank">X3D
Graphics public mailing list</a><br>
<b>Subject: </b>Re: I played a little. Re: Scene Access
<a class="m_928382103542742418moz-txt-link-freetext">Interface:autogeneratingPython</a></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="font-family:"Helvetica",sans-serif">Dear
John,</span></p>
<p><span style="font-family:"Helvetica",sans-serif">Wow,
it works (without errors)! Thank you.</span></p>
<p><span style="font-family:"Helvetica",sans-serif">CLASSPATH
(environment variable) is as follows:</span></p>
<p><span style="font-family:"Helvetica",sans-serif">.;./%PYSAIHOME%/saxon9he.jar;%<wbr>PYSAIHOME%/X3DJSAIL.3.3.<wbr>classes.jar</span></p>
<p><u></u> <u></u></p>
<p><span style="font-family:"Helvetica",sans-serif">Sincerely</span></p>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:black">On 2017/08/12
1:13, John Carlson wrote:<u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:black">Masaki,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><br>
Thank you for putting up with errors in my code. I have a
new HelloWorld.py for you to try. It may work for you, but
it doesn’t work for me. I get different errors. Could
you tell me how you set your CLASSPATH to include
X3DJSAIL? I think I accidentally removed that from my
code. Oops!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Attached.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">John<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">$ python
HelloWorld.py<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Traceback (most
recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> File
"HelloWorld.py", line 2, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> from
X3Dautoclass import *<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> File
"C:\Users\coderextreme\<wbr>X3DJSONLD\src\main\python\<wbr>X3Dautoclass.py",
line 320, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> X3DObject =
autoclass('org.web3d.x3d.<wbr>jsail.Core.X3DObject')<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> File
"C:\Users\coderextreme\<wbr>AppData\Local\Programs\Python\<wbr>Python36\lib\site-packages\<wbr>jnius\reflect.py",
line 158, in autoclass<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> c =
find_javaclass(clsname)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> File
"jnius\jnius_export_func.pxi", line 25, in
jnius.find_javaclass (jnius\jnius.c:16918)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">jnius.JavaException:
Class not found b'org/web3d/x3d/jsail/Core/<wbr>X3DObject'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a>
for Windows 10<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black"><a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br>
<b>Sent: </b>Friday, August 11, 2017 11:49 AM<br>
<b>To: </b><a href="mailto:aono@tut.jp" target="_blank">Masaki Aono</a><br>
<b>Cc: </b><a href="mailto:roy.walmsley@ntlworld.com" target="_blank">Roy Walmsley</a>;
<a href="mailto:brutzman@nps.edu" target="_blank">Don
Brutzman</a>; <a href="mailto:mwlee@suwon.ac.kr" target="_blank">Myeong Won Lee</a>; <a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public
mailing list</a><br>
<b>Subject: </b>Re: I played a little. Re: Scene Access
Interface: autogeneratingPython<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:black">Thanks
everyone for looking at my code. I think the issue
might be a previous set() function defined in the
interface returns the interface class type, and then a
new set function is called on the interface. This can
be checked by separating the calls to set...() functions
into separate calls on the numbered on the numbered
object, so they are not chained together. This can be
tested by hand modifying HelloWorld.py and removing the
chaining and putting each set() call in a separate
statement. I will try to modify my serializer to do
this when I get the chance. I believe a previous
serializer did do this, and it worked!<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">John<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:black">On Aug 11,
2017 11:18 AM, "John Carlson" <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>>
wrote:<u></u><u></u></span></p>
<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>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">Masaki, thank you for spending
more time with this. I don't think the functions
will be implemented soon by me. It is
complaining about the interface, and the functions
are defined in the concrete class ...Object which
implements the interface. I don't think the
functions should be declared on the interface, but
I could be wrong. Don? It is possible that a
previous set function returns the interface
instead of the concrete class object, but I think
not, last I checked.<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">There's something with
pyjnius or how X3Dautoclass.py is implemented.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">We really need input from
the pyjnius community I think. Or reading of
various pyjnius documentation.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">I believe my <a href="https://GitHub.com/coderextreme/pythonSAI" target="_blank">https://GitHub.com/<wbr>coderextreme/pythonSAI</a>
project has the beginnings of a pure Python SAI
generator that may be worth looking at.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">On Aug 11, 2017 10:35
AM, "Masaki Aono" <<a href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a>>
wrote:<u></u><u></u></span></p>
<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>
<p>Dear John,</p>
<p>Thank you very much.</p>
<p>I think I begin to understand what is
happening beneath the HelloWorld.py.</p>
<p>I could partly succeeded in X3D file
output with X3D0.setScene(Scene25)</p>
<p>from your HelloWorld.py for the functions
already implemented (by pynius?) as
attached.</p>
<p>Hopefully, missing functions are to be
implemented soon.</p>
</div>
</blockquote>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black">When I say "not finding" it
means the functions are implemented. See
X3DJSAIL jsail package.<u></u><u></u></span></p>
</div>
<div>
<div>
<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>
<p>Sincerely,</p>
<p>------------------------------<wbr>------------------------------<wbr>---</p>
<p>Minor errors I met (other than
:ViewpointObject) </p>
<p>AttributeError:
'org.web3d.x3d.sai.Shape.<wbr>X3DMaterialNode'
object has no attribute 'setDiffuseColor'</p>
<p>AttributeError:
'org.web3d.x3d.sai.Texturing.<wbr>X3DTextureNode'
object has no attribute 'setUrl'</p>
<p>AttributeError: '<a href="http://org.web3d.x3d.sai.Grouping.Tr" target="_blank">org.web3d.x3d.sai.Grouping.Tr</a><wbr>ansform'
object has no attribute 'addChild'</p>
<div>
<p class="MsoNormal" style="margin-left:45.6pt"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:45.6pt"><span style="color:black">On 2017/08/11
21:50, John Carlson wrote:<u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black">On Aug
11, 2017 8:13 AM, "Masaki
Aono" <<a href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a>>
wrote:<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black">I believe
that pyjnius is not finding
setCenterOfRotation on
ViewpointObject.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:81.6pt"><span style="color:black">John<u></u><u></u></span></p>
</div>
<div>
<div>
<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>
<p> </p>
<p>>>> Viewpoint28
=
ViewpointObject().setDEF("<wbr>ViewUpClose").<wbr>setCenterOfRotation([0,-1,0]).<wbr>setDescription("Hello
world!").setPosition([0,-1,7])<br>
Traceback (most recent
call last):<br>
File "<stdin>",
line 1, in <module><br>
AttributeError:
'org.web3d.x3d.sai.Navigation.<wbr>X3DViewpointNode'
object has no attribute
'setCenterOfRotation'</p>
<p> </p>
<p>At this point, I
encountered the above
error.</p>
<p>It looks like
"setCenterOfRotation" may
not be in X3DViewpointNode
(I may be wrong).</p>
<p>Please note that Python
3.6 (which is not Python
2.7) is not a problem
here, I think.</p>
<p style="margin-bottom:12.0pt">Sincerely,
<br>
<br>
</p>
<p class="MsoNormal" style="margin-left:1.2in"><span style="color:black"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:1.2in"><span style="color:black">On
2017/08/11 8:11, John
Carlson wrote:<u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Here
is HelloWorld.py as
generated from my
PythonSerializer.js.
Note that I do not
use chained calls.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">This
is because I was
trying to get
pyjnius to work. If
we had some way of
getting code like
this running, it
would be great. I
could modify my
PythonSerializer.js
and perhaps include
the serializer in
X3DJSAIL.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">My
JavaScript
serializer does not
work in X3DJSAIL
yet, and I have not
been working on it
since my initial
attempt. I have
compatible,
containable changes
to the X3DJSAIL
stylesheet so that
X3DJSAIL should be
able to generate
JavaScript
“SAI”/Nashorn
application code.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">The
problem appears to
be getting the
JavaScript XML
parsers integrated
with X3DJSAIL. We
may be able to use
JSON instead: XML
-> JSON -> DOM
-> python. The
long way around,
instead of XML ->
DOM -> python.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Or
we can just use my
serializer in
JavaScript, and
translate JSON ->
DOM -> python.
The XML to JSON
would be handled by
X3dToJson.xslt
(X3DJSAIL).<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">I
do have examples of
Java ->
TypeScript and
JavaScript, but they
don’t work.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">I
do not have a Java
-> Python
translator. Good
luck finding one.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">John<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Sent
from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank">Mail</a>
for Windows 10<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.7in"><b><span style="color:black">From: </span></b><span style="color:black"><a href="mailto:brutzman@nps.edu" target="_blank">Don Brutzman</a><br>
<b>Sent: </b>Thursday,
August 10, 2017
5:31 PM<br>
<b>To: </b><a href="mailto:mwlee@suwon.ac.kr" target="_blank">Myeong Won Lee</a>; <a href="mailto:aono@tut.jp" target="_blank">Masaki
Aono</a>; <a href="mailto:roy.walmsley@ntlworld.com" target="_blank">Roy Walmsley</a>;
<a href="mailto:yottzumm@gmail.com" target="_blank">John Carlson</a><br>
<b>Cc: </b><a href="mailto:x3d-public@web3d.org" target="_blank">X3D Graphics public
mailing list</a><br>
<b>Subject: </b>Scene
Access Interface:
autogenerating
Python<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Myeong
Won Lee and Masaki
Aono:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Thank
you for meeting
today to discuss X3D
Object Model
transformation by
applying an XSLT
stylesheet to
autogenerate of SAI
codebases.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Myeong
Won Lee, I also
thought that your
Unity HAnim player
is wonderful. I
recommend that you
include some
examples in the
public release, they
will generate strong
interest. Having
some public examples
while also allowing
private examples
provides appealing
choices and the best
possible support for
your students.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Here
is summary excerpted
from this week's
Web3D meeting
report.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">==============================<wbr>==============================<wbr>====<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">3.
Object Model for X3D
(OM4X3D)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">a.
The Object Model for
X3D (OM4X3D) is a
full set of
object-oriented
interfaces for all
nodes, fields and
statements in the
X3D Abstract
Specification.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">b.
OM4X3D is produced
by decorating the
X3D XML Schema with
carefully structured
annotations that
describe the entire
object-oriented
nature of the X3D
scene graph. <a href="http://www.web3d.org/specifications/OM4X3D/ObjectModelForX3dCreation.png" target="_blank">http://www.web3d.org/<wbr>specifications/OM4X3D/<wbr>ObjectModelForX3dCreation.png</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">c.
Instantiation:
Object Model for X3D
definitions are
explicitly listed in
X3DObjectModel
3.3.xml with
corresponding XML
schema
x3dObjectModel.xsd<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">d.
Ongoing
public/private
dialog using the <a href="mailto:x3d-public@web3D.org" target="_blank">x3d-public@web3D.org</a>
mailing list and
presentation at
Web3D 2017
Conference has been
productive. <a href="http://www.web3d.org/specifications/OM4X3D/ObjectModelForX3dMasterClassWeb3dConference2017June7.pdf" target="_blank">http://www.web3d.org/<wbr>specifications/OM4X3D/<wbr>ObjectModelForX3dMasterClassWe<wbr>b3dConference2017June7.pdf</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">e.
Demonstration of
strict object model
in X3D JSON
Encoding, which is
98% complete and
undergoing extensive
review and testing,
initial-draft
specification has
been prepared.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">f.
Initial
implementations are
available in
JavaScript, Java,
and C++. Also
planning to prepare
programming-language
implementations for
C, C#.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">g.
Two new versions for
Python are started,
with dialog
occurring to discern
best practices.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">h.
SAI no longer just
Script node in
Browser object,
includes full
application-oriented
API. This will lead
to some changes and
generalizations in
19775-2 Abstract SAI
specification.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">i.
Multiple emerging
SAI specifications
and implementations
are shown on
updated draft X3D
Specifications
Relationships
diagram (attached)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">j.
Implementation: X3D
JSON Loader
(X3DJSONLD) <a href="https://github.com/coderextreme/X3DJSONLD" target="_blank">https://github.com/<wbr>coderextreme/X3DJSONLD</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">k.
Implementation: X3D
Java Scene Access
Interface Library
(X3DJSAIL) <a href="http://www.web3d.org/specifications/java/X3dJavaSceneAuthoringInterface.html" target="_blank">http://www.web3d.org/<wbr>specifications/java/<wbr>X3dJavaSceneAuthoringInterface<wbr>.html</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">l.
Under consideration:
integration into X3D
Abstract
Specification
19775-1 to more
thoroughly expand on
current abstract
interface hierarchy.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">m.
Emerging capability:
coherent X3D center,
multiple different
programming
languages that offer
common design
patterns to
programmers to
create identical
scene graphs.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">==============================<wbr>==============================<wbr>====<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">The
essence of
autogeneration is
that proper code
patterns must first
exist. Once we get
a few classes with
the design patterns
of interest, and
generation of a few
classes, then
creation of all
classes follows in a
straightforward
manner.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">I
recommend that the
first example we
work with is
HelloWorld.x3d into
.c .cpp .cs and .py
source.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">
<a href="http://www.web3d.org/x3d/content/examples/HelloWorld.x3d" target="_blank">http://www.web3d.org/x3d/<wbr>content/examples/HelloWorld.<wbr>x3d</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">
<a href="http://www.web3d.org/x3d/content/examples/HelloWorld.html" target="_blank">http://www.web3d.org/x3d/<wbr>content/examples/HelloWorld.<wbr>html</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Regarding
Python: John Carlson
has done intriguing
work that
auto-translates Java
source in X3DJSAIL
to Python. This is
interesting because
it would keep the
codebases closely
aligned, making it
easier to learn and
debug. Consistency
is easily maintained
across X3D versions
and X3D bugfixes by
re-running each
distribution.
Flexibility is also
possible since each
codebase will
include custom
utility classes,
methods and
examples.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Next
steps for Python:
recommend that we<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
Examine Masaki's
work and compare it
with the pyjnius
conversions.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
Autogenerate Python
library (X3DPSAIL
perhaps?) to provide
Python codebase
support.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
Iterate until we
have a good design
pattern for
HelloWorld and other
exemplars.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
Create an
X3dToPython.xslt
stylesheet that can
convert
someModel.x3d to
someModel.py source.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
run that across all
scenes X3D Example
Archives, detect and
resolve errors,
publish builds.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">-
make T-shirts 8)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">As
with JavaScript and
Java, it is good to
use the x3d-public
list for this work.
Also suitable for a
weekly update
reports and monthly
telcon item for X3D
Working Group.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">all
the best, Don<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">--
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Don
Brutzman Naval
Postgraduate School,
Code USW/Br <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">Watkins
270, MOVES
Institute, Monterey
CA 93943-5000 USA
<a href="tel:%28831%29%20656-2149" target="_blank">+1.831.656.2149</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black">X3D
graphics, virtual
worlds, navy
robotics <a href="http://faculty.nps.edu/brutzman" target="_blank">http://faculty.nps.edu/<wbr>brutzman</a><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.7in"><span style="color:black"> <u></u><u></u></span></p>
</div>
</blockquote>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:1.2in"><span style="color:black"><u></u> <u></u></span></p>
<pre>-- </pre>
<pre>******************************<wbr>************************</pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">青野雅樹</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">豊橋技術科学大学</span> <span style="font-family:"Yu Gothic",sans-serif">情報・知能工学系</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">知識データ工学・情報検索研究室</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">〒</span>441-8580 <span style="font-family:"Yu Gothic",sans-serif">豊橋市天伯町雲雀ヶ丘</span>1-1</pre>
<pre><a href="TEL:%280532%29" target="_blank">TEL:(0532)</a> 44-6764</pre>
<pre>FAX:(0532) 44-6757</pre>
<pre> </pre>
<pre>Masaki Aono</pre>
<pre>Professor</pre>
<pre>Knowledge Data Engineering Laboratory</pre>
<pre>Dept. of Computer Science and Engineering</pre>
<pre>Toyohashi University of Technology</pre>
<pre>1-1 Hibarigaoka, Tempaku-cho,</pre>
<pre>Toyohashi-shi, Aichi 441-8580 JAPAN</pre>
<pre>TEL: 81+532-44-6764</pre>
<pre>FAX:81+532-44-6757</pre>
<pre>email: <a href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a></pre>
<pre>******************************<wbr>************************ </pre>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<pre>-- </pre>
<pre>******************************<wbr>************************</pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">青野雅樹</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">豊橋技術科学大学</span> <span style="font-family:"Yu Gothic",sans-serif">情報・知能工学系</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">知識データ工学・情報検索研究室</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">〒</span>441-8580 <span style="font-family:"Yu Gothic",sans-serif">豊橋市天伯町雲雀ヶ丘</span>1-1</pre>
<pre><a href="TEL:%280532%29" target="_blank">TEL:(0532)</a> 44-6764</pre>
<pre>FAX:(0532) 44-6757</pre>
<pre> </pre>
<pre>Masaki Aono</pre>
<pre>Professor</pre>
<pre>Knowledge Data Engineering Laboratory</pre>
<pre>Dept. of Computer Science and Engineering</pre>
<pre>Toyohashi University of Technology</pre>
<pre>1-1 Hibarigaoka, Tempaku-cho,</pre>
<pre>Toyohashi-shi, Aichi 441-8580 JAPAN</pre>
<pre>TEL: 81+532-44-6764</pre>
<pre>FAX:81+532-44-6757</pre>
<pre>email: <a href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a></pre>
<pre>******************************<wbr>************************ </pre>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:40.8pt"><span style="color:black"> <u></u><u></u></span></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p>
</blockquote>
<p class="MsoNormal"><span style="color:black"><br>
<br>
<u></u><u></u></span></p>
<pre>-- </pre>
<pre>******************************<wbr>************************</pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">青野雅樹</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">豊橋技術科学大学</span> <span style="font-family:"Yu Gothic",sans-serif">情報・知能工学系</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">知識データ工学・情報検索研究室</span></pre>
<pre><span style="font-family:"Yu Gothic",sans-serif">〒</span>441-8580 <span style="font-family:"Yu Gothic",sans-serif">豊橋市天伯町雲雀ヶ丘</span>1-1</pre>
<pre><a href="TEL:%280532%29" target="_blank">TEL:(0532)</a> 44-6764</pre>
<pre>FAX:(0532) 44-6757</pre>
<pre><u></u> <u></u></pre>
<pre>Masaki Aono</pre>
<pre>Professor</pre>
<pre>Knowledge Data Engineering Laboratory</pre>
<pre>Dept. of Computer Science and Engineering</pre>
<pre>Toyohashi University of Technology</pre>
<pre>1-1 Hibarigaoka, Tempaku-cho,</pre>
<pre>Toyohashi-shi, Aichi 441-8580 JAPAN</pre>
<pre>TEL: 81+532-44-6764</pre>
<pre>FAX:81+532-44-6757</pre>
<pre>email: <a href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a></pre>
<pre>******************************<wbr>************************ </pre>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
</blockquote>
<br>
<pre class="m_928382103542742418moz-signature" cols="72">--
******************************<wbr>************************
青野雅樹
豊橋技術科学大学 情報・知能工学系
知識データ工学・情報検索研究室
〒441-8580 豊橋市天伯町雲雀ヶ丘1-1
<a class="m_928382103542742418moz-txt-link-freetext" href="TEL:(0532)" target="_blank">TEL:(0532)</a> 44-6764
FAX:(0532) 44-6757
Masaki Aono
Professor
Knowledge Data Engineering Laboratory
Dept. of Computer Science and Engineering
Toyohashi University of Technology
1-1 Hibarigaoka, Tempaku-cho,
Toyohashi-shi, Aichi 441-8580 JAPAN
TEL: 81+532-44-6764
FAX:81+532-44-6757
email: <a class="m_928382103542742418moz-txt-link-abbreviated" href="mailto:aono@tut.jp" target="_blank">aono@tut.jp</a>
******************************<wbr>************************ </pre>
</div>
</blockquote></div></div>