[x3d-public] Issues with X3DLoaderDOM in X3DJSAIL, issue with X3DJSONLD.java
John Carlson
yottzumm at gmail.com
Sun May 9 09:56:19 PDT 2021
I missed these errors:
java -cp ../jars/X3DJSAIL.4.0.full.jar:. net.coderextreme.JsonConversion
[X3DLoaderDOM] <meta name='info' content='continued development and
testing in progress'/>
***[X3DLoaderDOM warning] ProtoInstance NewWorldInfo found and node type
is WorldInfo but containerField is missing, assuming default value
'children'
***[X3DLoaderDOM warning] ProtoInstance NewWorldInfo found and node type
is WorldInfo but containerField is missing, assuming default value
'children'
*** [X3DLoaderDOM error] Parent-child node relationship not found!
(parent DISEntityManager, child DISEntityTypeMapping, containerField='')
Please report this problem to brutzman at nps.edu
*** [X3DLoaderDOM error] Incorrectly handled X3DJSAIL object
construction, current elementObject=DISEntityManager (DISEntityManager),
child="DISEntityTypeMapping", containerField="",
java.lang.ClassCastException: class
org.web3d.x3d.jsail.DIS.DISEntityManager cannot be cast to class
org.web3d.x3d.sai.Grouping.X3DGroupingNode
(org.web3d.x3d.jsail.DIS.DISEntityManager and
org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of
loader 'app')
This error can be caused by incorrect parent-child node
relationships or incorrect containerField values.
X3D node typing is strict, check or validate your scene graph!
This error can also be caused by X3DLoaderDOM DOM omissions in
X3DJSAIL. Please report mysterious problems, thank you.
John
On 5/9/21 11:53 AM, John Carlson wrote:
> Notes:
>
> DISEntityTypeMapping appears in intermediate XML, but not in final, so
> X3DJSONLD.java is correct there. I suggest that X3DJSAIL code for
> Loading DOM may be incorrect.
>
> Proto1 and Proto3 appear in intermediate XML, but not in final, so
> X3DJSONLD.java is correct there. I suggest that X3DJSAIL code for
> loading DOM may be incorrect.
>
> MetadataSet only appears in original JSON and XML, so X3DJSONLD.java
> drops it. Will load original JSON into X3DJSONLD website.
>
> My guess is the rest of the differences are due to X3DJSAIL, but we
> can look into it further.
>
> See this stacktrace which I believe is the culprit for the rest of the
> differences:
>
> java.lang.ClassCastException: class
> org.web3d.x3d.jsail.Networking.LoadSensor cannot be cast to class
> org.web3d.x3d.sai.Grouping.X3DGroupingNode
> (org.web3d.x3d.jsail.Networking.LoadSensor and
> org.web3d.x3d.sai.Grouping.X3DGroupingNode are in unnamed module of
> loader 'app')
> at
> org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:1352)
> at
> org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)
> at
> org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:619)
> at
> org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:490)
> at
> org.web3d.x3d.jsail.X3DLoaderDOM.toX3dModelInstance(X3DLoaderDOM.java:453)
> at net.coderextreme.JsonConversion.main(JsonConversion.java:27)
>
> Java code is attached.
>
> ==========================================================================================================================================
>
>
> Transformed files, mainly by replacing ' with " globally:
>
> $ tr "'" '"' < examples/Json.x3d > examples/JsonTranslated.x3d
> $ tr "'" '"' < ../examples/HelloWorldProgramOutput.x3d >
> examples/HelloWorldProgramOutputOlder.x3d
>
>
> Diff after loading with X3DLoaderDOM:
>
> $ diff -w examples/Json.x3d ../examples/HelloWorldProgramOutput.x3d
> 40,42d39
> < <meta content='04 February 2021' name='translated'/>
> < <meta content='X3dToJson.xslt,
> https://www.web3d.org/x3d/stylesheets/X3dToJson.html' name='generator'/>
> < <meta content='X3D JSON encoding:
> https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding'
> name='reference'/>
> 44a42
> > <MetadataSet name='topLevelSceneMetadata'/>
> 312a311,313
> > <ProtoInstance DEF='Proto1' name='NewWorldInfo'>
> > <fieldValue name='description' value='testing 1 2 3'/>
> > </ProtoInstance>
> 315a317
> > <ProtoInstance DEF='Proto3' name='NewWorldInfo'/>
> 351c353,355
> < <DISEntityManager/>
> ---
> > <DISEntityManager>
> > <DISEntityTypeMapping/>
> > </DISEntityManager>
> 359c363,365
> < <DISEntityManager/>
> ---
> > <DISEntityManager>
> > <DISEntityTypeMapping/>
> > </DISEntityManager>
> 362a369,381
> > <Anchor USE='siteAnchor'/>
> > <Inline USE='inlineScene'/>
> > <DISEntityTypeMapping/>
> > <GeoMetadata/>
> > <AudioClip containerField='children'/>
> > <ImageCubeMapTexture containerField='children'/>
> > <ImageTexture3D containerField='children'/>
> > <ImageTexture containerField='children'/>
> > <MovieTexture containerField='children'/>
> > <Script/>
> > <PackagedShader containerField='children'/>
> > <ShaderPart containerField='children'/>
> > <ShaderProgram containerField='children'/>
>
>
>
> In between diff, not using X3DLoaderDOM, and replacing quotes
>
>
> $ diff -w examples/JsonLoadedTr.x3d
> examples/HelloWorldProgramOutputOlder.x3d
> 2,5c2,3
> < <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN"
> "http://www.web3d.org/specifications/x3d-4.0.dtd">
> <
> < <X3D profile="Full" version="4.0"
> < xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
> xsd:noNamespaceSchemaLocation="https://www.web3d.org/specifications/x3d-4.0.xsd">
> ---
> > <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN"
> "https://www.web3d.org/specifications/x3d-4.0.dtd">
> > <X3D profile="Full" version="4.0"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
> xsd:noNamespaceSchemaLocation="https://www.web3d.org/specifications/x3d-4.0.xsd">
> 12,21c10,19
> < <component level="3" name="Navigation"/>
> < <component level="1" name="Shaders"/>
> < <component level="2" name="CADGeometry"/>
> < <component level="2" name="DIS"/>
> < <component level="1" name="H-Anim"/>
> < <component level="1" name="Grouping"/>
> < <component level="1" name="Layering"/>
> < <unit category="angle" conversionFactor="1.0"
> name="AngleUnitConversion"/>
> < <unit category="length" conversionFactor="1.0"
> name="LengthUnitConversion"/>
> < <unit category="force" conversionFactor="4.4482"
> name="ForceFromPoundsToNewtons"/>
> ---
> > <component name="Navigation" level="3"/>
> > <component name="Shaders" level="1"/>
> > <component name="CADGeometry" level="2"/>
> > <component name="DIS" level="2"/>
> > <component name="H-Anim" level="1"/>
> > <component name="Grouping" level="1"/>
> > <component name="Layering" level="1"/>
> > <unit name="AngleUnitConversion" category="angle"
> conversionFactor="1.0"/>
> > <unit name="LengthUnitConversion" category="length"
> conversionFactor="1.0"/>
> > <unit name="ForceFromPoundsToNewtons" category="force"
> conversionFactor="4.4482"/>
> 24,27c22,23
> < <meta
> < content="Example HelloWorldProgram creates an X3D model
> using the X3D Java Scene Access Interface Library (X3DJSAIL)"
> name="description"/>
> < <meta
> < content="https://www.web3d.org/specifications/java/X3DJSAIL.html"
> name="reference"/>
> ---
> > <meta content="Example HelloWorldProgram creates an X3D model
> using the X3D Java Scene Access Interface Library (X3DJSAIL)"
> name="description"/>
> > <meta
> content="https://www.web3d.org/specifications/java/X3DJSAIL.html"
> name="reference"/>
> 31,34c27,28
> < <meta
> < content="X3D Java Scene Access Interface Library
> (X3DJSAIL)" name="generator"/>
> < <meta
> <
> content="https://www.web3d.org/specifications/java/examples/HelloWorldProgram.java"
> name="generator"/>
> ---
> > <meta content="X3D Java Scene Access Interface Library
> (X3DJSAIL)" name="generator"/>
> > <meta
> content="https://www.web3d.org/specifications/java/examples/HelloWorldProgram.java"
> name="generator"/>
> 37,40c31,32
> < <meta
> <
> content="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.x3d"
> name="reference"/>
> < <meta
> < content="Console output, ClassicVRML encoding, VRML97
> encoding and pretty-print documentation:" name="reference"/>
> ---
> > <meta
> content="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/examples/HelloWorldProgramOutput.x3d"
> name="reference"/>
> > <meta content="Console output, ClassicVRML encoding, VRML97
> encoding and pretty-print documentation:" name="reference"/>
> 45,48c37,38
> < <meta
> <
> content="https://savage.nps.edu/X3dValidator?url=https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d"
> name="reference"/>
> < <meta
> <
> content="https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d"
> name="identifier"/>
> ---
> > <meta
> content="https://savage.nps.edu/X3dValidator?url=https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d"
> name="reference"/>
> > <meta
> content="https://www.web3d.org/specifications/java/examples/HelloWorldProgramOutput.x3d"
> name="identifier"/>
> 50,54d39
> < <meta content="04 February 2021" name="translated"/>
> < <meta
> < content="X3dToJson.xslt,
> https://www.web3d.org/x3d/stylesheets/X3dToJson.html" name="generator"/>
> < <meta
> < content="X3D JSON encoding:
> https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
> name="reference"/>
> 56a42
> > <MetadataSet name="topLevelSceneMetadata"/>
> 59,61c45
> < <Viewpoint DEF="TopDownView"
> < description="top-down view from above"
> < orientation="1 0 0 -1.570796" position="0 100 0"/>
> ---
> > <Viewpoint DEF="TopDownView" description="top-down view from
> above" orientation="1 0 0 -1.570796" position="0 100 0"/>
> 63c47
> < <NavigationInfo type=""EXAMINE" "FLY"
> "ANY""/>
> ---
> > <NavigationInfo avatarSize="0.25 1.6 0.75"
> transitionType=""LINEAR"" type=""EXAMINE" "FLY" "ANY""/>
> 67,68c51,52
> < <MetadataString DEF="scene.addChildMetadata" name="test"
> value=""Top-level root Metadata node beneath Scene needs to be
> one of "-children" in JSON encoding""/>
> < <LayerSet DEF="scene.addChildLayerSetTest"/>
> ---
> > <MetadataString DEF="scene.addChildMetadata" name="test"
> value=""Top-level root Metadata node beneath Scene needs to be one of
> '-children' in JSON encoding""/>
> > <LayerSet DEF="scene.addChildLayerSetTest" order="0"/>
> 70,71c54
> < <Anchor DEF="siteAnchor"
> < description="select for X3D Java SAI Library
> (X3DJSAIL) description" url=""../X3DJSAIL.html"
> "https://www.web3d.org/specifications/java/X3DJSAIL.html"">
> ---
> > <Anchor DEF="siteAnchor" description="select for X3D Java SAI
> Library (X3DJSAIL) description" url=""../X3DJSAIL.html"
> "https://www.web3d.org/specifications/java/X3DJSAIL.html"">
> 74,76c57,58
> < <Material DEF="GreenMaterial"
> < diffuseColor="0 1 1" emissiveColor="0.8
> 0 0" transparency="0.1"/>
> < <ImageTexture containerField="texture"
> url=""images/X3dJavaSceneAccessInterfaceSaiLibrary.png"
> "https://www.web3d.org/specifications/java/examples/images/X3dJavaSceneAccessInterfaceSaiLibrary.png""/>
>
> ---
> > <Material DEF="GreenMaterial" diffuseColor="0 1 1"
> emissiveColor="0.8 0 0" transparency="0.1"/>
> > <ImageTexture
> url=""images/X3dJavaSceneAccessInterfaceSaiLibrary.png"
> "https://www.web3d.org/specifications/java/examples/images/X3dJavaSceneAccessInterfaceSaiLibrary.png""/>
> 78,79c60
> < <Box DEF="test-NMTOKEN_regex.0123456789"
> < class="untextured" containerField="geometry"/>
> ---
> > <Box DEF="test-NMTOKEN_regex.0123456789" class="untextured"/>
> 87c68
> < <IndexedLineSet containerField="geometry" coordIndex="0
> 1 2 3 4 0">
> ---
> > <IndexedLineSet coordIndex="0 1 2 3 4 0">
> 89c70
> < <Coordinate containerField="coord" point="0 1.5 0 2
> 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5 0 0 1.5 0"/>
> ---
> > <Coordinate point="0 1.5 0 2 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5
> 0 0 1.5 0"/>
> 92,93c73
> < <PositionInterpolator DEF="BoxPathAnimator"
> < key="0 0.125 0.375 0.625 0.875 1" keyValue="0 1.5 0 2
> 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5 0 0 1.5 0"/>
> ---
> > <PositionInterpolator DEF="BoxPathAnimator" key="0 0.125 0.375
> 0.625 0.875 1" keyValue="0 1.5 0 2 1.5 0 2 1.5 -2 -2 1.5 -2 -2 1.5 0 0
> 1.5 0"/>
> 95,98c75,76
> < <ROUTE fromField="fraction_changed" fromNode="OrbitClock"
> < toField="set_fraction" toNode="BoxPathAnimator"/>
> < <ROUTE fromField="value_changed" fromNode="BoxPathAnimator"
> < toField="set_translation" toNode="LogoGeometryTransform"/>
> ---
> > <ROUTE fromField="fraction_changed" fromNode="OrbitClock"
> toField="set_fraction" toNode="BoxPathAnimator"/>
> > <ROUTE fromField="value_changed" fromNode="BoxPathAnimator"
> toField="set_translation" toNode="LogoGeometryTransform"/>
> 104c82
> < <Text containerField="geometry" string=""X3D
> Java" "SAI Library" "X3DJSAIL"">
> ---
> > <Text string=""X3D Java" "SAI Library" "X3DJSAIL"">
> 107,111c85,87
> < <MetadataSet containerField="metadata"
> name="EscapedQuotationMarksMetadataSet">
> < <MetadataString containerField="value"
> < name="quotesTestC" value=""MFString
> example C, backslash-escaped quotes: He said, \"Immel did
> it!\"""/>
> < <MetadataString containerField="value"
> < name="extraChildTest"
> value=""checks MetadataSet addValue() method""/>
> ---
> > <MetadataSet name="EscapedQuotationMarksMetadataSet">
> > <MetadataString name="quotesTestC"
> containerField="value" value=""MFString example C, backslash-escaped
> quotes: He said, \"Immel did it!\"""/>
> > <MetadataString name="extraChildTest"
> containerField="value" value=""checks MetadataSet addValue() method""/>
> 113c89
> < <FontStyle justify=""MIDDLE"
> "MIDDLE""/>
> ---
> > <FontStyle family=""SERIF"" justify=""MIDDLE" "MIDDLE""/>
> 123c99
> < <Text containerField="geometry"
> string=""One, Two, Text" "" "He said,
> \"Immel did it!\" \"\"""/>
> ---
> > <Text string=""One, Two, Text" "" "He said, \"Immel did
> it!\" \"\"""/>
> 133,136c109,110
> < <ROUTE fromField="fraction_changed" fromNode="SpinClock"
> < toField="set_fraction" toNode="SpinInterpolator"/>
> < <ROUTE fromField="value_changed" fromNode="SpinInterpolator"
> < toField="rotation" toNode="TextTransform"/>
> ---
> > <ROUTE fromField="fraction_changed" fromNode="SpinClock"
> toField="set_fraction" toNode="SpinInterpolator"/>
> > <ROUTE fromField="value_changed" fromNode="SpinInterpolator"
> toField="rotation" toNode="TextTransform"/>
> 140,142c114,116
> < <field accessType="inputOnly" name="colorInput"
> type="SFColor"/>
> < <field accessType="outputOnly" name="colorsOutput"
> type="MFColor"/><![CDATA[
> <
> ---
> > <field name="colorInput" accessType="inputOnly"
> type="SFColor"/>
> > <field name="colorsOutput" accessType="outputOnly"
> type="MFColor"/>
> > <![CDATA[
> 150,151c124,125
> <
> < ]]></Script>
> ---
> > ]]>
> > </Script>
> 156,161c130,132
> < <ROUTE fromField="colorsOutput"
> < fromNode="colorTypeConversionScript"
> toField="skyColor" toNode="GradualBackground"/>
> < <ROUTE fromField="value_changed" fromNode="ColorAnimator"
> < toField="colorInput"
> toNode="colorTypeConversionScript"/>
> < <ROUTE fromField="fraction_changed" fromNode="ColorClock"
> < toField="set_fraction" toNode="ColorAnimator"/>
> ---
> > <ROUTE fromField="colorsOutput"
> fromNode="colorTypeConversionScript" toField="skyColor"
> toNode="GradualBackground"/>
> > <ROUTE fromField="value_changed" fromNode="ColorAnimator"
> toField="colorInput" toNode="colorTypeConversionScript"/>
> > <ROUTE fromField="fraction_changed" fromNode="ColorClock"
> toField="set_fraction" toNode="ColorAnimator"/>
> 163,164c134
> < <ProtoDeclare
> < appinfo="tooltip: ArtDeco01Material prototype is a
> Material node" name="ArtDeco01Material">
> ---
> > <ProtoDeclare name="ArtDeco01Material" appinfo="tooltip:
> ArtDeco01Material prototype is a Material node">
> 166,170c136,137
> < <field accessType="inputOutput"
> < appinfo="tooltip for descriptionField"
> < name="description" type="SFString"
> value="ArtDeco01Material prototype is a Material node"/>
> < <field accessType="inputOutput" name="enabled"
> < type="SFBool" value="true"/>
> ---
> > <field name="description" accessType="inputOutput"
> appinfo="tooltip for descriptionField" type="SFString"
> value="ArtDeco01Material prototype is a Material node"/>
> > <field name="enabled" accessType="inputOutput" type="SFBool"
> value="true"/>
> 174,176c141
> < <Material ambientIntensity="0.25"
> < diffuseColor="0.282435 0.085159 0.134462"
> < shininess="0.127273" specularColor="0.276305
> 0.11431 0.139857"/>
> ---
> > <Material ambientIntensity="0.25" diffuseColor="0.282435
> 0.085159 0.134462" shininess="0.127273" specularColor="0.276305
> 0.11431 0.139857"/>
> 187,188c152
> < <ExternProtoDeclare appinfo="this is a different Material node"
> < name="ArtDeco02Material"
> url=""http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco02Material"
> "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3dv#ArtDeco02Material"">
>
> ---
> > <ExternProtoDeclare name="ArtDeco02Material" appinfo="this is a
> different Material node"
> url=""http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco02Material"
> "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3dv#ArtDeco02Material"">
>
> 190,192c154
> < <field accessType="inputOutput"
> < appinfo="tooltip for descriptionField"
> < name="description" type="SFString"/>
> ---
> > <field name="description" accessType="inputOutput"
> appinfo="tooltip for descriptionField" type="SFString"/>
> 198c160
> < <ProtoInstance containerField="material"
> name="ArtDeco01Material">
> ---
> > <ProtoInstance name="ArtDeco01Material"
> containerField="material">
> 200,201c162
> < <fieldValue containerField="material"
> < name="description" value="ArtDeco01Material
> can substitute for a Material node"/>
> ---
> > <fieldValue name="description" value="ArtDeco01Material
> can substitute for a Material node"/>
> 204c165
> < <Sphere containerField="geometry" radius="0.001"/>
> ---
> > <Sphere radius="0.001"/>
> 209,210c170
> < <ProtoInstance DEF="ArtDeco02MaterialDEF"
> < containerField="material" name="ArtDeco02Material">
> ---
> > <ProtoInstance DEF="ArtDeco02MaterialDEF"
> name="ArtDeco02Material" containerField="material">
> 212,213c172
> < <fieldValue containerField="material"
> < name="description" value="ArtDeco02Material
> can substitute for another Material node"/>
> ---
> > <fieldValue name="description" value="ArtDeco02Material
> can substitute for another Material node"/>
> 216c175
> < <Cone bottomRadius="0.001" containerField="geometry"
> height="0.001"/>
> ---
> > <Cone bottomRadius="0.001" height="0.001"/>
> 223c182
> < <Cylinder containerField="geometry" height="0.001"
> radius="0.001"/>
> ---
> > <Cylinder height="0.001" radius="0.001"/>
> 225c184
> < <Inline DEF="inlineScene"
> url=""someOtherScene.x3d"
> "https://www.web3d.org/specifications/java/examples/someOtherScene.x3d""/>
> ---
> > <Inline DEF="inlineScene" url=""someOtherScene.x3d"
> "https://www.web3d.org/specifications/java/examples/someOtherScene.x3d""/>
> 228,230c187
> < <ProtoDeclare
> < appinfo="mimic a Material node and modulate fields as an
> animation effect"
> <
> documentation="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/MaterialModulatorIndex.html"
> name="MaterialModulator">
> ---
> > <ProtoDeclare name="MaterialModulator" appinfo="mimic a Material
> node and modulate fields as an animation effect"
> documentation="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter14Prototypes/MaterialModulatorIndex.html">
> 232,245c189,195
> < <field accessType="inputOutput" name="enabled"
> < type="SFBool" value="true"/>
> < <field accessType="inputOutput" name="diffuseColor"
> < type="SFColor" value="0 0 0"/>
> < <field accessType="inputOutput" name="emissiveColor"
> < type="SFColor" value="0.05 0.05 0.5"/>
> < <field accessType="inputOutput" name="specularColor"
> < type="SFColor" value="0 0 0"/>
> < <field accessType="inputOutput" name="transparency"
> < type="SFFloat" value="0.0"/>
> < <field accessType="inputOutput" name="shininess"
> < type="SFFloat" value="0.0"/>
> < <field accessType="inputOutput" name="ambientIntensity"
> < type="SFFloat" value="0.0"/>
> ---
> > <field name="enabled" accessType="inputOutput" type="SFBool"
> value="true"/>
> > <field name="diffuseColor" accessType="inputOutput"
> type="SFColor" value="0 0 0"/>
> > <field name="emissiveColor" accessType="inputOutput"
> type="SFColor" value="0.05 0.05 0.5"/>
> > <field name="specularColor" accessType="inputOutput"
> type="SFColor" value="0 0 0"/>
> > <field name="transparency" accessType="inputOutput"
> type="SFFloat" value="0.0"/>
> > <field name="shininess" accessType="inputOutput"
> type="SFFloat" value="0.0"/>
> > <field name="ambientIntensity" accessType="inputOutput"
> type="SFFloat" value="0.0"/>
> 260,263c210,213
> < <field accessType="inputOutput" name="enabled"
> type="SFBool"/>
> < <field accessType="inputOutput"
> name="diffuseColor" type="SFColor"/>
> < <field accessType="outputOnly" name="newColor"
> type="SFColor"/>
> < <field accessType="inputOnly"
> name="clockTrigger" type="SFTime"/>
> ---
> > <field name="enabled" accessType="inputOutput"
> type="SFBool"/>
> > <field name="diffuseColor" accessType="inputOutput"
> type="SFColor"/>
> > <field name="newColor" accessType="outputOnly"
> type="SFColor"/>
> > <field name="clockTrigger" accessType="inputOnly"
> type="SFTime"/>
> 267,268c217,218
> < </IS><![CDATA[
> <
> ---
> > </IS>
> > <![CDATA[
> 292,293c242,243
> <
> < ]]></Script>
> ---
> > ]]>
> > </Script>
> 299,300c249
> < <MetadataString DEF="FindableMetadataStringTest"
> < containerField="metadata"
> name="findThisNameValue" value=""test case""/>
> ---
> > <MetadataString DEF="FindableMetadataStringTest"
> name="findThisNameValue" value=""test case""/>
> 303,304c252
> < <ProtoInstance DEF="MyMaterialModulator"
> < containerField="material"
> name="MaterialModulator"/>
> ---
> > <ProtoInstance DEF="MyMaterialModulator"
> name="MaterialModulator" containerField="material"/>
> 306,307c254
> < <Cone bottom="false" bottomRadius="0.05"
> < containerField="geometry" height="0.1"/>
> ---
> > <Cone bottom="false" bottomRadius="0.05" height="0.1"/>
> 329c276
> < <AudioClip containerField="source" description="chimes"
> url=""chimes.wav"
> "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav"">
> ---
> > <AudioClip description="chimes" url=""chimes.wav"
> "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sounds/AudioClip/chimes.wav"">
> 335,336c282
> < <MovieTexture containerField="source"
> < description="mpgsys.mpg from ConformanceNist suite"
> url=""mpgsys.mpg"
> "https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpgsys.mpg"">
> ---
> > <MovieTexture containerField="source" description="mpgsys.mpg
> from ConformanceNist suite" url=""mpgsys.mpg"
> "https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/MovieTexture/mpgsys.mpg"">
> 353c299
> < <Extrusion DEF="ExampleExtrusion"
> containerField="geometry"/>
> ---
> > <Extrusion DEF="ExampleExtrusion"/>
> 359,360c305
> < <field accessType="initializeOnly"
> < name="description" type="SFString"/>
> ---
> > <field name="description" accessType="initializeOnly"
> type="SFString"/>
> 387,389c332,333
> < <ProgramShader DEF="TestShader1"
> containerField="shaders">
> < <ShaderProgram DEF="TestShader2"
> < containerField="programs" type="VERTEX"/>
> ---
> > <ProgramShader DEF="TestShader1">
> > <ShaderProgram DEF="TestShader2"/>
> 391,394c335,337
> < <ProtoInstance DEF="TestShader3"
> < containerField="shaders" name="ShaderProto"/>
> < <ComposedShader DEF="TestShader4"
> containerField="shaders">
> < <ShaderPart DEF="TestShader5"
> containerField="parts" type="VERTEX"/>
> ---
> > <ProtoInstance DEF="TestShader3" name="ShaderProto"
> containerField="shaders"/>
> > <ComposedShader DEF="TestShader4">
> > <ShaderPart DEF="TestShader5"/>
> 406,409c349,352
> < <EspduTransform/>
> < <ReceiverPdu/>
> < <SignalPdu/>
> < <TransmitterPdu/>
> ---
> > <EspduTransform geoSystem=""GD" "WE""/>
> > <ReceiverPdu geoSystem=""GD" "WE""/>
> > <SignalPdu geoSystem=""GD" "WE""/>
> > <TransmitterPdu geoSystem=""GD" "WE""/>
> 414c357
> < <EspduTransform>
> ---
> > <EspduTransform geoSystem=""GD" "WE"">
> 417,419c360,362
> < <ReceiverPdu/>
> < <SignalPdu/>
> < <TransmitterPdu/>
> ---
> > <ReceiverPdu geoSystem=""GD" "WE""/>
> > <SignalPdu geoSystem=""GD" "WE""/>
> > <TransmitterPdu geoSystem=""GD" "WE""/>
> 430,434c373,377
> < <AudioClip/>
> < <ImageCubeMapTexture/>
> < <ImageTexture3D/>
> < <ImageTexture/>
> < <MovieTexture/>
> ---
> > <AudioClip containerField="children"/>
> > <ImageCubeMapTexture containerField="children"/>
> > <ImageTexture3D containerField="children"/>
> > <ImageTexture containerField="children"/>
> > <MovieTexture containerField="children"/>
> 436,438c379,381
> < <PackagedShader/>
> < <ShaderPart type="VERTEX"/>
> < <ShaderProgram type="VERTEX"/>
> ---
> > <PackagedShader containerField="children"/>
> > <ShaderPart containerField="children"/>
> > <ShaderProgram containerField="children"/>
>
>
>
>
More information about the x3d-public
mailing list