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='Interchange' 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='IkeaGreenChair.x3d'/> |
6 | <meta name='description' content='X3D example Model of an Ikea Green Chair'/> |
7 | <meta name='created' content='3 March 2004'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='creator' content='Vaughn Pangelinan'/> |
10 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/StudentProjects/IkeaGreenChair.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='license' content='../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='IkeaGreenChair.x3d'/> |
16 | <Transform> |
17 | <Group DEF='IkeaGreenChair'> |
18 | <Transform rotation='1 0 0 .45'> |
19 | <Viewpoint DEF='GreenChair' description='View Green Chair' fieldOfView='1.4' orientation='0 1 0 3.14' position='0 .5 -.9'/> |
20 | </Transform> |
21 | <Shape> |
22 | <Box size='.3 .02 .3'/> |
23 | <Appearance DEF='Blue'> |
24 | <Material diffuseColor='0 0 .8'/> |
25 | </Appearance> |
26 | </Shape> |
27 | <Transform translation='.13 -.16 .13'> |
28 |
<!-- Shape
GreenChairFrontLeg is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='GreenChairFrontLeg'> |
29 | <Box size='.034 .3 .034'/> |
30 | |
31 | <Material diffuseColor='0 .6 0'/> |
32 | </Appearance> |
33 | </Shape> |
34 | </Transform> |
35 | <Transform translation='-.13 -.16 .13'> |
36 | <Shape USE='GreenChairFrontLeg'/> |
37 | </Transform> |
38 | <Transform translation='-.125 .04 -.16'> |
39 |
<!-- Shape
GreenChairRearLeg is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='GreenChairRearLeg'> |
40 | <Box size='.05 .7 .02'/> |
41 | <Appearance USE='Green'/> |
42 | </Shape> |
43 | </Transform> |
44 | <Transform translation='.125 .04 -.16'> |
45 | <Shape USE='GreenChairRearLeg'/> |
46 | </Transform> |
47 | <Transform translation='0 -.038 .13'> |
48 | <Shape DEF='GreenFrontChairBeam'> |
49 | <Box size='.226 .056 .02'/> |
50 | <Appearance USE='Green'/> |
51 | </Shape> |
52 | </Transform> |
53 | <Transform translation='0 -.185 0'> |
54 | <Shape DEF='GreenLowCenterBeam'> |
55 | <Box size='.24 .05 .02'/> |
56 | <Appearance USE='Green'/> |
57 | </Shape> |
58 | </Transform> |
59 | <Transform translation='.13 -.038 -.01'> |
60 |
<!-- Shape
GreenHighShortBeam is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='GreenHighShortBeam'> |
61 | <Box size='.02 .056 .28'/> |
62 | <Appearance USE='Green'/> |
63 | </Shape> |
64 | </Transform> |
65 | <Transform translation='-.13 -.038 -.01'> |
66 | <Shape USE='GreenHighShortBeam'/> |
67 | </Transform> |
68 | <Transform translation='.13 -.185 -.01'> |
69 |
<!-- Shape
GreenLowShortBeam is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='GreenLowShortBeam'> |
70 | <Box size='.02 .05 .28'/> |
71 | <Appearance USE='Green'/> |
72 | </Shape> |
73 | </Transform> |
74 | <Transform translation='-.13 -.185 -.01'> |
75 | <Shape USE='GreenLowShortBeam'/> |
76 | </Transform> |
77 | <Transform DEF='GreenLowerBackBeamTranslation' translation='0 .13 -.16'> |
78 |
<!-- Shape
GreenBackBeam is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='GreenBackBeam'> |
79 | <Box size='.2 .05 .016'/> |
80 | <Appearance USE='Green'/> |
81 | </Shape> |
82 | </Transform> |
83 | <Transform translation='0 .36 -.16'> |
84 | <Shape USE='GreenBackBeam'/> |
85 | </Transform> |
86 | <Transform scale='.2 .18 1' translation='0 .245 -.16'> |
87 | <Group DEF='KittyBackPiece'> |
88 | <Shape> |
89 | <Appearance> |
90 | <ImageTexture url=' "KittyTransparent.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/KittyTransparent.png " '/> |
91 | </Appearance> |
92 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3'> |
93 | <Coordinate point='-0.5 -0.5 0 0.5 -0.5 0 0.5 0.5 0 -0.5 0.5 0'/> |
94 | </IndexedFaceSet> |
95 | </Shape> |
96 | </Group> |
97 | </Transform> |
98 | </Group> |
99 | </Transform> |
100 | </Scene> |
101 | </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. -->