X3D Model Documentation: KelpFlexibleStipe.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='KelpFlexibleStipe.x3d'/>
  6            <meta name='creatorcontent='Matthew Braun'/>
  7            <meta name='createdcontent='2 October 2001'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='An extruded piece of kelp for the Kelp Forest project. Bulb is separate.'/>
 10            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpFlexibleStipe.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: CLOCK, INNER_KELP, KELP, KELP_BEND

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='KelpFlexibleStipe.x3d'/>
 16            <Viewpoint description='Kelp stipe and holdfastposition='0 5 13'/>
 17            <!-- Animation clock -->
 18 
          <!-- ROUTE information for CLOCK node:  [from fraction_changed to KELP_BEND.set_fraction ] -->
          <TimeSensor DEF='CLOCKcycleInterval='4loop='true'/>
 19 
          <!-- ROUTE information for KELP_BEND node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to KELP.set_spine ] [from value_changed to INNER_KELP.set_spine ] -->
          <CoordinateInterpolator DEF='KELP_BENDkey='0.0 0.22 0.50 0.72 1.0keyValue='0.00 0.00 0.00 0.00 2.00 0.00 0.00 4.00 0.00 0.00 6.00 0.00 0.00 8.00 0.00 0.00 10.00 0.00 0.00 12.00 0.00 0.00 14.00 0.00 0.00 16.00 0.00 0.00 18.00 0.00 0.26 19.00 0.00 1.00 19.74 0.00 2.00 20.00 0.00 7.00 20.00 0.00 0.00 0.00 0.00 0.02 2.00 0.00 0.06 4.00 0.00 0.14 6.00 0.00 0.24 8.00 0.00 0.36 10.00 0.00 0.50 12.00 0.00 0.66 14.00 0.00 0.83 16.00 0.00 1.02 18.00 0.00 1.24 19.00 0.00 1.75 19.74 0.00 3.25 20.00 0.00 8.25 20.00 0.00 0.00 0.00 0.00 0.00 2.00 0.00 0.00 4.00 0.00 0.00 6.00 0.00 0.00 8.00 0.00 0.00 10.00 0.00 0.00 12.00 0.00 0.00 14.00 0.00 0.00 16.00 0.00 0.00 18.00 0.00 0.26 19.00 0.00 1.00 19.74 0.00 2.00 20.00 0.00 7.00 20.00 0.00 0.00 0.00 0.00 -0.03 2.00 0.00 -0.12 4.00 0.00 -0.25 6.00 0.00 -0.41 8.00 0.00 -0.59 10.00 0.00 -0.75 12.00 0.00 -0.88 14.00 0.00 -0.97 16.00 0.00 -1.00 18.00 0.00 -0.74 19.00 0.00 0.00 19.74 0.00 1.00 20.00 0.00 6.00 20.00 0.00 0.00 0.00 0.00 0.00 2.00 0.00 0.00 4.00 0.00 0.00 6.00 0.00 0.00 8.00 0.00 0.00 10.00 0.00 0.00 12.00 0.00 0.00 14.00 0.00 0.00 16.00 0.00 0.00 18.00 0.00 0.26 19.00 0.00 1.00 19.74 0.00 2.00 20.00 0.00 7.00 20.00 0.00'/>
 20            <!-- Geometry -->
 21            <Transform scale='0.5 0.5 0.5'>
 22                 <Shape>
 23                      <Appearance>
 24                           <Material ambientIntensity='.25diffuseColor='0.57 0.40 0.10shininess='0.92transparency='0.50'/>
 25                      </Appearance>
 26 
                    <!-- ROUTE information for KELP node:  [from KELP_BEND.value_changed to set_spine ] -->
                    <Extrusion DEF='KELPccw='falseconvex='falsecreaseAngle='.78crossSection='1.00 0.00 0.87 0.50 0.50 0.87 0.00 1.00 -0.50 0.87 -0.87 0.50 -1.00 0.00 -0.87 -0.50 -0.50 -0.87 0.00 -1.00 0.50 -0.87 0.87 -0.50 1.00 0.00endCap='falsescale='0.30 0.30 0.29 0.29 0.28 0.28 0.27 0.27 0.26 0.26 0.25 0.25 0.24 0.24 0.23 0.23 0.22 0.22 0.21 0.21 0.19 0.19 0.16 0.16 0.11 0.11 0.05 0.05 0.00 0.00spine='0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 2.00 0.00 0.00 3.00 0.00 0.00 4.00 0.00 0.00 5.00 0.00 0.00 6.00 0.00 0.00 7.00 0.00 0.00 8.00 0.00 0.00 9.00 0.00 0.13 9.50 0.00 0.50 9.87 0.00 1.00 10.00 0.00 5.00 10.00 0.00'/>
 27                 </Shape>
 28            </Transform>
 29            <Transform scale='0.5 0.5 0.5'>
 30                 <Shape>
 31                      <Appearance>
 32                           <Material ambientIntensity='.25diffuseColor='0.57 0.30 0.10emissiveColor='0.52 0.30 0.10shininess='0.92transparency='0.70'/>
 33                      </Appearance>
 34 
                    <!-- ROUTE information for INNER_KELP node:  [from KELP_BEND.value_changed to set_spine ] -->
                    <Extrusion DEF='INNER_KELPccw='falseconvex='falsecreaseAngle='.78crossSection='0.80 0.00 0.69 0.40 0.40 0.69 0.00 0.80 -0.40 0.69 -0.69 0.40 -0.80 0.00 -0.69 -0.40 -0.40 -0.69 0.00 -0.80 0.40 -0.69 0.69 -0.40 0.80 0.00endCap='falsescale='0.30 0.30 0.29 0.29 0.28 0.28 0.27 0.27 0.26 0.26 0.25 0.25 0.24 0.24 0.23 0.23 0.22 0.22 0.21 0.21 0.19 0.19 0.16 0.16 0.11 0.11 0.00 0.00spine='0.00 0.00 0.00 0.00 1.00 0.00 0.00 2.00 0.00 0.00 3.00 0.00 0.00 4.00 0.00 0.00 5.00 0.00 0.00 6.00 0.00 0.00 7.00 0.00 0.00 8.00 0.00 0.00 9.00 0.00 0.13 9.50 0.00 0.50 9.87 0.00 1.00 10.00 0.00 5.00 10.00 0.00'/>
 35                 </Shape>
 36            </Transform>
 37            <Transform>
 38                 <Shape>
 39                      <Appearance>
 40                           <Material ambientIntensity='.25diffuseColor='0.57 0.30 0.10shininess='0.92'/>
 41                      </Appearance>
 42                      <Cone bottomRadius='0.5height='0.5'/>
 43                 </Shape>
 44            </Transform>
 45            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='KELP_BEND' toField='set_fraction'/>
 46            < ROUTE  fromNode='KELP_BEND' fromField='value_changed' toNode='KELP' toField='set_spine'/>
 47            < ROUTE  fromNode='KELP_BEND' fromField='value_changed' toNode='INNER_KELP' toField='set_spine'/>
 48       </Scene>
 49  </X3D>
<!--

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

<!-- to top Index for DEF nodes: CLOCK, INNER_KELP, KELP, KELP_BEND

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Cone, CoordinateInterpolator, Extrusion, head, Material, meta, ROUTE, Scene, Shape, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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

CLOCK
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
KELP_BEND
CoordinateInterpolator
set_fraction
SFFloat
then
 
 
 
KELP_BEND
CoordinateInterpolator
value_changed
MFVec3f

ROUTE
event to
(2)
KELP
Extrusion
set_spine
MFVec3f
  then
 
 
 
KELP_BEND
CoordinateInterpolator
value_changed
MFVec3f

ROUTE
event to
(2)
INNER_KELP
Extrusion
set_spine
MFVec3f
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/X3dForWebAuthors/KelpForestExhibit/KelpFlexibleStipeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpFlexibleStipe.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. -->