[x3d-public] Color constraint wrong length X3DJSAIL? SFColorRGBA can be 4 floats I think. NOT set in code, AFAICT

yottzumm at gmail.com yottzumm at gmail.com
Thu Mar 30 22:13:00 PDT 2017


JS file not included, but others are attached.  None of them have “cool” in them as far as I can tell.

org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
        at org.web3d.x3d.jsail.VolumeRendering.ToneMappedVolumeStyleObject.setCoolColor(ToneMappedVolumeStyleObject.java:321)
        at org.web3d.x3d.jsail.VolumeRendering.ToneMappedVolumeStyleObject.validate(ToneMappedVolumeStyleObject.java:1269)
        at org.web3d.x3d.jsail.VolumeRendering.BlendedVolumeStyleObject.validate(BlendedVolumeStyleObject.java:1989)
        at org.web3d.x3d.jsail.VolumeRendering.VolumeDataObject.validate(VolumeDataObject.java:1489)
        at org.web3d.x3d.jsail.Grouping.TransformObject.validate(TransformObject.java:1799)
        at org.web3d.x3d.jsail.Grouping.GroupObject.validate(GroupObject.java:1283)
        at org.web3d.x3d.jsail.Core.SceneObject.validate(SceneObject.java:560)
        at org.web3d.x3d.jsail.Core.X3DObject.validate(X3DObject.java:1737)
        at org.web3d.x3d.jsail.Core.X3DObject.toFileX3D(X3DObject.java:431)
        at jdk.nashorn.internal.scripts.Script$BlendedBodyInternals_sail.:program(www_web3d_org/x3d/content/examples/Basic/VolumeRendering/BlendedBodyInternals.sail.js:10)
        at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:623)
        at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
        at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
        at jdk.nashorn.tools.Shell.apply(Shell.java:393)
        at jdk.nashorn.tools.Shell.runScripts(Shell.java:322)
        at jdk.nashorn.tools.Shell.run(Shell.java:171)
        at jdk.nashorn.tools.Shell.main(Shell.java:135)
        at jdk.nashorn.tools.Shell.main(Shell.java:111)

Also:

Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=1 1 1 1 has length=4, must be a multiple of 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=0.9 0.9 0.9 0 1 0 0 0 0 1 0 0 0 0 1 0 0.5 0.5 0 0 0 0.5 0.5 0 0.5 0 0.5 0 0.37 0.93 0.87 0 has length=32, must be a multiple of 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=1 1 0 1 1 1 0 0.1 has length=8, must be a multiple of 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=1 1 0 1 1 1 0 0.1 has length=8, must be a multiple of 3
org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: EdgeEnhancementVolumeStyle edgeColor newValue=0.5 0 0 1 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: EdgeEnhancementVolumeStyle edgeColor newValue=0 0 0 1 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: EdgeEnhancementVolumeStyle edgeColor newValue=0 0 0 1 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: CartoonVolumeStyle orthogonalColor newValue=1 1 1 1 has length=4 instead of required length 3
org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ToneMappedVolumeStyle coolColor newValue=0 0 1 0 has length=4 instead of required length 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=0 0 0 0 has length=4, must be a multiple of 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=1 1 0 1 1 1 0 0.1 has length=8, must be a multiple of 3
Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ColorRGBA color newValue=1 0 0 1 0 1 0 1 0 0 1 0.5 0.8 0.8 0.8 0 has length=16, must be a multiple of 3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170331/cd03c9fd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BlendedBodyInternals.java
Type: application/octet-stream
Size: 9211 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170331/cd03c9fd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BlendedBodyInternals.json
Type: application/json
Size: 5604 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170331/cd03c9fd/attachment-0001.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BlendedBodyInternals.x3d.new
Type: application/octet-stream
Size: 3118 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170331/cd03c9fd/attachment-0003.obj>


More information about the x3d-public mailing list