<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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 ' >
<head>
<meta name='titlecontent=' IkeaRockingHorse.x3d '/>
<meta name='descriptioncontent='X3D example Model of an Ikea Rocking Horse'/>
<meta name='createdcontent='3 March 2004'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='creatorcontent='Vaughn Pangelinan'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/IkeaRockingHorse.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='IkeaRockingHorse.x3d'/>
<Viewpoint DEF='HorseViewRightdescription='See Horse Straight OnfieldOfView='1.4position='0 12 22'/>
<Transform rotation='1 0 0 -1.57'>
<Transform>
<!-- ROUTE information for RockingHorseTransform node:  [from HorsePlaneSensor.translation_changed to set_translation ] -->
<Transform DEF='RockingHorseTransform'>
<!-- ROUTE information for AutoRotateTransform node:  [from HorsePathInterpolator.value_changed to set_rotation ] -->
<Transform DEF='AutoRotateTransformcenter='0 50 0'>
<Viewpoint DEF='HorseViewOverheaddescription='Rock With Horse From OverheadfieldOfView='1.1position='0 0 40'/>
<!-- ROUTE information for HorsePlaneSensor node:  [from translation_changed to RockingHorseTransform.set_translation ] -->
<PlaneSensor DEF='HorsePlaneSensordescription='Moves Horse around FloormaxPosition='15 15minPosition='-15 -15'/>

< ROUTE  fromNode=' HorsePlaneSensor' fromField='translation_changed' toNode=' RockingHorseTransform' toField='set_translation'/>
<Transform rotation='1 0 0 1.57translation='0 2 2'>
<Group>
<Transform scale='1.5 1 1translation='0 0 6'>
<Shape DEF='Rocker'>
<Extrusion convex='falsecreaseAngle='.785crossSection='-2 -1 2 -1 2 1 -2 1 -2 -1scale='.2 1 .6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 .6 1 .2 1solid='falsespine='-15 2.6 0 -14 2.25 0 -13 1.89 0 -12 1.6 0 -11 1.3 0 -10 1.08 0 -9 0.86 0 -8 0.66 0 -7 0.51 0 -6 0.39 0 -5 0.3 0 -4 0.19 0 -3 0.13 0 -2 0.07 0 -1 0.04 0 0 0 0 1 0.04 0 2 0.07 0 3 0.13 0 4 0.19 0 5 0.3 0 6 0.39 0 7 0.51 0 8 0.66 0 9 0.86 0 10 1.08 0 11 1.3 0 12 1.6 0 13 1.89 0 14 2.25 0 15 2.6 0'/>
<Appearance>
<Material DEF='WooddiffuseColor='.6 .5 .2'/>
</Appearance>
</Shape>
</Transform>
<Transform scale='1.5 1 1translation='0 0 -6'>
<Shape USE=' Rocker'/>
</Transform>
<Transform translation='-8 1.75 0'>
<Shape DEF='RockerCrossBar'>
<Appearance>
<Material USE=' Wood'/>
</Appearance>
<Box size='4 .75 12'/>
</Shape>
</Transform>
<Transform translation='8 1.75 0'>
<Shape USE=' RockerCrossBar'/>
</Transform>
<Transform translation='8 1.75 4'>
<Shape DEF='RockerHindLeg'>
<Appearance>
<Material DEF='NewGreendiffuseColor='.1 .6 .1'/>
</Appearance>
<Extrusion convex='falsecreaseAngle='.785crossSection='-2 -.5 2 -.5 2 .5 -2 .5 -2 -.5scale='1 1 .9 1 .8 1 .75 1 .8 1 .9 1 1 1 1 1solid='falsespine='0 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 12 0'/>
</Shape>
</Transform>
<Transform translation='8 1.75 -4'>
<Shape USE=' RockerHindLeg'/>
</Transform>
<Transform scale='1 1 .5translation='3 14.25 0'>
<Shape DEF='RockerSeat'>
<Appearance>
<Material DEF='NewBluediffuseColor='.1 .1 .6'/>
</Appearance>
<Cylinder height='1radius='12'/>
</Shape>
</Transform>
<Transform translation='-9.99 1.75 0'> </Transform>
<Transform rotation='0 0 1 3.14scale='1 1 1.35translation='10 19.8 3.6'>
<Transform rotation='0 1 0 1.57'>
<Transform rotation='1 0 0 .3'>
<Shape DEF='SeatBack'>
<Appearance>
<Material DEF='NewYellowdiffuseColor='.8 .8 .1'/>
</Appearance>
<Extrusion convex='falsecreaseAngle='.785crossSection='0 6 0 1.976470588 0.635294118 0.988235294 1.270588235 0.423529412 2.117647059 0.070588235 2.752941176 0 3.6 0.211764706 4.376470588 0.705882353 4.870588235 1.482352941 5.082352941 2.258823529 5.082352941 6 0 6solid='falsespine='0 0 .5 0 0 -.5'/>
</Shape>
</Transform>
</Transform>
</Transform>
<Transform rotation='1 0 0 1.57translation='-6.5 24 0'>
<Shape DEF='RockerHandle'>
<Appearance>
<Material USE=' Wood'/>
</Appearance>
<Cylinder height='10radius='.75'/>
</Shape>
</Transform>
<Transform rotation='1 0 0 1.57translation='-8.5 21 0'>
<Shape DEF='RockerEye'>
<Appearance>
<Material diffuseColor='0.1 0.1 0.1'/>
</Appearance>
<Cylinder height='1.01radius='.75'/>
</Shape>
</Transform>
</Group>
</Transform>
</Transform>
<!-- ROUTE information for CLOCK node:  [from fraction_changed to HorsePathInterpolator.set_fraction ] -->
<TimeSensor DEF='CLOCKcycleInterval='2loop='true'/>

<!-- ROUTE information for HorsePathInterpolator node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to AutoRotateTransform.set_rotation ] -->
<OrientationInterpolator DEF='HorsePathInterpolatorkey='0.0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1.0keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 .04 0.0 1.0 0.0 .08 0.0 1.0 0.0 .04 0.0 1.0 0.0 0.0 0.0 1.0 0.0 -.04 0.0 1.0 0.0 -.08 0.0 1.0 0.0 -.04 0.0 1.0 0.0 0.0'/>

< ROUTE  fromNode=' CLOCK' fromField='fraction_changed' toNode=' HorsePathInterpolator' toField='set_fraction'/>
< ROUTE  fromNode=' HorsePathInterpolator' fromField='value_changed' toNode=' AutoRotateTransform' toField='set_rotation'/>
</Transform>
</Transform>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: AutoRotateTransform, CLOCK, HorseFront, HorsePathInterpolator, HorsePlaneSensor, HorseViewOverhead, HorseViewRight, NewBlue, NewGreen, NewRed, NewYellow, Rocker, RockerCrossBar, RockerEye, RockerHandle, RockerHindLeg, RockerSeat, RockingHorseTransform, SeatBack, Wood

Index for Viewpoint nodes: HorseViewOverhead, HorseViewRight
-->

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.

CLOCK
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
HorsePathInterpolator
OrientationInterpolator
set_fraction
SFFloat

 
 
then
HorsePathInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
AutoRotateTransform
Transform
set_rotation
SFRotation


HorsePlaneSensor
PlaneSensor
translation_changed
SFVec3f

ROUTE
event to
(1)
RockingHorseTransform
Transform
set_translation
SFVec3f


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/IkeaRockingHorseIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/StudentProjects/IkeaRockingHorse.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. -->