| 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=' FenceGate.x3d '/> |
| 6 | <meta name='description' content='Gate for outside fence'/> |
| 7 | <meta name='creator' content='Baris AKTOP'/> |
| 8 | <meta name='created' content='14 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/FenceGate.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='FenceGate.x3d'/> |
| 16 | <Group> |
| 17 | <Transform> |
| 18 |
<!-- Shape
fence is a DEF node that has 30 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13, USE_14, USE_15, USE_16, USE_17, USE_18, USE_19, USE_20, USE_21, USE_22, USE_23, USE_24, USE_25, USE_26, USE_27, USE_28, USE_29, USE_30 -->
<Shape DEF='fence'> |
| 19 | <Extrusion creaseAngle='3.14' crossSection='-0.1 0.025 -0.1 -0.025 0.1 -0.025 0.1 0.025 -0.1 0.025' scale='1 1 1 1 1 1 0.85 0.85 0.7 0.7 0.55 0.55' spine='0 0 0 0 0.9 0 0 0.925 0 0 0.95 0 0 0.975 0 0 1 0'/> |
| 20 | <Appearance> |
| 21 | <Material diffuseColor='1 0.9 0'/> |
| 22 |
<!-- ImageTexture
wood is a DEF node that has 1 USE node: USE_1 --> <ImageTexture DEF='wood' url=' "wood.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/wood.jpg
" '/>
|
| 23 | </Appearance> |
| 24 | </Shape> |
| 25 | </Transform> |
| 26 | <Transform translation='0.25 0 0'> |
| 27 | <Shape USE='fence'/> |
| 28 | </Transform> |
| 29 | <Transform translation='0.5 0 0'> |
| 30 | <Shape USE='fence'/> |
| 31 | </Transform> |
| 32 | <Transform translation='0.75 0 0'> |
| 33 | <Shape USE='fence'/> |
| 34 | </Transform> |
| 35 | <Transform translation='1 0 0'> |
| 36 | <Shape USE='fence'/> |
| 37 | </Transform> |
| 38 | <Transform translation='1.25 0 0'> |
| 39 | <Shape USE='fence'/> |
| 40 | </Transform> |
| 41 | <Transform translation='1.5 0 0'> |
| 42 | <Shape USE='fence'/> |
| 43 | </Transform> |
| 44 | <Transform translation='1.75 0 0'> |
| 45 | <Shape USE='fence'/> |
| 46 | </Transform> |
| 47 | <Transform translation='2 0 0'> |
| 48 | <Shape USE='fence'/> |
| 49 | </Transform> |
| 50 | <Transform translation='2.25 0 0'> |
| 51 | <Shape USE='fence'/> |
| 52 | </Transform> |
| 53 | <Transform translation='2.5 0 0'> |
| 54 | <Shape USE='fence'/> |
| 55 | </Transform> |
| 56 | <Transform translation='2.75 0 0'> |
| 57 | <Shape USE='fence'/> |
| 58 | </Transform> |
| 59 | <Transform translation='3 0 0'> |
| 60 | <Shape USE='fence'/> |
| 61 | </Transform> |
| 62 |
<!-- ROUTE information for gate node:
[from gatesensor.rotation_changed to set_rotation
]
-->
<Transform DEF='gate' center='3.125 0 0'> |
| 63 | <Group> |
| 64 | <Transform translation='3.25 0 0'> |
| 65 | <Shape USE='fence'/> |
| 66 | </Transform> |
| 67 | <Transform translation='3.5 0 0'> |
| 68 | <Shape USE='fence'/> |
| 69 | </Transform> |
| 70 | <Transform translation='3.75 0 0'> |
| 71 | <Shape USE='fence'/> |
| 72 | </Transform> |
| 73 | <Transform translation='4 0 0'> |
| 74 | <Shape USE='fence'/> |
| 75 | </Transform> |
| 76 | <Transform translation='4.25 0 0'> |
| 77 | <Shape USE='fence'/> |
| 78 | </Transform> |
| 79 | <Transform translation='4.5 0 0'> |
| 80 | <Shape USE='fence'/> |
| 81 | </Transform> |
| 82 | <Transform translation='3.875 0.8 0'> |
| 83 | |
| 84 | <Box size='1.3 0.1 0.1'/> |
| 85 | <Appearance> |
| 86 | <ImageTexture USE='wood'/> |
| 87 | <Material diffuseColor='1 0.9 0'/> |
| 88 | </Appearance> |
| 89 | </Shape> |
| 90 | </Transform> |
| 91 | <Transform translation='3.875 0.3 0'> |
| 92 | <Shape USE='bar'/> |
| 93 | </Transform> |
| 94 | </Group> |
| 95 |
<!-- ROUTE information for gatesensor node:
[from rotation_changed to gate.set_rotation
]
-->
<CylinderSensor DEF='gatesensor' description='click and drag to rotate' maxAngle='2.5' minAngle='-2.5'/> |
| 96 | < ROUTE fromNode='gatesensor' fromField='rotation_changed' toNode='gate' toField='set_rotation'/> |
| 97 | </Transform> |
| 98 | <Transform translation='4.75 0 0'> |
| 99 | <Shape USE='fence'/> |
| 100 | </Transform> |
| 101 | <Transform translation='5 0 0'> |
| 102 | <Shape USE='fence'/> |
| 103 | </Transform> |
| 104 | <Transform translation='5.25 0 0'> |
| 105 | <Shape USE='fence'/> |
| 106 | </Transform> |
| 107 | <Transform translation='5.5 0 0'> |
| 108 | <Shape USE='fence'/> |
| 109 | </Transform> |
| 110 | <Transform translation='5.75 0 0'> |
| 111 | <Shape USE='fence'/> |
| 112 | </Transform> |
| 113 | <Transform translation='6 0 0'> |
| 114 | <Shape USE='fence'/> |
| 115 | </Transform> |
| 116 | <Transform translation='6.25 0 0'> |
| 117 | <Shape USE='fence'/> |
| 118 | </Transform> |
| 119 | <Transform translation='6.5 0 0'> |
| 120 | <Shape USE='fence'/> |
| 121 | </Transform> |
| 122 | <Transform translation='6.75 0 0'> |
| 123 | <Shape USE='fence'/> |
| 124 | </Transform> |
| 125 | <Transform translation='7 0 0'> |
| 126 | <Shape USE='fence'/> |
| 127 | </Transform> |
| 128 | <Transform translation='7.25 0 0'> |
| 129 | <Shape USE='fence'/> |
| 130 | </Transform> |
| 131 | <Transform translation='7.5 0 0'> |
| 132 | <Shape USE='fence'/> |
| 133 | </Transform> |
| 134 | </Group> |
| 135 | </Scene> |
| 136 | </X3D> |
Event Graph ROUTE Table with 1 ROUTE connection 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.
|
gatesensor
CylinderSensor rotation_changed SFRotation |
gate
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.
-->