| 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='title' content=' KelpBulb.x3d '/> |
| 6 | <meta name='description' content='One leaf of Kelp moving around a Bulb. Cycle time is 11 seconds, which is twice the cycle time of tank surface motion.'/> |
| 7 | <meta name='creator' content='Joseph Cannon, Dan DeVos'/> |
| 8 | <meta name='created' content='25 September 1998'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='reference' content=' KelpPrototype.x3d '/> |
| 11 | <meta name='reference' content='http://faculty.nps.edu/brutzman/kelp'/> |
| 12 | <meta name='reference' content=' KelpForestDesignPaperWeb3dSymposiumFebruary2002.pdf '/> |
| 13 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestDesignPaperWeb3dSymposiumFebruary2002.pdf '/> |
| 14 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/Teaching3d-KelpForestCaseStudy.pdf '/> |
| 15 | <meta name='accessRights' content='All content has permissions for free use. Please provide credit to the Naval Postgraduate School (NPS) Modeling Virtual Environments and Simulation (MOVES) Institute.'/> |
| 16 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpBulb.x3d '/> |
| 17 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 18 | <meta name='license' content='../license.html'/> |
| 19 | </head> |
| 20 | <Scene> |
| 21 | <WorldInfo title='KelpBulb.x3d'/> |
| 22 | <Group> |
| 23 | <Group> |
| 24 | <Transform rotation='0.0 0.0 1.0 1.5707'> |
| 25 | <Shape DEF='Stem'> |
| 26 | <Appearance> |
| 27 |
<!-- Material
stipeColor is a DEF node that has 1 USE node: USE_1 --> <Material DEF='stipeColor' diffuseColor='0.882 0.757 0.184'/> |
| 28 | </Appearance> |
| 29 | <Cylinder height='2.5' radius='0.15'/> |
| 30 | </Shape> |
| 31 | </Transform> |
| 32 | <Transform scale='0.75 0.6 0.6' translation='1.8 0.0 0.0'> |
| 33 | <Shape DEF='Bulb'> |
| 34 | <Appearance> |
| 35 | <Material USE='stipeColor'/> |
| 36 | </Appearance> |
| 37 | <Sphere/> |
| 38 | </Shape> |
| 39 | </Transform> |
| 40 | </Group> |
| 41 | <LOD DEF='Leaf' range='90'> |
| 42 | <Transform> |
| 43 | <Shape DEF='HighResolutionLeaf'> |
| 44 | <Appearance> |
| 45 | <Material diffuseColor='0.694 0.525 0.176'/> |
| 46 | </Appearance> |
| 47 |
<!-- ROUTE information for BLADE_SHAPE node:
[from BLADE_MOTION.value_changed to set_spine
]
-->
<Extrusion DEF='BLADE_SHAPE' beginCap='false' creaseAngle='1.57' crossSection='0.06 1.0 0.06 -1.0 -0.06 -1.0 -0.06 1.0' endCap='false' orientation='0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.2 0.0 1.0 0.0 0.9 0.0 1.0 0.0 0.45 0.0 1.0 0.0 0.0' scale='1.0 0.1 1.0 0.3 1.0 0.55 1.0 0.75 1.0 0.4 1.0 0.01' solid='false' spine='1.9 0.0 0.0 2.5 0.0 0.0 4.0 0.0 0.0 7.0 0.0 0.0 16.0 0.0 0.0 21.0 0.0 0.0'/> |
| 48 | </Shape> |
| 49 | </Transform> |
| 50 | <Transform translation='1.0 0.0 0.0'> |
| 51 | <Shape DEF='LowResolutionLeaf'> |
| 52 | <Appearance> |
| 53 | <Material diffuseColor='0.694 0.525 0.176'/> |
| 54 | </Appearance> |
| 55 | <IndexedFaceSet solid='false' coordIndex='1 0 9 -1 2 1 9 8 -1 3 2 8 7 -1 4 3 7 6 -1 5 4 6'> |
| 56 | <Coordinate point='0.0 0.0 0.0 1.0 0.5 0.0 4.0 1.1 0.0 7.0 1.5 0.0 16.0 0.8 0.0 21.0 0.0 0.0 16.0 -0.8 0.0 7.0 -1.5 0.0 4.0 -1.1 0.0 1.0 -0.5 0.0'/> |
| 57 | </IndexedFaceSet> |
| 58 | </Shape> |
| 59 | </Transform> |
| 60 | </LOD> |
| 61 | </Group> |
| 62 |
<!-- ROUTE information for ANIMATOR node:
[from fraction_changed to BLADE_MOTION.set_fraction
]
-->
<TimeSensor DEF='ANIMATOR' cycleInterval='11.0' loop='true'/> |
| 63 |
<!-- ROUTE information for BLADE_MOTION node:
[from ANIMATOR.fraction_changed to set_fraction
]
[from value_changed to BLADE_SHAPE.set_spine
]
-->
<CoordinateInterpolator DEF='BLADE_MOTION' key='0.0 0.25 0.5 0.75 1.0' keyValue='1.9 0.0 0.0 2.5 0.0 0.0 4.0 0.0 0.0 7.0 0.0 0.0 16.0 0.0 0.0 21.0 0.0 0.0 1.9 0.0 0.0 2.5 0.6 0.0 4.0 1.0 0.0 7.0 3.0 0.0 16.0 3.5 0.0 21.0 0.0 0.0 1.9 0.0 0.0 2.5 0.0 0.0 4.0 0.0 0.0 7.0 0.0 0.0 16.0 0.6 0.0 21.0 2.0 0.0 1.9 0.0 0.0 2.5 -0.6 0.0 4.0 -1.0 0.0 7.0 -3.0 0.0 16.0 -3.5 0.0 21.0 0.0 0.0 1.9 0.0 0.0 2.5 0.0 0.0 4.0 0.0 0.0 7.0 0.0 0.0 16.0 0.0 0.0 21.0 0.0 0.0'/> |
| 64 | < ROUTE fromNode='ANIMATOR' fromField='fraction_changed' toNode='BLADE_MOTION' toField='set_fraction'/> |
| 65 | < ROUTE fromNode='BLADE_MOTION' fromField='value_changed' toNode='BLADE_SHAPE' toField='set_spine'/> |
| 66 | </Scene> |
| 67 | </X3D> |
Event Graph ROUTE Table 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.
|
ANIMATOR
TimeSensor fraction_changed SFFloat |
BLADE_MOTION
CoordinateInterpolator set_fraction SFFloat |
then
|
BLADE_MOTION
CoordinateInterpolator value_changed MFVec3f |
BLADE_SHAPE
Extrusion set_spine MFVec3f |
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->