<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN"					"http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive'>
<head>
    <meta name='filename' content='MyWorld.x3d'/>
    <meta name='description' content='My first X3D World'/>
</head>
<Scene>
    <Group DEF='GroupOne'>
	<Transform DEF='KugelTransform' translation='0 3 -1'>
	    <Shape>
		<Sphere/>
		<Appearance>
		    <Material diffuseColor='1 0 0'/>
		</Appearance>
	    </Shape>
	</Transform>
	<Transform DEF='BoxTransform'
		translation='0 0 -1' rotation='1 0 1 0.78'>
		<Transform DEF='BoxTransform2' rotation='0 1 0 0.78'>
		    <Shape>
			<Box size='1.3 1.3 1.3'/>
			<Appearance>
			    <Material diffuseColor='0 1 0'/>
			</Appearance>
		    </Shape>
		</Transform>
	</Transform>
	<Transform DEF='ConeTransform'
		translation='0 -3 -1' rotation='1 1 0 0.78'>
	    <Shape>
		<Cylinder radius='0.8' height='1.3'/>
		<Appearance>
		    <Material diffuseColor='1 1 0'/>
		</Appearance>
	    </Shape>
	</Transform>
    </Group>
    <TimeSensor DEF='KugelTimer' cycleInterval='1' loop='true'/>
    <PositionInterpolator DEF='KugelPosition'
	    keyValue='1 3 -1, 0 3 -1, -1 3 -1, 0 3 -1, 1 3 -1'
	    key='0 0.25 0.50 0.75 1.0'/>
    <ROUTE fromNode='KugelTimer'
	    fromField='fraction_changed' toNode='KugelPosition'
	    toField='set_fraction'/>
    <ROUTE fromNode='KugelPosition'
	    fromField='value_changed' toNode='KugelTransform'
	    toField='set_translation'/>
    <TimeSensor DEF='BoxTimer' cycleInterval='2' loop='true'/>
    <PositionInterpolator DEF='BoxPosition'
	    keyValue='1 0 -1, 0 0 -1, -1 0 -1, 0 0 -1, 1 0 -1'
	    key='0 0.25 0.50 0.75 1.0'/>
    <ROUTE fromNode='BoxTimer'
	    fromField='fraction_changed' toNode='BoxPosition'
	    toField='set_fraction'/>
    <ROUTE fromNode='BoxPosition'
	    fromField='value_changed' toNode='BoxTransform'
	    toField='set_translation'/>
    <OrientationInterpolator DEF='BoxRotation'
	    keyValue='0 1 0 0, 0 1 0 3.14'
	    key='0 1.0'/>
    <ROUTE fromNode='BoxTimer'
	    fromField='fraction_changed' toNode='BoxRotation'
	    toField='set_fraction'/>
    <ROUTE fromNode='BoxRotation'
	    fromField='value_changed' toNode='BoxTransform2'
	    toField='set_rotation'/>
    <TimeSensor DEF='ConeTimer' cycleInterval='4' loop='true'/>
    <PositionInterpolator DEF='ConePosition'
	    keyValue='1 -3 -1, 0 -3 -1, -1 -3 -1, 0 -3 -1, 1 -3 -1'
	    key='0 0.25 0.50 0.75 1.0'/>
    <ROUTE fromNode='ConeTimer'
	    fromField='fraction_changed' toNode='ConePosition'
	    toField='set_fraction'/>
    <ROUTE fromNode='ConePosition'
	    fromField='value_changed' toNode='ConeTransform'
	    toField='set_translation'/>
</Scene>
</X3D>

