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='KelpFlexibleStipe.x3d'/> |
6 | <meta name='creator' content='Matthew Braun'/> |
7 | <meta name='created' content='2 October 2001'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='description' content='An extruded piece of kelp for the Kelp Forest project. Bulb is separate.'/> |
10 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpFlexibleStipe.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='license' content='../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='KelpFlexibleStipe.x3d'/> |
16 | <Viewpoint description='Kelp stipe and holdfast' position='0 5 13'/> |
17 | <!-- Animation clock --> |
18 |
<!-- ROUTE information for CLOCK node:
[from fraction_changed to KELP_BEND.set_fraction
]
-->
<TimeSensor DEF='CLOCK' cycleInterval='4' loop='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_BEND' key='0.0 0.22 0.50 0.72 1.0' keyValue='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='.25' diffuseColor='0.57 0.40 0.10' shininess='0.92' transparency='0.50'/> |
25 | </Appearance> |
26 |
<!-- ROUTE information for KELP node:
[from KELP_BEND.value_changed to set_spine
]
-->
<Extrusion DEF='KELP' ccw='false' convex='false' creaseAngle='.78' crossSection='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.00' endCap='false' scale='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.00' spine='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='.25' diffuseColor='0.57 0.30 0.10' emissiveColor='0.52 0.30 0.10' shininess='0.92' transparency='0.70'/> |
33 | </Appearance> |
34 |
<!-- ROUTE information for INNER_KELP node:
[from KELP_BEND.value_changed to set_spine
]
-->
<Extrusion DEF='INNER_KELP' ccw='false' convex='false' creaseAngle='.78' crossSection='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.00' endCap='false' scale='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.00' spine='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='.25' diffuseColor='0.57 0.30 0.10' shininess='0.92'/> |
41 | </Appearance> |
42 | <Cone bottomRadius='0.5' height='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 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 |
KELP_BEND
CoordinateInterpolator set_fraction SFFloat |
then
|
KELP_BEND
CoordinateInterpolator value_changed MFVec3f |
KELP
Extrusion set_spine MFVec3f |
||
then
|
KELP_BEND
CoordinateInterpolator value_changed MFVec3f |
INNER_KELP
Extrusion set_spine MFVec3f |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->