[x3d-public] Possible issue with Spatial Audio example. ccw in Text node?

John Carlson yottzumm at gmail.com
Mon Sep 13 17:26:39 PDT 2021


Recommendation: remove ccw attribute from two Text fields in this example:

http://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/SpatialAudioCameraAnimationIndex.html

Please be sure to validate your files with X3D validator before checking 
in.  I suggest you validate the X3D XML file with 
https://savage.nps.edu/X3dValidator/ for possible issues

With your permission, Don and Efi, I will correct the example. But there 
are likely more issues that the authors should deal with.

Otherwise, suggest an alternate path.  Thanks!

John

Evidence:

Java:

javac -cp ~/pythonSAI/X3DJSAIL.4.0.full.jar:. `ls 
net/coderextreme/data/Spatial*java`
net/coderextreme/data/SpatialAudioCameraAnimation.java:87: error: cannot 
find symbol
                 .setGeometry(new Text().setCcw("true").setString(new 
MFString10().getArray())
                                        ^
   symbol:   method setCcw(String)
   location: class Text
net/coderextreme/data/SpatialAudioCameraAnimation.java:99: error: cannot 
find symbol
                 .setGeometry(new Text().setCcw("true").setString(new 
MFString11().getArray())
                                        ^
   symbol:   method setCcw(String)
   location: class Text
2 errors

Ccw not present in X3DJSAIL:

org/web3d/x3d/jsail/Text$ grep Ccw Text.java

Can't find ccw field in X3DUOM 4.0 or 3.3 under text or two parent 
abstracts up.

Can't find ccw under Text on tooltips. 
https://www.web3d.org/x3d/content/X3dTooltips.html#Text

Haven't checked schema yet.




More information about the x3d-public mailing list