| 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=' Tire.x3d '/> |
| 6 | <meta name='description' content='Tire for MEFFV Vehicles'/> |
| 7 | <meta name='creator' content="Converted from Jeffrey D Weekley's Automotive Tire by Sean Hynes"/> |
| 8 | <meta name='created' content='12 September 2002'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/GroundVehicles/MEFFV/Tire.x3d '/> |
| 11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 12 | <meta name='license' content='../../license.html'/> |
| 13 | </head> |
| 14 | <Scene> |
| 15 | <WorldInfo title='Tire.x3d'/> |
| 16 | <Background skyColor='0.455896 0.749706 0.904409'/> |
| 17 |
<!-- ROUTE information for TireTransform node:
[from TirePathInterpolator.value_changed to set_rotation
]
-->
<Transform DEF='TireTransform'> |
| 18 | <Group DEF='TIREG'> |
| 19 | <Shape DEF='TIRE'> |
| 20 | <Extrusion DEF='Tire' beginCap='false' convex='false' creaseAngle='3.14' crossSection='0.71 0.00 0.71 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -0.92 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.71 0.38 0.71 0.00' endCap='false' spine='2.00 0.0 0.00 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.00 0.0 2.00 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.00 0.0 0.00 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.00 0.0 -2.00 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.00 0.0 0.00'/> |
| 21 | <Appearance> |
| 22 | <Material diffuseColor='0.2 0.2 0.2' shininess='0.1'/> |
| 23 | </Appearance> |
| 24 | </Shape> |
| 25 | <Shape DEF='HUB'> |
| 26 | <Appearance> |
| 27 | <Material diffuseColor='0.2 0.2 0.2' shininess='0.1'/> |
| 28 |
<!-- ImageTexture
CAMMIE is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <ImageTexture DEF='CAMMIE' url=' "../AAAV/cammie2.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie2.jpg
" '/>
|
| 29 | </Appearance> |
| 30 | <Cylinder height='0.8' radius='1.3'/> |
| 31 | </Shape> |
| 32 | <Shape DEF='HUBOUT'> |
| 33 | <Appearance> |
| 34 | <Material diffuseColor='0.2 0.2 0.2' shininess='0.1'/> |
| 35 | <ImageTexture USE='CAMMIE'/> |
| 36 | </Appearance> |
| 37 | <Cylinder bottom='false' height='1.0' radius='1.2' top='false'/> |
| 38 | </Shape> |
| 39 | <Shape DEF='HUBIN'> |
| 40 | <Appearance> |
| 41 | <Material diffuseColor='0.2 0.2 0.2' shininess='0.1'/> |
| 42 | <ImageTexture USE='CAMMIE'/> |
| 43 | </Appearance> |
| 44 | <Cylinder height='1.2' radius='0.4'/> |
| 45 | </Shape> |
| 46 |
<!-- ROUTE information for TireTouchSensor node:
[from isOver to TireClock.set_enabled
]
-->
<TouchSensor DEF='TireTouchSensor'/> |
| 47 |
<!-- ROUTE information for TireClock node:
[from TireTouchSensor.isOver to set_enabled
]
[from fraction_changed to TirePathInterpolator.set_fraction
]
-->
<TimeSensor DEF='TireClock' enabled='false' loop='true'/> |
| 48 |
<!-- ROUTE information for TirePathInterpolator node:
[from TireClock.fraction_changed to set_fraction
]
[from value_changed to TireTransform.set_rotation
]
-->
<OrientationInterpolator DEF='TirePathInterpolator' key='0.0 0.5 1.0' keyValue='0 1 0 0.0 0 1 0 3.14 0 1 0 6.28'/> |
| 49 | </Group> |
| 50 | </Transform> |
| 51 | < ROUTE fromNode='TireTouchSensor' fromField='isOver' toNode='TireClock' toField='set_enabled'/> |
| 52 | < ROUTE fromNode='TireClock' fromField='fraction_changed' toNode='TirePathInterpolator' toField='set_fraction'/> |
| 53 | < ROUTE fromNode='TirePathInterpolator' fromField='value_changed' toNode='TireTransform' toField='set_rotation'/> |
| 54 | </Scene> |
| 55 | </X3D> |
Event Graph ROUTE Table entries 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.
|
TireTouchSensor
TouchSensor isOver SFBool |
TireClock
TimeSensor set_enabled SFBool |
then
|
TireClock
TimeSensor fraction_changed SFFloat |
TirePathInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
TirePathInterpolator
OrientationInterpolator value_changed SFRotation |
TireTransform
Transform set_rotation SFRotation |
<!--
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.
-->