Xj3D issueshttps://gitlab.nps.edu/Savage/xj3d/-/issues2021-04-20T04:43:58-07:00https://gitlab.nps.edu/Savage/xj3d/-/issues/8Browser fails to open X3D file with UNIT statement2021-04-20T04:43:58-07:00Marchetti, VinceBrowser fails to open X3D file with UNIT statementThe presence of a UNIT statement in the head causes the browser to fail to open file, with console error message:
Loading: file:/Users/vmarchetti/Desktop/Xj3D_April_2021/example_x3d_files/le7abrep.x3d
Error: Error parsing XML
No Scene ...The presence of a UNIT statement in the head causes the browser to fail to open file, with console error message:
Loading: file:/Users/vmarchetti/Desktop/Xj3D_April_2021/example_x3d_files/le7abrep.x3d
Error: Error parsing XML
No Scene element was defined before starting the file body.
... stack trace
Error: Unknown error in content loading process
Failed to parse file
examples are attached, the file with (misspelled) name le7abrep_no_unir_statement.x3d is displayed,
the file le7abrep.x3d fails to open.
[le7abrep.x3d](/uploads/ef00fd95305981ed3b0d0ed0d6a24fb9/le7abrep.x3d)[le7abrep_no_unir_statement.x3d](/uploads/af24021387cfe30b6a25a244099f6cbd/le7abrep_no_unir_statement.x3d)https://gitlab.nps.edu/Savage/xj3d/-/issues/7aviatrix jar needs javadoc2020-03-28T19:16:28-07:00Brutzman, Donaviatrix jar needs javadocaviatrix jar needs javadoc included in order to facilitate debugging with Xj3D.
/related #6 #7 aviatrix jar needs javadoc included in order to facilitate debugging with Xj3D.
/related #6 #7 Terry D. Norbratentdnorbra@nps.eduTerry D. Norbratentdnorbra@nps.eduhttps://gitlab.nps.edu/Savage/xj3d/-/issues/6LODGroup or OGLLOD index/range error2020-03-28T19:18:10-07:00Brutzman, DonLODGroup or OGLLOD index/range error/related #6 #7
Regression test failure:
- - - - - - - - - - - - - - - - - - - -
Xj3D Replica model loading and generation of Viewpoint images:
C:\x3d-code\www.web3d.org\x3d\content\examples\ConformanceNist/SpecialGroups/LOD/bound_500..../related #6 #7
Regression test failure:
- - - - - - - - - - - - - - - - - - - -
Xj3D Replica model loading and generation of Viewpoint images:
C:\x3d-code\www.web3d.org\x3d\content\examples\ConformanceNist/SpecialGroups/LOD/bound_500.x3d
C:\x3d-code\www.web3d.org\x3d\content\examples\ConformanceNist/SpecialGroups/LOD/_viewpoints/ holds viewpoint images
org.xj3d.core.loading.threads set to: 4
Mar 27, 2020 1:25:59 AM org.odejava.Odejava <clinit>
INFO: OdeJava natives version 0.3.4 loaded.
org.web3d.vrml.renderer.common.nodes.shape.useMipMaps set to: true
org.web3d.vrml.renderer.common.nodes.shape.anisotropicDegree set to: 16
Exception in thread "Xj3D BlockingWorld Loader" java.lang.IllegalArgumentException: Index provided > last valid index
at org.j3d.renderer.aviatrix3d.nodes.LODGroup.setRange(LODGroup.java:640)
at org.web3d.vrml.renderer.ogl.nodes.navigation.OGLLOD.updateNodeDataChanges(OGLLOD.java:274)
at org.web3d.vrml.renderer.ogl.nodes.navigation.OGLLOD.setupFinished(OGLLOD.java:200)
at org.web3d.vrml.renderer.common.nodes.BaseGroupingNode.setupFinished(BaseGroupingNode.java:365)
at org.web3d.vrml.renderer.ogl.nodes.group.OGLTransform.setupFinished(OGLTransform.java:223)
at org.web3d.vrml.renderer.common.nodes.core.BaseWorldRoot.setupFinished(BaseWorldRoot.java:470)
at org.web3d.vrml.renderer.ogl.nodes.core.OGLWorldRoot.setupFinished(OGLWorldRoot.java:172)
at org.web3d.vrml.renderer.CRMainSceneBuilder.endDocument(CRMainSceneBuilder.java:614)
at org.web3d.vrml.renderer.ogl.OGLVRMLSceneBuilder.endDocument(OGLVRMLSceneBuilder.java:490)
at org.web3d.x3d.jaxp.X3DSAVAdapter.endDocument(X3DSAVAdapter.java:711)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:754)
at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endDocument(XMLDTDValidator.java:914)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:546)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
at org.web3d.parser.GeneralisedReader.parse(GeneralisedReader.java:248)
at org.xj3d.impl.core.loading.DefaultWorldLoader.loadNow(DefaultWorldLoader.java:156)
at org.xj3d.impl.core.loading.DefaultWorldLoader.loadNow(DefaultWorldLoader.java:106)
at org.xj3d.ui.construct.BlockingWorldLoader.run(BlockingWorldLoader.java:112)
at java.base/java.lang.Thread.run(Thread.java:832)
Time exceeded, killing system
Java Result: -1
C:\x3d-code\www.web3d.org\x3d\content\examples\ConformanceNist/SpecialGroups/LOD/bound_500.x3d processing with X3dToXhtml stylesheet pretty-print .html
- - - - - - - - - - - - - - - - - - - -
Code block in OGLLOD.java:
@Override
public void updateNodeDataChanges(Object src) {
// update the range
if(src != implLod)
return;
int num_kids = (rangeLen < childCount) ? rangeLen : childCount;
if (num_kids > vfRange.length) // safety check to avoid exception, TODO figure out what went wrong
{
System.err.println ("org.web3d.vrml.renderer.ogl.nodes.navigation.OGLLOD.updateNodeDataChanges() internal error, exceeded vfRange.length=" + vfRange.length);
num_kids = vfRange.length;
}
for(int i = 0; i < num_kids; i++)
{
// TODO NPE C:/x3d-code/www.web3d.org/x3d/content/Savage/Tools/Animation/WaypointInterpolatorPrototype.x3d
// TODO java.lang.IndexOutOfBoundsException: Index provided > last valid index
// at org.j3d.renderer.aviatrix3d.nodes.LODGroup.setRange(LODGroup.java:632)
implLod.setRange(i, vfRange[i]);
}
implLod.setCenter(vfCenter);
}
Debugging shows that this fails on the second pass through the 'for' loop when invoking org.j3d.renderer.aviatrix3d.nodes.LODGroup instance implLod.
So there is some mismatch on the method
implLod.setRange(i, vfRange[i]);
i.e. either it is not growing the array each time or else is not being invoked correctly via Xj3D.
Related: no javadoc provided for aviatrix. Unable to debug further.Terry D. Norbratentdnorbra@nps.eduTerry D. Norbratentdnorbra@nps.eduhttps://gitlab.nps.edu/Savage/xj3d/-/issues/5Remove izPack deployment dependency on Ant2020-04-09T12:12:12-07:00Brutzman, DonRemove izPack deployment dependency on AntWhen stable, modify browser.bat and browser.sh shell scripts to run Java natively instead of via Ant.
When complete, also update docs/InstallerInfoWhen stable, modify browser.bat and browser.sh shell scripts to run Java natively instead of via Ant.
When complete, also update docs/InstallerInfohttps://gitlab.nps.edu/Savage/xj3d/-/issues/4IzPack Installer upgrade to v52020-03-28T11:58:46-07:00Brutzman, DonIzPack Installer upgrade to v5Latest izPack 5.1.3 installer (27 MAR 2020) initially failed under Windows.
* http://izPack.org
* https://izpack.atlassian.net/wiki/spaces/IZPACK/pages/491558/Creating+an+IzPack+Installation
Further effort got izPack 5 to run by instal...Latest izPack 5.1.3 installer (27 MAR 2020) initially failed under Windows.
* http://izPack.org
* https://izpack.atlassian.net/wiki/spaces/IZPACK/pages/491558/Creating+an+IzPack+Installation
Further effort got izPack 5 to run by installing locally and making multiple changes to configuration files.
More work needed
* invoke schema validation from build file
* created jar files are empty
* separate jar for linuxhttps://gitlab.nps.edu/Savage/xj3d/-/issues/3Geometry2D component is incomplete, missing four nodes in Level 22020-04-09T12:12:12-07:00Brutzman, DonGeometry2D component is incomplete, missing four nodes in Level 2Package org.web3d.x3d.sai.geometry2d is missing Level 2 nodes: Arc2D, ArcClose2D, Circle2D, Disk2DPackage org.web3d.x3d.sai.geometry2d is missing Level 2 nodes: Arc2D, ArcClose2D, Circle2D, Disk2Dhttps://gitlab.nps.edu/Savage/xj3d/-/issues/2Add missing retainUserOffsets field to Viewpoint, GeoViewpoint, OrthoVIewpoin...2021-07-30T11:21:34-07:00Brutzman, DonAdd missing retainUserOffsets field to Viewpoint, GeoViewpoint, OrthoVIewpoint, ViewpointGroupAdd missing retainUserOffsets field to Viewpoint, GeoViewpoint, OrthoVIewpoint, ViewpointGroup.
Good pattern is to mimic support for fieldOfView field.Add missing retainUserOffsets field to Viewpoint, GeoViewpoint, OrthoVIewpoint, ViewpointGroup.
Good pattern is to mimic support for fieldOfView field.https://gitlab.nps.edu/Savage/xj3d/-/issues/1Internationalization (I18N)2020-01-24T03:28:12-08:00Brutzman, DonInternationalization (I18N)New build seems to have lost ability to display international characters.
Attached diff of Replica viewpoint capture shows changed rendering of HelloSeoul.x3d found at
https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldSc...New build seems to have lost ability to display international characters.
Attached diff of Replica viewpoint capture shows changed rendering of HelloSeoul.x3d found at
https://x3dgraphics.com/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloSeoulIndex.html
![HelloSeoulDiffMissingCharacters](/uploads/da19f518042f330fb6387ba1c3bb9f9c/HelloSeoulDiffMissingCharacters.png)Terry D. Norbratentdnorbra@nps.eduTerry D. Norbratentdnorbra@nps.edu