X3D Model Documentation: AllVrml97Nodes.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            <meta name='titlecontent='AllVrml97Nodes.x3d'/>
  6            <meta name='creatorcontent='Don Brutzman'/>
  7            <meta name='createdcontent='1 January 2000'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='List all VRML nodes in a single nonrendering scene as a convenient simple test for translation programs. Used for early development of X3D-Edit and Xj3D.'/>
 10            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/development/AllVrml97Nodes.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: ANCHOR, APPEARANCE, APPEARANCE_TEXTURETRANSFORM, AUDIOCLIP, BACKGROUND, Billboard, BOX, COLLISION, COLOR, COLORINTERPOLATOR, CONE, COORDINATE, COORDINATEINTERPOLATOR, CYLINDER, CYLINDERSENSOR, DIRECTIONALLIGHT, DTD_TAGSET_CANDIDATES, ELEVATIONGRID, EXTRUSION, FOG, FONTSTYLE, GROUP, GROUP_INTERPOLATORS, GROUP_LIGHTS, GROUP_SENSORS, IMAGETEXTURE, INDEXEDFACESET, INDEXEDLINESET, INLINE, INLINE_HELLO_WORLD, LOD, MATERIAL, NAVIGATIONINFO, NORMAL, NORMALINTERPOLATOR, ORIENTATIONINTERPOLATOR, PLANESENSOR, POINTLIGHT, POINTSET, POSITIONINTERPOLATOR, PROXIMITYSENSOR, PROXY_BOX, PROXY_GROUP, PROXY_SHAPE, SCALARINTERPOLATOR, SHAPE_BOX, SHAPE_CONE, SHAPE_CYLINDER, SHAPE_ELEVATIONGRID, SHAPE_EXTRUSION, SHAPE_INDEXEDLINESET, SHAPE_MOVIETEXTURE, SHAPE_POINTSET, SHAPE_SPHERE, SHAPE_TEXT, SHAPE_TEXTURETRANSFORM_INDEXEDFACESET, SOUND, SPHERE, SPHERESENSOR, SPOTLIGHT, SWITCH, TEXT, TEXTURECOORDINATE, TEXTURETRANSFORM, TIMESENSOR, TOUCHSENSOR, TRANSFORM, VIEWPOINT, VISIBILITYSENSOR, WORLDINFO, XEENA_BUGS_AND_ISSUES, XEENA_FIXES, Xj3D_BUGS_AND_ISSUES, Xj3D_FIXES, Xj3D_NODE_TRANSLATION_STATUS

Index for Viewpoint node: VIEWPOINT
-->
 14       <Scene>
 15            <WorldInfo DEF='WORLDINFOtitle='VRML test scene: x3d/content/AllVrml97Nodes.wrl'/>
 16            <WorldInfo DEF='DTD_TAGSET_CANDIDATES'/>
 17            <WorldInfo DEF='Xj3D_BUGS_AND_ISSUES'/>
 18            <WorldInfo DEF='Xj3D_FIXES'/>
 19            <WorldInfo DEF='XEENA_BUGS_AND_ISSUES'/>
 20            <WorldInfo DEF='XEENA_FIXES'/>
 21            <Background DEF='BACKGROUNDgroundColor='0.0 0.0 0.0'/>
 22            <Fog DEF='FOG'/>
 23            <NavigationInfo DEF='NAVIGATIONINFOtype='"EXAMINE" "WALK" "ANY" "FLY"'/>
 24            <Viewpoint DEF='VIEWPOINT'/>
 25            <Anchor DEF='ANCHOR'>
 26                 <Billboard DEF='Billboard'>
 27                      <Shape DEF='SHAPE_BOX'>
 28                           <Box DEF='BOX'/>
 29 
                         <!-- Appearance APPEARANCE is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 -->
                         <Appearance DEF='APPEARANCE'>
 30 
                              <!-- ImageTexture IMAGETEXTURE is a DEF node that has 1 USE node: USE_1 -->
                              <ImageTexture DEF='IMAGETEXTURE'   url=' "../icons/cube.gif " "https://www.web3d.org/x3d/content/examples/Basic/development/../icons/cube.gif " '/>
 31                                <Material DEF='MATERIAL'/>
 32                           </Appearance>
 33                      </Shape>
 34                 </Billboard>
 35                 <Collision DEF='COLLISION'>
 36                      <Group DEF='PROXY_GROUP'>
 37                           <Shape DEF='PROXY_SHAPE'>
 38                                <Box DEF='PROXY_BOX'/>
 39                           </Shape>
 40                      </Group>
 41                      <Shape DEF='SHAPE_CONE'>
 42                           <Cone DEF='CONE'/>
 43                           <Appearance/>
 44                      </Shape>
 45                 </Collision>
 46                 <Group DEF='GROUP'>
 47                      <Shape DEF='SHAPE_CYLINDER'>
 48                           <Cylinder DEF='CYLINDER'/>
 49                           <Appearance/>
 50                      </Shape>
 51                 </Group>
 52                 <Inline DEF='INLINE'   url=' "inlineTestFileOne.wrl" "inlineTestFileTwo.wrl" "inlineTestFileEmbedding%20Blanks%20In%20Name.wrl" '/>
 53                 <Inline DEF='INLINE_HELLO_WORLD'   url=' "HelloWorld.wrl" "https://www.web3d.org/x3d/content/examples/Basic/development/HelloWorld.wrl" '/>
 54                 <LOD DEF='LODrange='1.0'>
 55                      <Shape DEF='SHAPE_ELEVATIONGRID'>
 56                           <ElevationGrid DEF='ELEVATIONGRIDheight='1.0 2.0 3.0 4.0'/>
 57                           <Appearance USE='APPEARANCE'/>
 58                      </Shape>
 59                      <Shape DEF='SHAPE_EXTRUSION'>
 60                           <Extrusion DEF='EXTRUSIONcrossSection='1.0 1.0 1.0 -1.0 -1.0 -1.0 -1.0 1.0 1.0 1.0scale='1.0 1.0 1.0 1.0spine='0.0 0.0 0.0 0.0 1.0 0.0'/>
 61                           <Appearance USE='APPEARANCE'/>
 62                      </Shape>
 63                 </LOD>
 64                 <Switch DEF='SWITCHwhichChoice='-1'>
 65                      <Shape DEF='SHAPE_TEXTURETRANSFORM_INDEXEDFACESET'>
 66                           <IndexedFaceSet DEF='INDEXEDFACESETcolorIndex='0 1 0 1coordIndex='0 1 2 3normalIndex='0 1 2 3texCoordIndex='0 1 2 3'>
 67 
                              <!-- Color COLOR is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Color DEF='COLORcolor='1.0 0.0 0.0 0.0 1.0 0.0'/>
 68 
                              <!-- Coordinate COORDINATE is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Coordinate DEF='COORDINATEpoint='1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 1.0 1.0 1.0'/>
 69                                <Normal DEF='NORMALvector='1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0'/>
 70                                <TextureCoordinate DEF='TEXTURECOORDINATEpoint='0.1 0.1 0.9 0.1 0.9 0.9 0.1 0.9'/>
 71                           </IndexedFaceSet>
 72                           <Appearance DEF='APPEARANCE_TEXTURETRANSFORM'>
 73                                <ImageTexture USE='IMAGETEXTURE'/>
 74                                <Material/>
 75                                <TextureTransform DEF='TEXTURETRANSFORMcenter='0.5 0.5'/>
 76                           </Appearance>
 77                      </Shape>
 78                      <Shape DEF='SHAPE_INDEXEDLINESET'>
 79                           <IndexedLineSet DEF='INDEXEDLINESETcolorIndex='0 1 0 1coordIndex='0 1 2 3'>
 80                                <Coordinate USE='COORDINATE'/>
 81                                <Color USE='COLOR'/>
 82                           </IndexedLineSet>
 83                           <Appearance USE='APPEARANCE'/>
 84                      </Shape>
 85                      <Shape DEF='SHAPE_POINTSET'>
 86                           <PointSet DEF='POINTSET'>
 87                                <Color USE='COLOR'/>
 88                                <Coordinate USE='COORDINATE'/>
 89                           </PointSet>
 90                           <Appearance USE='APPEARANCE'/>
 91                      </Shape>
 92                      <Shape DEF='SHAPE_MOVIETEXTURE'>
 93                           <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 -1'>
 94                                <Coordinate point='0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0'/>
 95                           </IndexedFaceSet>
 96                           <Appearance/>
 97                      </Shape>
 98                 </Switch>
 99                 <Transform DEF='TRANSFORM'>
100                      <Shape DEF='SHAPE_SPHERE'>
101                           <Sphere DEF='SPHERE'/>
102                           <Appearance USE='APPEARANCE'/>
103                      </Shape>
104                      <Shape DEF='SHAPE_TEXT'>
105                           <Text DEF='TEXTstring='" first line of text" "second line of text"'>
106                                <FontStyle DEF='FONTSTYLE'/>
107                           </Text>
108                           <Appearance USE='APPEARANCE'/>
109                      </Shape>
110                 </Transform>
111                 <Sound DEF='SOUND'>
112                      <AudioClip DEF='AUDIOCLIPdescription='AudioClip'/>
113                 </Sound>
114                 <Group DEF='GROUP_LIGHTS'>
115                      <DirectionalLight DEF='DIRECTIONALLIGHT'/>
116                      <PointLight DEF='POINTLIGHT'/>
117                      <SpotLight DEF='SPOTLIGHTbeamWidth='1.570796cutOffAngle='.785398'/>
118                 </Group>
119                 <Group DEF='GROUP_INTERPOLATORS'>
120                      <ColorInterpolator DEF='COLORINTERPOLATORkey='0.0keyValue='0.0 0.0 0.0'/>
121                      <CoordinateInterpolator DEF='COORDINATEINTERPOLATORkey='0.0keyValue='0.0 0.0 0.0'/>
122                      <NormalInterpolator DEF='NORMALINTERPOLATORkey='0.0keyValue='0.0 0.0 0.0'/>
123                      <OrientationInterpolator DEF='ORIENTATIONINTERPOLATORkey='0.0keyValue='0.0 0.0 1.0 0.0'/>
124                      <PositionInterpolator DEF='POSITIONINTERPOLATORkey='0.0keyValue='0.0 0.0 0.0'/>
125                      <ScalarInterpolator DEF='SCALARINTERPOLATORkey='0.0keyValue='0.0'/>
126                 </Group>
127                 <Group DEF='GROUP_SENSORS'>
128                      <CylinderSensor DEF='CYLINDERSENSOR'/>
129                      <PlaneSensor DEF='PLANESENSOR'/>
130                      <ProximitySensor DEF='PROXIMITYSENSOR'/>
131                      <SphereSensor DEF='SPHERESENSOR'/>
132                      <TimeSensor DEF='TIMESENSOR'/>
133 
                    <!-- ROUTE information for TOUCHSENSOR node:  [self-route from isActive to enabled ] -->
                    <TouchSensor DEF='TOUCHSENSOR'/>
134                      <VisibilitySensor DEF='VISIBILITYSENSOR'/>
135                 </Group>
136            </Anchor>
137            <WorldInfo DEF='Xj3D_NODE_TRANSLATION_STATUS'/>
138            < ROUTE  fromNode='TOUCHSENSOR' fromField='isActive' toNode='TOUCHSENSOR' toField='enabled'/>
139       </Scene>
140  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: ANCHOR, APPEARANCE, APPEARANCE_TEXTURETRANSFORM, AUDIOCLIP, BACKGROUND, Billboard, BOX, COLLISION, COLOR, COLORINTERPOLATOR, CONE, COORDINATE, COORDINATEINTERPOLATOR, CYLINDER, CYLINDERSENSOR, DIRECTIONALLIGHT, DTD_TAGSET_CANDIDATES, ELEVATIONGRID, EXTRUSION, FOG, FONTSTYLE, GROUP, GROUP_INTERPOLATORS, GROUP_LIGHTS, GROUP_SENSORS, IMAGETEXTURE, INDEXEDFACESET, INDEXEDLINESET, INLINE, INLINE_HELLO_WORLD, LOD, MATERIAL, NAVIGATIONINFO, NORMAL, NORMALINTERPOLATOR, ORIENTATIONINTERPOLATOR, PLANESENSOR, POINTLIGHT, POINTSET, POSITIONINTERPOLATOR, PROXIMITYSENSOR, PROXY_BOX, PROXY_GROUP, PROXY_SHAPE, SCALARINTERPOLATOR, SHAPE_BOX, SHAPE_CONE, SHAPE_CYLINDER, SHAPE_ELEVATIONGRID, SHAPE_EXTRUSION, SHAPE_INDEXEDLINESET, SHAPE_MOVIETEXTURE, SHAPE_POINTSET, SHAPE_SPHERE, SHAPE_TEXT, SHAPE_TEXTURETRANSFORM_INDEXEDFACESET, SOUND, SPHERE, SPHERESENSOR, SPOTLIGHT, SWITCH, TEXT, TEXTURECOORDINATE, TEXTURETRANSFORM, TIMESENSOR, TOUCHSENSOR, TRANSFORM, VIEWPOINT, VISIBILITYSENSOR, WORLDINFO, XEENA_BUGS_AND_ISSUES, XEENA_FIXES, Xj3D_BUGS_AND_ISSUES, Xj3D_FIXES, Xj3D_NODE_TRANSLATION_STATUS

Index for Viewpoint node: VIEWPOINT
-->
X3D Tooltips element index: Anchor, Appearance, AudioClip, Background, Billboard, Box, Collision, Color, ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder, CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog, FontStyle, Group, head, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline, LOD, Material, meta, NavigationInfo, Normal, NormalInterpolator, OrientationInterpolator, PlaneSensor, PointLight, PointSet, PositionInterpolator, ProximitySensor, ROUTE, ScalarInterpolator, Scene, Shape, Sound, Sphere, SphereSensor, SpotLight, Switch, Text, TextureCoordinate, TextureTransform, TimeSensor, TouchSensor, Transform, Viewpoint, VisibilitySensor, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 1 ROUTE connection 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.

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/AllVrml97NodesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/AllVrml97Nodes.x3d -->

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

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