[x3d-public] Python SAI, successful run of HelloWorld.kwargs.pysubmissions welcome!

John Carlson yottzumm at gmail.com
Thu Mar 7 21:31:43 PST 2019


Ran into a few problems:

http://www.web3d.org/x3d/content/X3dTooltips.html#Material.ambientIntensity says it’s ranged from [0,1] (I think)

Yet, this appears:

$ find . -type f -name '*.x3d'| xargs grep ambientInt|grep 0098
./JoeX3D/X3DSkeletonRunning/leftfoot.x3d: <Material ambientIntensity='0098' emissiveColor='0 0.5 0' shininess='0.050' diffuseColor='1 .9765 .8667' specularColor='.349 .349 .349'/>
./JoeX3D/X3DSkeletonRunning/lefthand.x3d: <Material ambientIntensity='0098' shininess='0.050' diffuseColor='1 .9765 .8667' specularColor='.349 .349 .349'/>

0098 is not a legal value for ambientIntensity as far as I can tell.

John



Sent from Mail for Windows 10

From: Joseph D Williams
Sent: Wednesday, March 6, 2019 3:28 PM
To: John Carlson; X3D Graphics public mailing list; Don Brutzman
Subject: RE: [x3d-public] Python SAI,successful run of HelloWorld.kwargs.pysubmissions welcome!

➢ Submit x3d examples to convert to python.


Hi John, great work on the road to pyification of x3d. 
Try some .x3d examples at this link. 

http://hypermultimedia.com/x3d/URLTests/

Also, some examples ar:

http://www.hypermultimedia.com/x3d/JoeX3D/JoeX3D.htm

zip for these examples at: 

http://www.hypermultimedia.com/x3d/JoeX3D/JoeX3D.zip

Thanks and Best, 
Joe

From: John Carlson
Sent: Wednesday, March 6, 2019 4:07 AM
To: X3D Graphics public mailing list; Don Brutzman
Subject: [x3d-public] Python SAI,successful run of HelloWorld.kwargs.py submissions welcome!

Updated SAI: (starting to work)

https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/X3Dpackage.py

Updated HelloWorld.kwargs.py: (runs)

https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/data/HelloWorld.kwargs.py

More example x3d files that I can convert to python are welcome.   Submit x3d examples to convert to python.

John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190307/37588839/attachment.html>


More information about the x3d-public mailing list