[x3d-public] X3DJSAIL. I thought I already sent this, but can't find it insent folder. New code format! DirectionalLight
yottzumm at gmail.com
yottzumm at gmail.com
Sun Mar 26 17:06:49 PDT 2017
How did you like the new style of code? For debugging especially. I could add a variable before each return, if that would help.
John
Sent from Mail for Windows 10
From: Don Brutzman
Sent: Sunday, March 26, 2017 7:57 PM
To: yottzumm at gmail.com; X3D Graphics public mailing list
Subject: Re: X3DJSAIL. I thought I already sent this, but can't find it insent folder. New code format! DirectionalLight
thanks: bug found and fixed in upcoming build, results attached.
On 3/25/2017 1:06 PM, yottzumm at gmail.com wrote:
> Code is attached. One thing this new code brings up is possible code sharing (PhD thesis?) Thanks, John
>
> $ java www_web3d_org/x3d/content/examples/Basic/X3dSpecifications/DirectionalLight
>
> org.web3d.x3d.sai.InvalidFieldValueException: Appearance USE='App' is not allowed to have contained MFNode shaders
>
> org.web3d.x3d.sai.InvalidFieldValueException: Appearance USE='App' is not allowed to have contained MFNode shaders
>
> at org.web3d.x3d.jsail.Shape.AppearanceObject.validate(AppearanceObject.java:2021)
>
> at org.web3d.x3d.jsail.Shape.ShapeObject.validate(ShapeObject.java:1332)
>
> at org.web3d.x3d.jsail.Grouping.TransformObject.validate(TransformObject.java:1696)
>
> at org.web3d.x3d.jsail.Grouping.GroupObject.validate(GroupObject.java:1257)
>
> at org.web3d.x3d.jsail.Grouping.GroupObject.validate(GroupObject.java:1257)
>
> at org.web3d.x3d.jsail.Core.SceneObject.validate(SceneObject.java:561)
>
> at org.web3d.x3d.jsail.Core.X3DObject.validate(X3DObject.java:1741)
>
> at org.web3d.x3d.jsail.Core.X3DObject.toFileJSON(X3DObject.java:758)
>
> at www_web3d_org.x3d.content.examples.Basic.X3dSpecifications.DirectionalLight.main(DirectionalLight.java:85)
>
> Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: Appearance USE='App' is not allowed to have contained MFNode shaders
>
> at org.web3d.x3d.jsail.Shape.AppearanceObject.validate(AppearanceObject.java:2021)
>
> at org.web3d.x3d.jsail.Shape.ShapeObject.validate(ShapeObject.java:1332)
>
> at org.web3d.x3d.jsail.Grouping.TransformObject.validate(TransformObject.java:1696)
>
> at org.web3d.x3d.jsail.Grouping.GroupObject.validate(GroupObject.java:1257)
>
> at org.web3d.x3d.jsail.Grouping.GroupObject.validate(GroupObject.java:1257)
>
> at org.web3d.x3d.jsail.Core.SceneObject.validate(SceneObject.java:561)
>
> at org.web3d.x3d.jsail.Core.X3DObject.validate(X3DObject.java:1741)
>
> at org.web3d.x3d.jsail.Core.X3DObject.toFileJSON(X3DObject.java:758)
>
> at www_web3d_org.x3d.content.examples.Basic.X3dSpecifications.DirectionalLight.main(DirectionalLight.java:85)
>
>
>
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170326/aa8c6911/attachment.html>
More information about the x3d-public
mailing list