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='Interactive' 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='Chair.x3d'/> |
6 | <meta name='description' content='Simple chair.'/> |
7 | <meta name='creator' content='Baris AKTOP'/> |
8 | <meta name='created' content='16 August 2002'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content='https://savage.nps.edu/Savage/Buildings/HouseBarisAktop/Chair.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='Chair.x3d'/> |
16 |
<!-- ROUTE information for chair node:
[from chairSensor.translation_changed to set_translation
]
-->
<Transform DEF='chair'> |
17 | <Group> |
18 | <Transform rotation='1 0 0 0.2' translation='-0.5 0.5 -0.5'> |
19 | |
20 | <Cylinder height='1' radius='0.1'/> |
21 | <Appearance DEF='chairapp'> |
22 | <Material diffuseColor='0.8 0.5 0'/> |
23 | |
24 | </Appearance> |
25 | </Shape> |
26 | </Transform> |
27 | <Transform rotation='1 0 0 0.2' translation='0.5 0.5 -0.5'> |
28 | <Shape USE='chairLeg'/> |
29 | </Transform> |
30 | <Transform rotation='1 0 0 -0.2' translation='-0.5 0.5 0.5'> |
31 | <Shape USE='chairLeg'/> |
32 | </Transform> |
33 | <Transform rotation='1 0 0 -0.2' translation='0.5 0.5 0.5'> |
34 | <Shape USE='chairLeg'/> |
35 | </Transform> |
36 | <Transform translation='0 1 0'> |
37 | <Shape> |
38 | <Box size='1.2 0.1 1.2'/> |
39 | <Appearance> |
40 | <Material diffuseColor='0.8 0.5 0'/> |
41 | <ImageTexture USE='wood'/> |
42 | </Appearance> |
43 | </Shape> |
44 | </Transform> |
45 | <Transform rotation='1 0 0 -0.4' translation='-0.5 1.5 -0.7'> |
46 | |
47 | <Cylinder height='1.1' radius='0.08'/> |
48 | <Appearance> |
49 | <Material diffuseColor='0.8 0.5 0'/> |
50 | <ImageTexture USE='wood'/> |
51 | </Appearance> |
52 | </Shape> |
53 | </Transform> |
54 | <Transform rotation='1 0 0 -0.4' translation='0.5 1.5 -0.7'> |
55 | <Shape USE='bar'/> |
56 | </Transform> |
57 | <Transform rotation='1 0 0 1.17' scale='2 1 1' translation='0 2 -0.8'> |
58 | <Shape> |
59 | <Cylinder height='0.05' radius='0.3'/> |
60 | <Appearance> |
61 | <Material diffuseColor='0.8 0.5 0'/> |
62 | <ImageTexture USE='wood'/> |
63 | </Appearance> |
64 | </Shape> |
65 | </Transform> |
66 | </Group> |
67 | </Transform> |
68 |
<!-- ROUTE information for chairSensor node:
[from translation_changed to chair.set_translation
]
-->
<PlaneSensor DEF='chairSensor' description='click and drag to move object' maxPosition='2 0' minPosition='-2 0'/> |
69 | < ROUTE fromNode='chairSensor' fromField='translation_changed' toNode='chair' toField='set_translation'/> |
70 | </Scene> |
71 | </X3D> |
<!--
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.
-->