[x3d-public] Validating Layer, LayerSet and LayoutLayer subnodes with X3DJSAIL.

John Carlson yottzumm at gmail.com
Sat Aug 9 07:35:52 PDT 2025


I don't know if I can read the standard or not.   ISO/IEC 19775-1:2023
Edition 4 Index page
<https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/>

In the 4.0 standard, I see:

35.4.1 Layer

Layer : X3DLayerNode {
  MFNode   [in]     addChildren          [X3DChildNode]
  MFNode   [in]     removeChildren       [X3DChildNode] * MFNode
[in,out] children       []    [X3DChildNode]*
  SFNode   [in,out] metadata       NULL  [X3DMetadataObject]
  MFString [in,out] objectType     "ALL" ["ALL","NONE","TERRAIN",...]
  SFBool   [in,out] pickable       TRUE
  SFNode   [in,out] viewport       NULL  [X3DViewportNode]
  SFBool   [in,out] visible        TRUE
}



35.4.2 LayerSet

LayerSet : X3DNode {
  SFInt32 [in,out]  activeLayer 0    [0,∞)
  MFNode  [in,out]  layers      []   [X3DLayerNode]
  SFNode  [in,out]  metadata    NULL [X3DMetadataObject]
  MFInt32 [in,out]  order       [0]  [0,∞)
}

36.4.3 LayoutLayer

LayoutLayer : X3DLayerNode {
  MFNode   [in]     addChildren          [X3DChildNode]
  MFNode   [in]     removeChildren       [X3DChildNode]  MFNode
[in,out] children       []    [X3DChildNode]
  SFNode   [in,out] layout         NULL  [X3DLayoutNode]
  SFNode   [in,out] metadata       NULL  [X3DMetadataObject]
  MFString [in,out] objectType     "ALL" ["ALL","NONE","TERRAIN",...]
  SFBool   [in,out] pickable    TRUE
  SFNode   [in,out] viewport       NULL  [X3DViewportNode]
  SFBool   [in,out] visible        TRUE
}

Yet when I run the X3DJSAIL validitor, X3DLoaderDOM (CommandLine
-validate), via my CommandLines.java program, I get:

$ ls ../data/bumpyfreewrlsliders.x3d| grep -v new | xargs java -cp
"../java;../../../X3DJSAIL.4.0.full.jar" net.coderextreme.CommandLines
2>&1 |grep brutzman|sort -u
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child Collision, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child DISEntityManager, containerField='children')
Please report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child DirectionalLight, containerField='children')
Please report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child Group, containerField='children') Please report
this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child NavigationInfo, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child ROUTE, containerField='') Please report this
problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child Transform, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent Layer, child Viewpoint, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayerSet, child Layer, containerField='layers') Please report
this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayerSet, child LayoutLayer, containerField='layers') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayoutLayer, child Group, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayoutLayer, child Layout, containerField='layout') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayoutLayer, child Script, containerField='children') Please
report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayoutLayer, child Transform, containerField='children')
Please report this problem to don.brutzman at gmail.com
[error] X3DLoaderDOM: Parent-child node relationship not found!
(parent LayoutLayer, child Viewport, containerField='viewport') Please
report this problem to don.brutzman at gmail.com

What gives?  Should I be using LayoutGroup? Model is attached, and has
been cleaned up as much as possible with X3D-Edit,

but please double check me as I have one question for another email).


I know it may take a while to understand the model, so I will be patient.

If someone wants to view the model (as is), I can provide additional files.

I try somewhat hard to not share images by Paul Debevec, the images
can be downloaded here:  Light Probe Image Gallery
<https://pauldebevec.com/Probes/>.  They need to be processed into 6
images, as usual.


The avatars are available in the WinterAndSpring project:
HumanoidAnimation X3D Examples Archive - Table of Contents
<https://www.web3d.org/x3d/content/examples/HumanoidAnimation/#WinterAndSpring>

I'm mostly keen to get the file validated at this point, as I have
other, similar files.


I don't expect this to go into the archive until these issues are
fixed, and appropriate URLs for shader files are used, and I get the
shaders working.

If someone wants to collaborate such that we find other background
images and shaders, cool!  A port to X3DOM or CGE would be awesome!


Thanks,


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250809/b9a58ed7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bumpyfreewrlsliders.x3d
Type: model/x3d+xml
Size: 21921 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250809/b9a58ed7/attachment-0001.x3d>


More information about the x3d-public mailing list