X3D Model Documentation: WrapperTagsExample.x3d go to online X3D Example Archives model page

  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='title' content=' WrapperTagsExample.x3d '/>
  6            <meta name='description' content='Demonstrate and test field-name wrapper tags. Links to document "Wrapper Tags Considered Harmful." Scene includes 21 nodes, 34 open/close element tags, 44 wrapper tags, producing 78 scene-graph tags total if wrapper tags are required.'/>
  7            <meta name='created' content='21 April 2000'/>
  8            <meta name='modified' content='4 February 2024'/>
  9            <meta name='creator' content='Don Brutzman'/>
 10            <meta name='reference' content=' WrapperTagsExampleWrapped.html '/>
 11            <meta name='reference' content=' WrapperTagsExampleUnwrapped.html '/>
 12            <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsExample.x3d '/>
 13            <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='license' content='../license.html'/>
 15       </head>
 16       <Scene>
 17            <!-- <children> *** wrapper tag *** -->
 18            <WorldInfo title='WrapperTagsExample.x3d'/>
 19            <Transform translation='0 -3 0'>
 20                 <!-- <children> *** wrapper tag *** -->
 21                 <Shape>
 22                      <!-- <geometry> *** wrapper tag *** -->
 23                      <Cylinder height='1.5' radius='.75'/>
 24                      <!-- </geometry> *** wrapper tag *** -->
 25                      <!-- <appearance> *** wrapper tag *** -->
 26                      <Appearance>
 27                           <!-- <texture> *** wrapper tag *** -->
 28                           <ImageTexture   url=' "earth-topo-small.png"image preview "earth-topo-small.gif"image preview "https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.png"image preview "https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.gif"image preview '/>
 29                           <!-- </texture> *** wrapper tag *** -->
 30                           <!-- <textureTransform> *** wrapper tag *** -->
 31                           <TextureTransform rotation='-2.356'/>
 32                           <!-- </textureTransform> *** wrapper tag *** -->
 33                      </Appearance>
 34                      <!-- </appearance> *** wrapper tag *** -->
 35                 </Shape>
 36                 <!-- </children> *** wrapper tag *** -->
 37            </Transform>
 38            <!-- </children> *** wrapper tag *** -->
 39            <!-- <children> *** wrapper tag *** -->
 40            <LOD>
 41                 <!-- <children> *** wrapper tag *** -->
 42                 <Anchor description='Click to read explanation page' parameter='"target=_blank"'   url=' "WrapperTagsConsideredHarmful.html" "https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsConsideredHarmful.html"'>
 43                      <!-- <children> *** wrapper tag *** -->
 44                      <Shape>
 45                           <!-- <appearance> *** wrapper tag *** -->
 46                           <Appearance>
 47                                <!-- <material> *** wrapper tag *** -->
 48                                <Material diffuseColor='.6 .1 .1'/>
 49                                <!-- </material> *** wrapper tag *** -->
 50                           </Appearance>
 51                           <!-- <appearance> *** wrapper tag *** -->
 52                           <!-- <geometry> *** wrapper tag *** -->
 53                           <Text string='"wrapper tags are " "field container names" "that hold nodes"'>
 54                                <!-- <fontStyle> *** wrapper tag *** -->
 55                                <FontStyle justify='"MIDDLE" "MIDDLE"'/>
 56                                <!-- </fontStyle> *** wrapper tag *** -->
 57                           </Text>
 58                           <!-- </geometry> *** wrapper tag *** -->
 59                      </Shape>
 60                      <!-- </children> *** wrapper tag *** -->
 61                 </Anchor>
 62                 <!-- </children> *** wrapper tag *** -->
 63                 <!-- <children> *** wrapper tag *** -->
 64                 <Sound>
 65                      <!-- <source> *** wrapper tag *** -->
 66                      <AudioClip description='empty audio clip'/>
 67                      <!-- </source> *** wrapper tag *** -->
 68                 </Sound>
 69                 <!-- </children> *** wrapper tag *** -->
 70            </LOD>
 71            <!-- </children> *** wrapper tag *** -->
 72            <!-- <children> *** wrapper tag *** -->
 73            <Switch whichChoice='0'>
 74                 <!-- <children> *** wrapper tag *** -->
 75                 <Shape>
 76                      <!-- <geometry> *** wrapper tag *** -->
 77                      <IndexedFaceSet coordIndex='0 1 2 3 -1'>
 78                           <!-- <color> *** wrapper tag *** -->
 79                           <Color color='0 0 1 0 1 0 1 0 0 1 1 1'/>
 80                           <!-- </color> *** wrapper tag *** -->
 81                           <!-- <coord> *** wrapper tag *** -->
 82                           <Coordinate point='-5 -3 -2 5 -3 -2 5 1 -2 -5 1 -2'/>
 83                           <!-- </coord> *** wrapper tag *** -->
 84                           <!-- <normal> *** wrapper tag *** -->
 85                           <Normal vector='0 0 -1 0 0 -1 0 0 -1 0 0 -1'/>
 86                           <!-- </normal> *** wrapper tag *** -->
 87                           <!-- <texCoord> *** wrapper tag *** -->
 88                           <TextureCoordinate point='-1 -1 -1 1 1 1 1 -1'/>
 89                           <!-- </texCoord> *** wrapper tag *** -->
 90                      </IndexedFaceSet>
 91                      <!-- </geometry> *** wrapper tag *** -->
 92                 </Shape>
 93                 <!-- </children> *** wrapper tag *** -->
 94            </Switch>
 95            <!-- </children> *** wrapper tag *** -->
 96       </Scene>
 97  </X3D>

X3D Tooltips element index: to top Anchor, Appearance, AudioClip, Color, Coordinate, Cylinder, FontStyle, head, ImageTexture, IndexedFaceSet, LOD, Material, meta, Normal, Scene, Shape, Sound, Switch, Text, TextureCoordinate, TextureTransform, Transform, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

🔖   Event Graph ROUTE Table with 0 ROUTE connections1 Anchor hover hint, showing X3D event-model relationships for this scene.

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

line 42
Anchor
description='Click to read explanation page' 
No direct ROUTE connection found for events to/from this node. 


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

-->
go to online X3D Example Archives model page <!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsExampleIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsExample.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement 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. -->