<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interchange'
version='3.3'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-3.3.xsd
'
>
<head>
</head>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
Clock,
Rotator,
Sail,
Sails,
Tile,
Wood
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4,
Viewpoint_5,
Viewpoint_6
-->
<Scene>
<!-- EXPERIMENTATION -->
<!-- Add additional windmills to the world. Make each windmill's sails rotate at a slightly different speed. This will insure that the windmills don't all rotate in sync, thereby making the scene look more natural. -->
<!-- Make the windmill door an anchor. Clicking on the door leads to another world describing the windmill interior. -->
<!-- Add panorama cloud and mountain textures to the Background node. -->
<!-- Remove the windmill's sails and, instead, create a rotating water wheel. -->
<WorldInfo info='"Copyright (c) 1997, David R. Nadeau"' title='Windmill'/>
<Viewpoint description='Entry view' orientation='1.0 0.0 0.0 0.2' position='0.0 1.65 35.0'/>
<Viewpoint description='Close-up' orientation='1.0 0.0 0.0 0.5' position='0.0 1.65 15.0'/>
<Viewpoint description='Front door' orientation='0.0 1.0 0.0 0.785' position='7.05 1.65 7.05'/>
<Viewpoint description='Far away' orientation='0.0 1.0 0.0 2.356' position='35.0 1.65 -35.0'/>
<Viewpoint description='Roof top' orientation='0.00128 0.959 0.282 3.1503' position='0.0 14.43 2.0'/>
<NavigationInfo headlight='false' speed='3.0'/>
<Background skyAngle='1.3 1.471' skyColor='0.0 0.2 0.8 0.1 0.3 0.9 0.7 0.7 0.7'/>
<DirectionalLight ambientIntensity='0.8' direction='-1.0 -1.0 -1.0'/>
<Transform translation='0.0 -0.005 0.0'>
<Shape>
<Appearance>
</Appearance>
<IndexedFaceSet coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'>
<TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/>
<Coordinate point='-100.0 0.0 100.0 100.0 0.0 100.0 100.0 0.0 -100.0 -100.0 0.0 -100.0'/>
</IndexedFaceSet>
</Shape>
</Transform>
<Transform translation='0.0 5.0 0.0'>
<Shape>
<Appearance>
</Appearance>
<Cylinder bottom='false' height='10.0' radius='5.0' top='false'/>
</Shape>
</Transform>
<Transform translation='0.0 12.0 0.0'>
<Shape>
<Appearance DEF='Tile'>
</Appearance>
<Cone bottomRadius='6.0' height='4.0'/>
</Shape>
</Transform>
<Transform rotation='0.0 1.0 0.0 0.785' translation='3.55 0.0 3.55'>
<Transform translation='0.0 3.6 0.0'>
<Shape>
<Appearance USE='
Tile'/>
<Cone bottomRadius='1.5'/>
</Shape>
</Transform>
<Shape>
<Appearance>
</Appearance>
<IndexedFaceSet coordIndex='0 1 2 3 -1 4 0 3 7 -1 1 5 6 2 -1' texCoordIndex='0 1 2 3 -1 4 5 6 7 -1 4 5 6 7 -1'>
<TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 0.0 0.0 0.08 0.0 0.08 1.0 0.0 1.0'/>
<Coordinate point='-0.7 0.0 0.15 0.7 0.0 0.15 0.7 2.9 0.15 -0.7 2.9 0.15 -0.7 0.0 -0.05 0.7 0.0 -0.05 0.7 2.9 -0.05 -0.7 2.9 -0.05'/>
</IndexedFaceSet>
</Shape>
<Transform translation='0.0 0.05 0.5'>
<Shape>
<Appearance>
<Material diffuseColor='0.4 0.4 0.4'/>
</Appearance>
<Box size='2.0 0.1 1.0'/>
</Shape>
</Transform>
</Transform>
<Viewpoint description='On a sail' position='0.0 6.5 -0.1'/>
<Transform rotation='1.0 0.0 0.0 1.571' translation='0.0 0.0 -0.75'>
<Shape>
<Appearance DEF='Wood'>
<Material diffuseColor='0.6 0.4 0.0'/>
</Appearance>
<Cylinder bottom='false' height='1.5' radius='0.8'/>
</Shape>
</Transform>
<Transform DEF='Sail' translation='0.0 3.5 0.1'>
<Transform translation='0.0 1.0 0.1'>
<Shape>
<Appearance>
</Appearance>
<Box size='2.0 6.0 0.1'/>
</Shape>
</Transform>
<Shape>
<Appearance USE='
Wood'/>
<Box size='0.1 7.0 0.1'/>
</Shape>
</Transform>
<Transform rotation='0.0 0.0 1.0 1.571'>
</Transform>
<Transform rotation='0.0 0.0 1.0 -1.571'>
</Transform>
<Transform rotation='0.0 0.0 1.0 3.141'>
</Transform>
</Transform>
<
ROUTE
fromNode='
Clock' fromField='fraction_changed' toNode='
Rotator' toField='set_fraction'/>
<
ROUTE
fromNode='
Rotator' fromField='value_changed' toNode='
Sails' toField='set_rotation'/>
</Scene>
</X3D>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
Clock,
Rotator,
Sail,
Sails,
Tile,
Wood
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4,
Viewpoint_5,
Viewpoint_6
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/WindmillIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Windmill.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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->