1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
3
<X3D profile='Full' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd'>
5
<meta name='comment' content='World of Titania'/>
6
<meta name='created' content='Wed, 18 Nov 2015 05:00:27 GMT'/>
7
<meta name='creator' content='Holger Seelig'/>
8
<meta name='generator' content='Titania V2.0.1, http://titania.create3000.de'/>
9
<meta name='identifier' content='file:///home/holger/Projekte/Cobweb/excite/tests/Components/Geometry2D/Geometry2D.x3d'/>
10
<meta name='modified' content='Thu, 20 Oct 2016 10:58:16 GMT'/>
15
<MetadataSet DEF='Titania'
17
reference='http://titania.create3000.de'>
18
<MetadataSet DEF='NavigationInfo' containerField='value'
20
reference='http://titania.create3000.de'>
21
<MetadataString DEF='type' containerField='value'
23
reference='http://titania.create3000.de'
26
<MetadataSet DEF='Viewpoint' containerField='value'
28
reference='http://titania.create3000.de'>
29
<MetadataDouble DEF='position' containerField='value'
31
reference='http://titania.create3000.de'
32
value='0.0131181795150042, -0.957872569561005, 18.0397644042969'/>
33
<MetadataDouble DEF='orientation' containerField='value'
35
reference='http://titania.create3000.de'
36
value='-0.750440353409506, 0.637897307790788, -0.172992198343974, 0.00497951265420745'/>
37
<MetadataDouble DEF='centerOfRotation' containerField='value'
38
name='centerOfRotation'
39
reference='http://titania.create3000.de'
40
value='-0.0443000793457031, -1.0149998664856, -9.06456261873245e-06'/>
42
<MetadataSet DEF='AngleGrid' containerField='value'
44
reference='http://titania.create3000.de'>
45
<MetadataBoolean DEF='enabled' containerField='value'
47
reference='http://titania.create3000.de'
50
<MetadataSet DEF='Grid' containerField='value'
52
reference='http://titania.create3000.de'>
53
<MetadataBoolean DEF='enabled_1' containerField='value'
55
reference='http://titania.create3000.de'
57
<MetadataFloat DEF='rotation' containerField='value'
59
reference='http://titania.create3000.de'
60
value='1, 0, 0, 1.5708'/>
61
<MetadataInteger DEF='dimension' containerField='value'
63
reference='http://titania.create3000.de'
66
<MetadataSet DEF='Selection' containerField='value'
68
reference='http://titania.create3000.de'>
69
<MetadataSet DEF='children' containerField='value'
71
reference='http://titania.create3000.de'>
72
<FontStyle DEF='_1' containerField='value'
76
<MetadataSet DEF='previous' containerField='value'
78
reference='http://titania.create3000.de'/>
80
<MetadataSet DEF='LayerSet' containerField='value'
82
reference='http://titania.create3000.de'>
83
<MetadataInteger DEF='activeLayer' containerField='value'
85
reference='http://titania.create3000.de'
94
<MetadataSet DEF='Titania_1'
96
reference='http://titania.create3000.de'>
97
<MetadataSet DEF='AngleGrid_1' containerField='value'
99
reference='http://titania.create3000.de'>
100
<MetadataBoolean containerField='value'
102
reference='http://titania.create3000.de'
105
<MetadataSet DEF='Grid_1' containerField='value'
107
reference='http://titania.create3000.de'>
108
<MetadataBoolean containerField='value'
110
reference='http://titania.create3000.de'
112
<MetadataFloat containerField='value'
114
reference='http://titania.create3000.de'
115
value='1, 0, 0, 1.5708'/>
116
<MetadataFloat containerField='value'
118
reference='http://titania.create3000.de'
119
value='0, -1, -3.63588e-06'/>
120
<MetadataInteger containerField='value'
122
reference='http://titania.create3000.de'
127
skyColor='0.2 0.2 0.2'/>
129
description='Initial View'
130
position='0.0131182 -0.957873 18.0398'
131
orientation='-0.750440372116082 0.637897316310074 -0.172992085780482 0.00497951000002077'
132
centerOfRotation='-0.0443001 -1.015 -9.06456e-06'/>
135
translation='0.999976 -0.000498056 0'
136
center='-5.99998 4.0005 -1.36914e-07'>
138
translation='-6 4 -1.36914e-07'>
140
<Appearance DEF='Grey'>
142
<ImageTexture DEF='_2'
143
url='"../images/test.png"'/>
145
<ArcClose2D DEF='ArcClose2D'
152
translation='-6 4 -1.36914e-07'>
154
<Appearance DEF='Image'>
156
<ImageTexture USE='_2'/>
158
<ArcClose2D DEF='ArcClose2D_1'
163
<TouchSensor DEF='_3'
164
description='ArcClose2D'/>
167
translation='-2 4 -1.36914e-07'>
169
<Appearance USE='Image'/>
175
<TouchSensor DEF='_4'
176
description='Disk2D'/>
179
translation='2 4 -1.36914e-07'>
181
<Appearance USE='Image'/>
182
<Rectangle2D DEF='Rectangle2D'
185
<TouchSensor DEF='_5'
186
description='Rectangle2D'/>
189
translation='5 4 -1.36914e-07'>
191
<Appearance USE='Image'/>
192
<TriangleSet2D DEF='TriangleSet2D'
193
vertices='-1 -1, 1 -1, 0 1'
196
<TouchSensor DEF='_6'
197
description='TriangleSet2D'/>
202
translation='-5 0 0'>
205
<Appearance DEF='Grey_1'>
206
<Material DEF='Autumn2'
207
ambientIntensity='0.188697'
208
diffuseColor='0.749548 0.601201 0.461629'
209
specularColor='0.0786239 0.0803968 0.0484226'
210
shininess='0.167568'/>
212
<ArcClose2D USE='ArcClose2D_1'/>
217
<Appearance DEF='Grey_2'>
218
<Material DEF='Autumn9'
219
ambientIntensity='0.0724766'
220
diffuseColor='0.297959 0.140816 0.105763'
221
specularColor='0.176503 0.0894282 0'
222
shininess='0.0486486'/>
224
<ArcClose2D DEF='ArcClose2D_2'
231
<TouchSensor USE='_3'/>
234
translation='-2 0 0'>
236
<Appearance DEF='Grey_3'>
237
<Material DEF='Autumn21'
238
ambientIntensity='0.0670918'
239
diffuseColor='0.272994 0.0820021 0.0580278'
240
specularColor='0.27551 0.0418016 0.0418016'
241
shininess='0.127551'/>
243
<Disk2D USE='Disk2D'/>
245
<TouchSensor USE='_4'/>
250
<Appearance DEF='Grey_4'>
251
<Material DEF='Autumn34'
252
ambientIntensity='0.0445259'
253
diffuseColor='0.0877551 0.0639456 0.183051'
254
specularColor='0.234804 0.171098 0.489785'
255
shininess='0.0702703'/>
257
<Rectangle2D USE='Rectangle2D'/>
259
<TouchSensor USE='_5'/>
264
<Appearance DEF='Grey_5'>
265
<Material DEF='Autumn3'
266
ambientIntensity='0.098983'
267
diffuseColor='0.395932 0.226244 0.128242'
268
specularColor='1 0.464407 0.4753'
269
shininess='0.994595'/>
271
<TriangleSet2D USE='TriangleSet2D'/>
273
<TouchSensor USE='_6'/>
278
translation='-5 -3 1.02686e-07'>
281
<LineProperties DEF='_7'
282
linewidthScaleFactor='7'/>
284
emissiveColor='0.176816 0.506107 0.548295'/>
291
translation='-5.00105 -0.000807524 0'
292
center='3.00105 -2.99919 1.02686e-07'>
294
translation='3 -3 1.02686e-07'>
297
<LineProperties USE='_7'/>
299
emissiveColor='0.710584 0.360126 0.121906'/>
305
translation='3 -3 1.02686e-07'>
308
<LineProperties USE='_7'/>
310
emissiveColor='0.797451 0.660717 0.177288'/>
319
translation='0 -3 1.02686e-07'>
322
<LineProperties USE='_7'/>
324
emissiveColor='0.759681 0.206631 0.206631'/>
333
translation='-5 -6 2.05371e-07'>
335
<Appearance DEF='Grey_6'>
336
<LineProperties USE='_7'/>
338
emissiveColor='0.17549 0.755444 0.228457'/>
344
translation='-2 -6 2.05371e-07'>
346
<Appearance DEF='Grey_7'>
347
<LineProperties USE='_7'/>
349
emissiveColor='0.453834 0.265405 0.622069'/>
358
translation='2 -3 -1.09853e-05'
359
scale='0.333333 0.333333 0.333333'>
362
<LineProperties USE='_7'/>
364
emissiveColor='0.790403 0.569218 0.772487'/>
367
lineSegments='0 0, 1 2, 2 1, 4 3, 10 0'/>
371
translation='5 -5 -1.83347e-05'
372
scale='0.376156 0.376156 0.376156'>
376
<NormalInterpolator DEF='_9'
377
key='0, 0.25, 0.5, 0.75, 1'
378
keyValue='1 0 0, 0 1 0, -1 0 0, 0 -1 0, 0 1 0, -1 0 0, 0 -1 0, 1 0 0, -1 0 0, 0 -1 0, 1 0 0, 0 1 0, 0 -1 0, 1 0 0, 0 1 0, -1 0 0, 1 0 0, 0 1 0, -1 0 0, 0 -1 0'/>
379
<Transform DEF='PointSet'
384
linewidthScaleFactor='20'/>
386
emissiveColor='0.269542 0.740744 0.418337'/>
389
<Coordinate DEF='_10'
390
point='-0.693822 0.720147 0, -0.720147 -0.693822 0, 0.693822 -0.720147 0, 0.720147 0.693822 0'/>
396
translation='2 -6 -2.20094e-05'>
400
linewidthScaleFactor='8.69'/>
402
emissiveColor='0.794118 0.539253 0.311916'/>
404
<Polypoint2D DEF='_11'
405
point='-0.408029 -0.856193, 0.0434122 0.417266, 0.274972 0.691414, 0.0199558 0.979417, -0.549303 -0.217619'/>
408
<Script DEF='Polypoint2DScript'>
409
<field accessType='initializeOnly' type='SFNode' name='polypoint'>
410
<Polypoint2D USE='_11'/>
414
function initialize ()
416
for (var i = 0; i < 5; ++ i)
418
polypoint .point [i] .x = Math .random () * 2 - 1;
419
polypoint .point [i] .y = Math .random () * 2 - 1;
425
<MetadataSet DEF='Titania_2'
427
reference='http://titania.create3000.de'>
428
<MetadataSet DEF='Grid_2' containerField='value'
430
reference='http://titania.create3000.de'>
431
<MetadataBoolean containerField='value'
433
reference='http://titania.create3000.de'
435
<MetadataFloat containerField='value'
437
reference='http://titania.create3000.de'
438
value='1, 0, 0, 1.5708'/>
439
<MetadataFloat containerField='value'
441
reference='http://titania.create3000.de'
442
value='0.049, 0.049, 0.049'/>
443
<MetadataInteger containerField='value'
445
reference='http://titania.create3000.de'
447
<MetadataInteger containerField='value'
448
name='majorLineEvery'
449
reference='http://titania.create3000.de'
450
value='5, 5, 5, 5, 0, 5'/>
451
<MetadataInteger containerField='value'
452
name='majorLineOffset'
453
reference='http://titania.create3000.de'
454
value='0, 0, -5, -1, 0, -6'/>
455
<MetadataFloat containerField='value'
457
reference='http://titania.create3000.de'
458
value='1, 0.7, 0.7, 0.0588235'/>
460
<MetadataSet DEF='AngleGrid_2' containerField='value'
462
reference='http://titania.create3000.de'>
463
<MetadataBoolean containerField='value'
465
reference='http://titania.create3000.de'
470
<Transform DEF='Header'
471
translation='-1.6905 0.955504 -1'
472
scale='0.0672307 0.0672307 0.0672307'>
478
string='" Geometry2D"'
483
justify='"BEGIN", "BEGIN"'/>
487
<Group DEF='ShadingMenu'>
488
<Script DEF='ShadingScript'>
489
<field accessType='inputOnly' type='SFTime' name='set_pointset'/>
490
<field accessType='inputOnly' type='SFTime' name='set_wireframe'/>
491
<field accessType='inputOnly' type='SFTime' name='set_flat'/>
492
<field accessType='inputOnly' type='SFTime' name='set_gouraud'/>
493
<field accessType='inputOnly' type='SFTime' name='set_phong'/>
496
function set_pointset ()
498
Browser .setBrowserOption ("Shading", "POINTSET");
499
Browser .setDescription ("Shading: Pointset");
502
function set_wireframe ()
504
Browser .setBrowserOption ("Shading", "WIREFRAME");
505
Browser .setDescription ("Shading: Wirefrane");
510
Browser .setBrowserOption ("Shading", "FLAT");
511
Browser .setDescription ("Shading: Flat");
514
function set_gouraud ()
516
Browser .setBrowserOption ("Shading", "GOURAUD");
517
Browser .setDescription ("Shading: Gouraud");
520
function set_phong ()
522
Browser .setBrowserOption ("Shading", "PHONG");
523
Browser .setDescription ("Shading: Phong");
527
<Transform DEF='Header_1'
528
translation='1.6905 -0.857496 -1'
529
scale='0.0672307 0.0672307 0.0672307'>
532
<Material DEF='Artdeco31'
548
<Transform DEF='Text'
549
translation='1.6905 -0.955496 -1'
550
scale='0.0672307 0.0672307 0.0672307'>
556
string='"Pointset Wireframe Flat Gouraud Phong"'
558
<FontStyle USE='_1'/>
562
<Transform DEF='Pointset'
563
translation='0.436176 -0.916146 0'
564
scale='0.139972 0.040588 0.040588'>
571
texCoordIndex='0, 1, 2, 3, -1'
572
coordIndex='0, 1, 2, 3, -1'>
574
point='0 0, 1 0, 1 1, 0 1'/>
576
point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
579
<TouchSensor DEF='_13'/>
581
<Transform DEF='Wireframe'
582
translation='0.77569 -0.916146 0'
583
scale='0.177062 0.040588 0.040588'>
586
<Material USE='_12'/>
589
texCoordIndex='0, 1, 2, 3, -1'
590
coordIndex='0, 1, 2, 3, -1'>
592
point='0 0, 1 0, 1 1, 0 1'/>
594
point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
597
<TouchSensor DEF='_14'/>
599
<Transform DEF='Flat'
600
translation='1.04432 -0.916146 0'
601
scale='0.0743511 0.040588 0.040588'>
604
<Material USE='_12'/>
607
texCoordIndex='0, 1, 2, 3, -1'
608
coordIndex='0, 1, 2, 3, -1'>
610
point='0 0, 1 0, 1 1, 0 1'/>
612
point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
615
<TouchSensor DEF='_15'/>
617
<Transform DEF='Gouraud'
618
translation='1.27986 -0.916146 0'
619
scale='0.142825 0.040588 0.040588'>
622
<Material USE='_12'/>
625
texCoordIndex='0, 1, 2, 3, -1'
626
coordIndex='0, 1, 2, 3, -1'>
628
point='0 0, 1 0, 1 1, 0 1'/>
630
point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
633
<TouchSensor DEF='_16'/>
635
<Transform DEF='Phong'
636
translation='1.55457 -0.916146 0'
637
scale='0.111441 0.040588 0.040588'>
640
<Material USE='_12'/>
643
texCoordIndex='0, 1, 2, 3, -1'
644
coordIndex='0, 1, 2, 3, -1'>
646
point='0 0, 1 0, 1 1, 0 1'/>
648
point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
651
<TouchSensor DEF='_17'/>
656
<ROUTE fromNode='_17' fromField='touchTime' toNode='ShadingScript' toField='set_phong'/>
657
<ROUTE fromNode='_16' fromField='touchTime' toNode='ShadingScript' toField='set_gouraud'/>
658
<ROUTE fromNode='_15' fromField='touchTime' toNode='ShadingScript' toField='set_flat'/>
659
<ROUTE fromNode='_14' fromField='touchTime' toNode='ShadingScript' toField='set_wireframe'/>
660
<ROUTE fromNode='_13' fromField='touchTime' toNode='ShadingScript' toField='set_pointset'/>
661
<ROUTE fromNode='_8' fromField='fraction_changed' toNode='_9' toField='set_fraction'/>
662
<ROUTE fromNode='_9' fromField='value_changed' toNode='_10' toField='set_point'/>