1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='PlayYard.x3d'/> |
6 | <meta name='description' content='A playyard to demonstrate NavigationInfo operation. This world illustrates the use of a NavigationInfo node to set the size of the users avatar (width, height, stepsize). The playyard contains several obstacles, some of which the users can get past and others they cannot, all because of the size of the avatar.'/> |
7 | <meta name='creator' content='John L. Moreland'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='1 July 1998'/> |
10 | <meta name='translated' content='2 February 2014'/> |
11 | <meta name='modified' content='20 October 2019'/> |
12 | <meta name='reference' content='originals/playyard.wrl'/> |
13 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
14 | <meta name='reference' content='http://www.siggraph.org/s98/conference/courses/18.html'/> |
15 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0364.htm'/> |
16 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm'/> |
17 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dResources.html'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/PlayYard.x3d'/> |
19 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
20 | <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/> |
21 | <meta name='license' content='../license.html'/> |
22 | </head> |
23 | <Scene> |
24 | <WorldInfo info='"Copyright (c) 1998, John L. Moreland"' title='Playyard'/> |
25 | <NavigationInfo avatarSize='0.25 1.6 0.6' headlight='false' speed='2.0' type='"WALK" "ANY"'/> |
26 | <Background groundAngle='1.309 1.570796' groundColor='0.0 0.1 0.0 0.0 0.2 0.0 0.2 0.5 0.2' skyAngle='1.309 1.571' skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/> |
27 | <DirectionalLight ambientIntensity='0.5' direction='-0.5 -1.0 -0.5'/> |
28 | <Viewpoint description='Away' orientation='1.0 0.0 0.0 -0.57' position='0.0 5.5 9.0'/> |
29 | <Viewpoint description='Monkey Bars - End' position='-4.0 1.6 4.0'/> |
30 | <Viewpoint description='Monkey Bars - Side' orientation='0.0 1.0 0.0 1.57' position='0.0 1.6 0.0'/> |
31 | <Viewpoint description='Chin-Up Bar - Short' orientation='1.0 0.0 0.0 -0.57' position='-1.0 1.6 -2.0'/> |
32 | <Viewpoint description='Chin-Up Bar - Tall' position='1.0 1.6 0.0'/> |
33 | <Viewpoint description='Slide - Ladder' orientation='1.0 0.0 0.0 -0.57' position='4.0 1.6 4.0'/> |
34 | <Viewpoint description='Slide - Shoot' orientation='0.0 1.0 0.5 3.14159' position='4.0 1.6 -4.0'/> |
35 | <Shape> |
36 | <Appearance> |
37 | <TextureTransform scale='16.0 16.0'/> |
38 | <Material/> |
39 | <ImageTexture url=' "sand.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/sand.jpg " '/> |
40 | </Appearance> |
41 | <Box size='10.0 0.02 10.0'/> |
42 | </Shape> |
43 | <Transform translation='2.0 0.0 -10.0'> |
44 | |
45 | <Shape> |
46 | <Appearance> |
47 | <ImageTexture url=' "palm.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/palm.png " '/> |
48 | </Appearance> |
49 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
50 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
51 | <Coordinate point='-0.83 0.0 0.0 0.83 0.0 0.0 0.83 3.75 0.0 -0.83 3.75 0.0'/> |
52 | </IndexedFaceSet> |
53 | </Shape> |
54 | <Shape> |
55 | <Appearance> |
56 | <Material diffuseColor='0.0 0.0 0.0' transparency='0.5'/> |
57 | <ImageTexture url=' "palmsh.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/palmsh.png " '/> |
58 | </Appearance> |
59 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
60 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
61 | <Coordinate point='-1.0 0.02 1.0 1.0 0.02 1.0 1.0 0.02 -1.0 -1.0 0.02 -1.0'/> |
62 | </IndexedFaceSet> |
63 | </Shape> |
64 | </Billboard> |
65 | </Transform> |
66 | <Transform translation='-6.0 0.0 -1.0'> |
67 | <Billboard USE='Palm'/> |
68 | </Transform> |
69 | <Group> |
70 | |
71 | <Shape> |
72 | <Appearance> |
73 | <TextureTransform center='0.5 0.5' rotation='0.7853982' scale='17.0 17.0'/> |
74 | <Material/> |
75 | <ImageTexture url=' "grill.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/grill.png " '/> |
76 | </Appearance> |
77 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 -1 4 5 6 7 -1 8 9 10 11 -1 12 13 14 15 -1 16 17 18 19 -1 20 21 22 23 -1 24 25 26 27 -1 28 29 30 31 -1 32 33 34 35 -1 36 37 38 39 -1' texCoordIndex='0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1 0 1 2 3 -1'> |
78 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
79 | <Coordinate point='4.0 0.0 0.0 5.0 0.0 0.0 5.0 1.0 0.0 4.0 1.0 0.0 3.0 0.0 0.0 4.0 0.0 0.0 4.0 1.0 0.0 3.0 1.0 0.0 2.0 0.0 0.0 3.0 0.0 0.0 3.0 1.0 0.0 2.0 1.0 0.0 1.0 0.0 0.0 2.0 0.0 0.0 2.0 1.0 0.0 1.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 -1.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 -1.0 1.0 0.0 -2.0 0.0 0.0 -1.0 0.0 0.0 -1.0 1.0 0.0 -2.0 1.0 0.0 -3.0 0.0 0.0 -2.0 0.0 0.0 -2.0 1.0 0.0 -3.0 1.0 0.0 -4.0 0.0 0.0 -3.0 0.0 0.0 -3.0 1.0 0.0 -4.0 1.0 0.0 -5.0 0.0 0.0 -4.0 0.0 0.0 -4.0 1.0 0.0 -5.0 1.0 0.0'/> |
80 | </IndexedFaceSet> |
81 | </Shape> |
82 | <Transform translation='0.0 0.5 0.05'> |
83 | |
84 |
<!-- Appearance
Galvanized is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='Galvanized'> |
85 | <Material ambientIntensity='0.3' diffuseColor='0.3 0.3 0.3' shininess='0.1' specularColor='0.7 0.7 0.8'/> |
86 | </Appearance> |
87 | <Cylinder height='1.0' radius='0.05'/> |
88 | </Shape> |
89 | </Transform> |
90 | <Transform translation='4.95 0.5 0.05'> |
91 | <Shape USE='Post'/> |
92 | </Transform> |
93 | </Transform> |
94 | <Transform rotation='0.0 1.0 0.0 1.57'> |
95 | <Transform USE='Fence'/> |
96 | </Transform> |
97 | <Transform rotation='0.0 1.0 0.0 3.14159'> |
98 | <Transform USE='Fence'/> |
99 | </Transform> |
100 | <Transform rotation='0.0 1.0 0.0 -1.57'> |
101 | <Transform USE='Fence'/> |
102 | </Transform> |
103 | </Group> |
104 | <Transform translation='-4.0 0.0 0.0'> |
105 | <Transform translation='-0.3 1.0 -2.0'> |
106 | |
107 | <Appearance DEF='Wood'> |
108 | <Material diffuseColor='0.8 0.6 0.4'/> |
109 | <ImageTexture url=' "wood.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/wood.jpg " '/> |
110 | </Appearance> |
111 | <Box size='0.1 2.0 0.1'/> |
112 | </Shape> |
113 | </Transform> |
114 | <Transform translation='0.3 1.0 -2.0'> |
115 | <Shape USE='Lumber'/> |
116 | </Transform> |
117 | <Transform translation='-0.3 1.0 2.0'> |
118 | <Shape USE='Lumber'/> |
119 | </Transform> |
120 | <Transform translation='0.3 1.0 2.0'> |
121 | <Shape USE='Lumber'/> |
122 | </Transform> |
123 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 1.8 0.0'> |
124 | |
125 | <Transform translation='-0.3 0.0 0.0'> |
126 | |
127 | <Appearance USE='Galvanized'/> |
128 | <Cylinder height='4.0' radius='0.025'/> |
129 | </Shape> |
130 | </Transform> |
131 | <Transform translation='0.3 0.0 0.0'> |
132 | <Shape USE='Pole'/> |
133 | </Transform> |
134 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0'> |
135 | <Shape USE='Pole'/> |
136 | </Transform> |
137 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 0.5 0.0'> |
138 | <Shape USE='Pole'/> |
139 | </Transform> |
140 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 -0.5 0.0'> |
141 | <Shape USE='Pole'/> |
142 | </Transform> |
143 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 1.0 0.0'> |
144 | <Shape USE='Pole'/> |
145 | </Transform> |
146 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 -1.0 0.0'> |
147 | <Shape USE='Pole'/> |
148 | </Transform> |
149 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 1.5 0.0'> |
150 | <Shape USE='Pole'/> |
151 | </Transform> |
152 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.15 1.0' translation='0.0 -1.5 0.0'> |
153 | <Shape USE='Pole'/> |
154 | </Transform> |
155 | </Group> |
156 | </Transform> |
157 | <Shape> |
158 | <Appearance> |
159 | <Material diffuseColor='0.0 0.0 0.0' transparency='0.5'/> |
160 | <ImageTexture url=' "ladrshad.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/ladrshad.png " '/> |
161 | </Appearance> |
162 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
163 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
164 | <Coordinate point='-0.3 0.02 2.0 0.3 0.02 2.0 0.3 0.02 -2.0 -0.3 0.02 -2.0'/> |
165 | </IndexedFaceSet> |
166 | </Shape> |
167 | </Transform> |
168 | <Transform translation='0.0 0.0 -4.0'> |
169 | <Transform scale='1.0 0.5 1.0' translation='-2.0 0.5 0.0'> |
170 | <Shape USE='Lumber'/> |
171 | </Transform> |
172 | <Transform translation='0.0 1.0 0.0'> |
173 | <Shape USE='Lumber'/> |
174 | </Transform> |
175 | <Transform translation='2.0 1.0 0.0'> |
176 | <Shape USE='Lumber'/> |
177 | </Transform> |
178 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.5 1.0' translation='-1.0 0.8 0.0'> |
179 | <Shape USE='Pole'/> |
180 | </Transform> |
181 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.0 0.5 1.0' translation='1.0 1.8 0.0'> |
182 | <Shape USE='Pole'/> |
183 | </Transform> |
184 | <Shape> |
185 | <Appearance> |
186 | <Material diffuseColor='0.0 0.0 0.0' transparency='0.5'/> |
187 | </Appearance> |
188 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
189 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
190 | <Coordinate point='-2.0 0.02 0.05 2.0 0.02 0.05 2.0 0.02 -0.05 -2.0 0.02 -0.05'/> |
191 | </IndexedFaceSet> |
192 | </Shape> |
193 | </Transform> |
194 | <Transform translation='4.0 0.0 0.0'> |
195 | <Transform scale='1.0 1.5 1.0' translation='-0.3 1.5 0.0'> |
196 | <Shape USE='Lumber'/> |
197 | </Transform> |
198 | <Transform scale='1.0 1.5 1.0' translation='0.3 1.5 0.0'> |
199 | <Shape USE='Lumber'/> |
200 | </Transform> |
201 | <Transform translation='0.0 1.4 1.4'> |
202 | <Transform rotation='1.0 0.0 0.0 -0.7853975'> |
203 | <Group USE='Ladder'/> |
204 | </Transform> |
205 | </Transform> |
206 | <Transform translation='0.0 2.8 0.0'> |
207 | <Shape> |
208 | <Appearance USE='Galvanized'/> |
209 | <Extrusion beginCap='false' crossSection='-0.05 0.3 0.05 0.3 0.05 -0.3 -0.05 -0.3' endCap='false' solid='false' spine='0.0 0.0 0.0 0.0 -2.1 -3.0 0.0 -2.1 -3.5'/> |
210 | </Shape> |
211 | </Transform> |
212 | <Transform scale='1.0 0.35 1.0' translation='0.3 0.35 -3.5'> |
213 | <Shape USE='Lumber'/> |
214 | </Transform> |
215 | <Transform scale='1.0 0.35 1.0' translation='-0.3 0.35 -3.5'> |
216 | <Shape USE='Lumber'/> |
217 | </Transform> |
218 | <Shape> |
219 | <Appearance> |
220 | <Material diffuseColor='0.0 0.0 0.0' transparency='0.5'/> |
221 | </Appearance> |
222 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
223 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
224 | <Coordinate point='-0.3 0.02 0.0 0.3 0.02 0.0 0.3 0.02 -3.5 -0.3 0.02 -3.5'/> |
225 | </IndexedFaceSet> |
226 | </Shape> |
227 | <Shape> |
228 | <Appearance> |
229 | <Material diffuseColor='0.0 0.0 0.0' transparency='0.5'/> |
230 | <ImageTexture url=' "ladrshad.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/ladrshad.png " '/> |
231 | </Appearance> |
232 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
233 | <TextureCoordinate point='0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0'/> |
234 | <Coordinate point='-0.3 0.02 2.8 0.3 0.02 2.8 0.3 0.02 0.0 -0.3 0.02 0.0'/> |
235 | </IndexedFaceSet> |
236 | </Shape> |
237 | </Transform> |
238 | </Scene> |
239 | </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. -->