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='IkeaBlueChair.x3d'/> |
6 | <meta name='description' content='X3D example Model of an Ikea Blue 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/IkeaBlueChair.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='IkeaBlueChair.x3d'/> |
16 | <Transform DEF='BlueChairTransform'> |
17 | <Group DEF='IkeaBlueChair'> |
18 | <Shape> |
19 | <Box size='.3 .02 .3'/> |
20 | <Appearance DEF='Red'> |
21 | <Material diffuseColor='0.75 0 0'/> |
22 | </Appearance> |
23 | </Shape> |
24 | <Transform translation='.13 -.16 .13'> |
25 |
<!-- Shape
ChairFrontLeg is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='ChairFrontLeg'> |
26 | <Box size='.034 .3 .034'/> |
27 | |
28 | <Material diffuseColor='0 0 0.8'/> |
29 | </Appearance> |
30 | </Shape> |
31 | </Transform> |
32 | <Transform translation='-.13 -.16 .13'> |
33 | <Shape USE='ChairFrontLeg'/> |
34 | </Transform> |
35 | <Transform translation='-.125 .04 -.16'> |
36 |
<!-- Shape
ChairRearLeg is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='ChairRearLeg'> |
37 | <Box size='.05 .7 .02'/> |
38 | <Appearance USE='Blue'/> |
39 | </Shape> |
40 | </Transform> |
41 | <Transform translation='.125 .04 -.16'> |
42 | <Shape USE='ChairRearLeg'/> |
43 | </Transform> |
44 | <Transform translation='0 -.038 .13'> |
45 | <Shape DEF='FrontChairBeam'> |
46 | <Box size='.226 .056 .02'/> |
47 | <Appearance USE='Blue'/> |
48 | </Shape> |
49 | </Transform> |
50 | <Transform translation='0 -.185 0'> |
51 | <Shape DEF='LowCenterBeam'> |
52 | <Box size='.24 .05 .02'/> |
53 | <Appearance USE='Blue'/> |
54 | </Shape> |
55 | </Transform> |
56 | <Transform translation='.13 -.038 -.01'> |
57 |
<!-- Shape
HighShortBeam is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='HighShortBeam'> |
58 | <Box size='.02 .056 .28'/> |
59 | <Appearance USE='Blue'/> |
60 | </Shape> |
61 | </Transform> |
62 | <Transform translation='-.13 -.038 -.01'> |
63 | <Shape USE='HighShortBeam'/> |
64 | </Transform> |
65 | <Transform translation='.13 -.185 -.01'> |
66 |
<!-- Shape
LowShortBeam is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='LowShortBeam'> |
67 | <Box size='.02 .05 .28'/> |
68 | <Appearance USE='Blue'/> |
69 | </Shape> |
70 | </Transform> |
71 | <Transform translation='-.13 -.185 -.01'> |
72 | <Shape USE='LowShortBeam'/> |
73 | </Transform> |
74 | <Transform DEF='LowerBackBeamTranslation' translation='0 .13 -.16'> |
75 | |
76 | <Box size='.2 .05 .016'/> |
77 | <Appearance USE='Blue'/> |
78 | </Shape> |
79 | </Transform> |
80 | <Transform translation='0 .36 -.16'> |
81 | <Shape USE='BackBeam'/> |
82 | </Transform> |
83 | <Transform scale='.2 .18 1' translation='0 .245 -.16'> |
84 | <Group DEF='DoggyBackPiece'> |
85 | <Shape> |
86 | <Appearance> |
87 | <ImageTexture url=' "DoggyTransparent.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/DoggyTransparent.png " '/> |
88 | </Appearance> |
89 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3'> |
90 | <Coordinate point='-0.5 -0.5 0 0.5 -0.5 0 0.5 0.5 0 -0.5 0.5 0'/> |
91 | </IndexedFaceSet> |
92 | </Shape> |
93 | </Group> |
94 | </Transform> |
95 | </Group> |
96 | </Transform> |
97 | </Scene> |
98 | </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. -->