| 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=' Basin.x3d '/> |
| 6 | <meta name='description' content='A basin for the kitchen.'/> |
| 7 | <meta name='creator' content='Baris Aktop'/> |
| 8 | <meta name='created' content='8 September 2002'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Basin.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='Basin.x3d'/> |
| 16 | <Group> |
| 17 | <Transform scale='0.5 0.5 0.5'> |
| 18 | <Transform> |
| 19 | <Shape> |
| 20 | <Extrusion creaseAngle='3.14' crossSection='-1 0.9 -0.95 0.95 -0.9 1 0.9 1 0.95 0.95 1 0.9 1 -0.9 0.95 -0.95 0.9 -1 -0.9 -1 -0.95 -0.95 -1 -0.9 -1 0.9' endCap='false' scale='1 1 1.05 1.05 1.1 1.1 1.15 1.15 1.2 1.2 1.25 1.25 1.35 1.35 1.5 1.5' solid='false' spine='0 0 0 0 0.05 0 0 0.1 0 0 0.15 0 0 0.2 0 0 0.8 0 0 0.85 0 0 0.9 0'/> |
| 21 | |
| 22 | <Material diffuseColor='0.9 0.9 0.9' shininess='0.8'/> |
| 23 | </Appearance> |
| 24 | </Shape> |
| 25 | </Transform> |
| 26 | <Transform translation='0 -0.02 0'> |
| 27 | <Shape> |
| 28 | <Cylinder height='0.05' radius='0.15'/> |
| 29 | <Appearance> |
| 30 | <Material diffuseColor='0.3 0.3 0.3'/> |
| 31 | </Appearance> |
| 32 | </Shape> |
| 33 | </Transform> |
| 34 | <Transform rotation='0 1 0 1.57' translation='0 0.015 0'> |
| 35 | <Shape> |
| 36 | <Box size='0.03 0.03 0.3'/> |
| 37 | <Appearance USE='basin'/> |
| 38 | </Shape> |
| 39 | </Transform> |
| 40 | <Transform translation='0 0.015 0'> |
| 41 | <Shape> |
| 42 | <Box size='0.03 0.03 0.3'/> |
| 43 | <Appearance USE='basin'/> |
| 44 | </Shape> |
| 45 | </Transform> |
| 46 | </Transform> |
| 47 | </Group> |
| 48 | <Group> |
| 49 | <Transform translation='0 0.25 0'> |
| 50 | <Shape> |
| 51 | <Appearance> |
| 52 | <Material diffuseColor='0.8 0.6 0'/> |
| 53 |
<ImageTexture DEF='wood'
url=' "wood.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/wood.jpg
" '/>
|
| 54 | </Appearance> |
| 55 | <Extrusion convex='false' crossSection='0.75 -0.7 0.725 -0.725 0.7 -0.75 -0.7 -0.75 -0.725 -0.725 -0.75 -0.7 -0.75 0.7 -0.725 0.725 -0.7 0.75 0.7 0.75 0.725 0.725 0.75 0.7 0.75 -0.695 1.5 -1 1.5 1 -1.5 1 -1.5 -1 1.495 -1 0.75 -0.7' solid='false' spine='0 0 0 0 0.2 0'/> |
| 56 | </Shape> |
| 57 | </Transform> |
| 58 | </Group> |
| 59 | <Group> |
| 60 | <Transform translation='0 0.4 -0.7'> |
| 61 | <Shape> |
| 62 | <Appearance USE='basin'/> |
| 63 | <Extrusion creaseAngle='3.14' crossSection='-0.25 -0.05 0.25 -0.05 0.25 0.05 -0.25 0.05 -0.25 -0.05' scale='1 1 1 1 0.9 0.9 0.8 0.8' solid='false' spine='0 0 0 0 0.03 0 0 0.04 0 0 0.05 0'/> |
| 64 | </Shape> |
| 65 |
<!-- ROUTE information for fountaintrans node:
[from fountain.rotation_changed to set_rotation
]
-->
<Transform DEF='fountaintrans' rotation='1 0 0 0.5' scale='0.05 0.05 0.05' translation='0 0.03 0'> |
| 66 | <Shape> |
| 67 | <Extrusion creaseAngle='3.14' crossSection='1 0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0 -1 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1 0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0 1 0.38 0.92 0.71 0.71 0.92 0.38 1 0' endCap='false' spine='0 0 0 0 5 0 0 6.76 0.16 0 7.42 0.58 0 7.84 1.24 0 8 2 0 7.84 2.76 0 7.42 3.42 0 6.76 3.84'/> |
| 68 |
<!-- Appearance
fountainapp is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='fountainapp'> |
| 69 | <Material diffuseColor='0.95 0.95 0.95' shininess='1'/> |
| 70 | </Appearance> |
| 71 | </Shape> |
| 72 |
<!-- ROUTE information for fountain node:
[from rotation_changed to fountaintrans.set_rotation
]
-->
<SphereSensor DEF='fountain' description='click and drag to rotate'/> |
| 73 | < ROUTE fromNode='fountain' fromField='rotation_changed' toNode='fountaintrans' toField='set_rotation'/> |
| 74 | </Transform> |
| 75 | <Transform translation='-0.15 0.05 0'> |
| 76 | <Shape> |
| 77 | |
| 78 | <Appearance USE='fountainapp'/> |
| 79 | </Shape> |
| 80 | <Sound maxBack='30' maxFront='30' minBack='10' minFront='10'> |
| 81 |
<!-- ROUTE information for waterflow node:
[from water.touchTime to set_startTime
]
[from nowater.touchTime to set_stopTime
]
-->
<AudioClip DEF='waterflow' description='water flow' loop='true' startTime='-1' url=' "waterflow.wav" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/waterflow.wav" '/> |
| 82 | </Sound> |
| 83 |
<!-- ROUTE information for water node:
[from touchTime to waterflow.set_startTime
]
-->
<TouchSensor DEF='water' description='touch to start water sound'/> |
| 84 | < ROUTE fromNode='water' fromField='touchTime' toNode='waterflow' toField='set_startTime'/> |
| 85 | </Transform> |
| 86 | <Transform translation='0.15 0.05 0'> |
| 87 | <Shape> |
| 88 | <Sphere USE='open'/> |
| 89 | <Appearance USE='fountainapp'/> |
| 90 | </Shape> |
| 91 |
<!-- ROUTE information for nowater node:
[from touchTime to waterflow.set_stopTime
]
-->
<TouchSensor DEF='nowater' description='touch to silence water sound'/> |
| 92 | < ROUTE fromNode='nowater' fromField='touchTime' toNode='waterflow' toField='set_stopTime'/> |
| 93 | </Transform> |
| 94 | </Transform> |
| 95 | </Group> |
| 96 | </Scene> |
| 97 | </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.
|
nowater
TouchSensor touchTime SFTime |
waterflow
AudioClip set_stopTime SFTime |
|
water
TouchSensor touchTime SFTime |
waterflow
AudioClip set_startTime SFTime |
|
fountain
SphereSensor rotation_changed SFRotation |
fountaintrans
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.
-->