X3D Model Documentation: SchemaTest.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <component level='1name='Core'/>
  6            <meta name='titlecontent='SchemaTest.x3d'/>
  7            <meta name='createdcontent='1 October 2002'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Test scene for obscure schema validation cases.'/>
 10            <meta name=' error content=' Test scene that does not render or validate. '/>
 11            <meta name='creatorcontent='Don Brutzman'/>
 12            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/development/SchemaTest.x3d'/>
 13            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='licensecontent='../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: badCycleIntervalValue, blah

Index for ProtoDeclare definition: blah
-->
 16       <Scene>
 17            <WorldInfo title='SchemaTest.x3d'/>
 18            <TimeSensor DEF='badCycleIntervalValuecycleInterval='-1.8e-1'/>
 19            <Transform rotation='0 0 1 -0.444E+1translation='+10000.e-1 50 0.5'>
 20                 <Anchor>
 21                      <Shape>
 22                           <IndexedLineSet>
 23                                <Color/>
 24                                <Coordinate/>
 25                           </IndexedLineSet>
 26                           <Appearance>
 27                                <MovieTexture/>
 28                                <Material/>
 29                                <TextureTransform/>
 30                           </Appearance>
 31                      </Shape>
 32                      <Collision>
 33                           <Background groundAngle='0.5groundColor='1 0 0'/>
 34                           <Shape containerField='proxy'>
 35                                <Extrusion/>
 36                           </Shape>
 37                           <Shape>
 38                                <Appearance>
 39                                     <Material/>
 40                                     <PixelTexture/>
 41                                </Appearance>
 42                                <Cylinder/>
 43                           </Shape>
 44                      </Collision>
 45                 </Anchor>
 46            </Transform>
 47            <Shape>
 48                 <ElevationGrid>
 49                      <Normal/>
 50                      <Color color='0.5e+0 0.05e+1 0.e-1 0 1 1'/>
 51                      <TextureCoordinate/>
 52                      <!-- partial loophole via xsd:all forcontained ProtoInstance, USE -->
 53                 </ElevationGrid>
 54                 <Appearance>
 55                      <TextureTransform/>
 56                      <MovieTexture/>
 57                      <Material/>
 58                 </Appearance>
 59            </Shape>
 60            <NavigationInfo/>
 61            <Shape>
 62                 <Appearance>
 63                      <IS>
 64                           <connect nodeField='sfdgprotoField='df'/>
 65                      </IS>
 66                      <MetadataSet>
 67                           <MetadataInteger containerField='value'/>
 68                           <MetadataSet containerField='value'/>
 69                           <ProtoInstance name='SomeKindOfMetadataPrototypecontainerField='value'/>
 70                      </MetadataSet>
 71                      <Material/>
 72                      <MultiTexture/>
 73                 </Appearance>
 74                 <IndexedFaceSet>
 75                      <Normal/>
 76                      <Coordinate/>
 77                 </IndexedFaceSet>
 78            </Shape>
 79            <ProtoDeclare name='blah'>
 80                 <ProtoInterface>
 81                      <field name='somethingtype='SFBoolaccessType='inputOnly'/>
 82                 </ProtoInterface>
 83                 <ProtoBody>
 84                      <Anchor/>
 85                      < ROUTE  fromNode='blah' fromField='x' toNode='blah' toField='x'/>
 86                      <Sound>
 87                           <AudioClip/>
 88                      </Sound>
 89                 </ProtoBody>
 90            </ProtoDeclare>
 91 
          <!-- ROUTE information for blah node:  [self-route from x to x ] [self-route from x to x ] -->
          <ProtoInstance name='blahDEF='blah'/>
 92            < ROUTE  fromNode='blah' fromField='x' toNode='blah' toField='x'/>
 93       </Scene>
 94  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: badCycleIntervalValue, blah

Index for ProtoDeclare definition: blah
-->
X3D Tooltips element index: Anchor, Appearance, AudioClip, Background, Collision, Color, component, connect, Coordinate, Cylinder, ElevationGrid, Extrusion, field, head, IndexedFaceSet, IndexedLineSet, IS, Material, meta, MetadataInteger, MetadataSet, MovieTexture, MultiTexture, NavigationInfo, Normal, PixelTexture, ProtoBody, ProtoDeclare, ProtoInstance, ProtoInterface, ROUTE, Scene, Shape, Sound, TextureCoordinate, TextureTransform, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

badCycleIntervalValue
TimeSensor
No ROUTE connection found for output events from this node. 

line 69
ProtoInstance
SomeKindOfMetadataPrototype
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

blah
ProtoInstance
blah
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 


Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/development/SchemaTestIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/SchemaTest.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->