X3D Model Documentation: Table.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=' Table.x3d '/>
  6            <meta name='descriptioncontent='Table for kitchen.'/>
  7            <meta name='creatorcontent='Baris Aktop'/>
  8            <meta name='createdcontent='15 august 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Table.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: dish, leg, table, tableApp, tableSensor, wood
-->
 14       <Scene>
 15            <WorldInfo title='Table.x3d'/>
 16 
          <!-- ROUTE information for table node:  [from tableSensor.translation_changed to set_translation ] -->
          <Transform DEF='table'>
 17                 <Group>
 18                      <Transform translation='0 0.75 0'>
 19                           <Shape>
 20                                <Cylinder height='1.5radius='0.15'/>
 21                                <Appearance DEF='tableApp'>
 22                                     <Material diffuseColor='0.8 0.5 0'/>
 23 
                                   <!-- ImageTexture wood is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <ImageTexture DEF='wood'   url=' "wood.jpg " "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/wood.jpg " '/>
 24                                </Appearance>
 25                           </Shape>
 26                      </Transform>
 27                      <Transform rotation='0 0 1 1.57'>
 28                           <Shape DEF='leg'>
 29                                <Cylinder height='1.5radius='0.1'/>
 30                                <Appearance>
 31                                     <Material diffuseColor='0.8 0.5 0'/>
 32                                     <ImageTexture USE='wood'/>
 33                                </Appearance>
 34                           </Shape>
 35                      </Transform>
 36                      <Transform rotation='1 0 0 1.57'>
 37                           <Shape>
 38                                <Cylinder height='1.5radius='0.1'/>
 39                                <Appearance>
 40                                     <Material diffuseColor='0.8 0.5 0'/>
 41                                     <ImageTexture USE='wood'/>
 42                                </Appearance>
 43                           </Shape>
 44                      </Transform>
 45                      <Transform translation='0 1.5 0'>
 46                           <Shape>
 47                                <Cylinder height='0.1radius='1.2'/>
 48                                <Appearance>
 49                                     <Material diffuseColor='0.8 0.5 0'/>
 50                                     <ImageTexture USE='wood'/>
 51                                </Appearance>
 52                           </Shape>
 53                           <Transform translation='0.7 0.06 0'>
 54 
                              <!-- Inline dish is a DEF node that has 1 USE node: USE_1 -->
                              <Inline DEF='dish'   url=' "Dish.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Dish.x3d" "Dish.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Dish.wrl" '/>
 55                           </Transform>
 56                           <Transform translation='-0.7 0.06 0'>
 57                                <Inline USE='dish'/>
 58                           </Transform>
 59                      </Transform>
 60                 </Group>
 61            </Transform>
 62 
          <!-- ROUTE information for tableSensor node:  [from translation_changed to table.set_translation ] -->
          <PlaneSensor DEF='tableSensormaxPosition='3 0minPosition='-2 0'/>
 63            < ROUTE  fromNode='tableSensor' fromField='translation_changed' toNode='table' toField='set_translation'/>
 64       </Scene>
 65  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: dish, leg, table, tableApp, tableSensor, wood
-->
X3D Tooltips element index: Appearance, Cylinder, Group, head, ImageTexture, Inline, Material, meta, PlaneSensor, ROUTE, Scene, Shape, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and 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.

tableSensor
PlaneSensor
translation_changed
SFVec3f

ROUTE
event to
(1)
table
Transform
set_translation
SFVec3f

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/Savage/Buildings/HouseBarisAktop/TableIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Table.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)
-->

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