~holger-seelig/cobweb.js/trunk

« back to all changes in this revision

Viewing changes to tests/Components/Lighting/LocalLight.x3d

  • Committer: Holger Seelig
  • Date: 2017-08-22 04:53:24 UTC
  • Revision ID: holger.seelig@yahoo.de-20170822045324-4of4xxgt79669gbt
Switched to npm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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'>
 
4
  <head>
 
5
    <meta name='comment' content='World of Titania'/>
 
6
    <meta name='created' content='Tue, 22 Sep 2015 03:19:15 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/cobweb.js/tests/Components/Lighting/LocalLight.x3d'/>
 
10
    <meta name='modified' content='Thu, 20 Oct 2016 11:00:29 GMT'/>
 
11
  </head>
 
12
  <Scene>
 
13
    <WorldInfo
 
14
        title='LocalLight'>
 
15
      <MetadataSet DEF='Titania'
 
16
          name='Titania'
 
17
          reference='http://titania.create3000.de'>
 
18
        <MetadataSet DEF='NavigationInfo' containerField='value'
 
19
            name='NavigationInfo'
 
20
            reference='http://titania.create3000.de'>
 
21
          <MetadataString DEF='type' containerField='value'
 
22
              name='type'
 
23
              reference='http://titania.create3000.de'
 
24
              value='"EXAMINE"'/>
 
25
        </MetadataSet>
 
26
        <MetadataSet DEF='Viewpoint' containerField='value'
 
27
            name='Viewpoint'
 
28
            reference='http://titania.create3000.de'>
 
29
          <MetadataDouble DEF='position' containerField='value'
 
30
              name='position'
 
31
              reference='http://titania.create3000.de'
 
32
              value='38.5307998657227, 38.1931991577148, 54.2624015808105'/>
 
33
          <MetadataDouble DEF='orientation' containerField='value'
 
34
              name='orientation'
 
35
              reference='http://titania.create3000.de'
 
36
              value='-0.873252862989652, 0.462253895384657, 0.154112859561057, 0.974525034427643'/>
 
37
          <MetadataDouble DEF='centerOfRotation' containerField='value'
 
38
              name='centerOfRotation'
 
39
              reference='http://titania.create3000.de'
 
40
              value='20, 0, 20'/>
 
41
        </MetadataSet>
 
42
        <MetadataSet DEF='Selection' containerField='value'
 
43
            name='Selection'
 
44
            reference='http://titania.create3000.de'>
 
45
          <MetadataSet DEF='children' containerField='value'
 
46
              name='children'
 
47
              reference='http://titania.create3000.de'>
 
48
            <FontStyle DEF='_1' containerField='value'
 
49
                family='"SANS"'
 
50
                justify='"END"'/>
 
51
          </MetadataSet>
 
52
          <MetadataSet DEF='previous' containerField='value'
 
53
              name='previous'
 
54
              reference='http://titania.create3000.de'/>
 
55
        </MetadataSet>
 
56
        <MetadataSet DEF='LayerSet' containerField='value'
 
57
            name='LayerSet'
 
58
            reference='http://titania.create3000.de'>
 
59
          <MetadataInteger DEF='activeLayer' containerField='value'
 
60
              name='activeLayer'
 
61
              reference='http://titania.create3000.de'
 
62
              value='-1'/>
 
63
        </MetadataSet>
 
64
      </MetadataSet>
 
65
    </WorldInfo>
 
66
    <LayerSet
 
67
        activeLayer='1'
 
68
        order='1, 2'>
 
69
      <Layer>
 
70
        <Background DEF='Gray'
 
71
            skyColor='0.2 0.2 0.2'/>
 
72
        <NavigationInfo
 
73
            type='"EXAMINE"'
 
74
            headlight='false'/>
 
75
        <Viewpoint
 
76
            description='Home'
 
77
            position='38.5308 38.1932 54.2624'
 
78
            orientation='-0.873252834390235 0.462253912334941 0.15411297077294 0.974525'
 
79
            centerOfRotation='20 0 20'/>
 
80
        <Transform DEF='GlobalLight'
 
81
            translation='8.04568 10.189 9.98222'>
 
82
          <PointLight
 
83
              intensity='0.0650888'/>
 
84
        </Transform>
 
85
        <Transform DEF='Tile1'>
 
86
          <Transform DEF='_2'>
 
87
            <Transform
 
88
                translation='10 10 10'
 
89
                rotation='-1 -2.09955e-10 -1.12942e-09 1.57'
 
90
                scaleOrientation='0.991022590991182 -0.0697250712234926 0.114072952920504 0.180415999999999'>
 
91
              <Group DEF='LightAnim'>
 
92
                <MetadataSet
 
93
                    name='Animation'>
 
94
                  <MetadataInteger containerField='value'
 
95
                      name='duration'
 
96
                      reference='http://titania.create3000.de'
 
97
                      value='120'/>
 
98
                  <MetadataInteger containerField='value'
 
99
                      name='framesPerSecond'
 
100
                      reference='http://titania.create3000.de'
 
101
                      value='10'/>
 
102
                </MetadataSet>
 
103
                <TimeSensor DEF='_3'
 
104
                    cycleInterval='12'
 
105
                    loop='true'/>
 
106
                <PositionInterpolator DEF='DirectionInterpolator'
 
107
                    key='0, 0.00833333, 0.0166667, 0.025, 0.0333333, 0.0416667, 0.05, 0.0583333, 0.0666667, 0.075, 0.0833333, 0.0916667, 0.1, 0.108333, 0.116667, 0.125, 0.133333, 0.141667, 0.15, 0.158333, 0.166667, 0.175, 0.183333, 0.191667, 0.2, 0.208333, 0.216667, 0.225, 0.233333, 0.241667, 0.25, 0.258333, 0.266667, 0.275, 0.283333, 0.291667, 0.3, 0.308333, 0.316667, 0.325, 0.333333, 0.341667, 0.35, 0.358333, 0.366667, 0.375, 0.383333, 0.391667, 0.4, 0.408333, 0.416667, 0.425, 0.433333, 0.441667, 0.45, 0.458333, 0.466667, 0.475, 0.483333, 0.491667, 0.5, 0.508333, 0.516667, 0.525, 0.533333, 0.541667, 0.55, 0.558333, 0.566667, 0.575, 0.583333, 0.591667, 0.6, 0.608333, 0.616667, 0.625, 0.633333, 0.641667, 0.65, 0.658333, 0.666667, 0.675, 0.683333, 0.691667, 0.7, 0.708333, 0.716667, 0.725, 0.733333, 0.741667, 0.75, 0.758333, 0.766667, 0.775, 0.783333, 0.791667, 0.8, 0.808333, 0.816667, 0.825, 0.833333, 0.841667, 0.85, 0.858333, 0.866667, 0.875, 0.883333, 0.891667, 0.9, 0.908333, 0.916667, 0.925, 0.933333, 0.941667, 0.95, 0.958333, 0.966667, 0.975, 0.983333, 0.991667, 1'
 
108
                    keyValue='-0.475709 -0.436148 -0.763856, -0.487436 -0.421618 -0.765291, -0.497508 -0.404542 -0.767164, -0.505976 -0.385102 -0.769443, -0.512895 -0.363478 -0.772098, -0.518318 -0.339852 -0.775096, -0.522298 -0.314407 -0.778408, -0.524889 -0.287322 -0.782, -0.526143 -0.25878 -0.785843, -0.526115 -0.228962 -0.789906, -0.524858 -0.19805 -0.794156, -0.522425 -0.166225 -0.798563, -0.518869 -0.133668 -0.803095, -0.514244 -0.100561 -0.807722, -0.508603 -0.0670861 -0.812411, -0.502 -0.0334238 -0.817133, -0.494488 0.000244015 -0.821855, -0.48612 0.033736 -0.826547, -0.476949 0.0668705 -0.831177, -0.46703 0.0994663 -0.835714, -0.456415 0.131342 -0.840127, -0.445158 0.162316 -0.844384, -0.433312 0.192206 -0.848455, -0.42093 0.220832 -0.852308, -0.408067 0.248011 -0.855912, -0.394774 0.273563 -0.859236, -0.381107 0.297306 -0.862248, -0.367117 0.319059 -0.864918, -0.352859 0.338639 -0.867214, -0.338385 0.355866 -0.869105, -0.323749 0.370557 -0.870559, -0.30804 0.383454 -0.871636, -0.290405 0.39542 -0.872423, -0.270987 0.406458 -0.872936, -0.249929 0.416571 -0.87319, -0.227372 0.425762 -0.873199, -0.20346 0.434035 -0.872978, -0.178336 0.441394 -0.872543, -0.152141 0.44784 -0.871907, -0.125019 0.453379 -0.871087, -0.0971121 0.458012 -0.870096, -0.068563 0.461743 -0.86895, -0.0395143 0.464577 -0.867663, -0.0101085 0.466514 -0.866251, 0.0195116 0.46756 -0.864728, 0.0492035 0.467718 -0.863109, 0.0788245 0.46699 -0.861409, 0.108232 0.46538 -0.859642, 0.137284 0.462891 -0.857825, 0.165836 0.459527 -0.85597, 0.193748 0.45529 -0.854095, 0.220876 0.450185 -0.852212, 0.247077 0.444214 -0.850338, 0.272209 0.437381 -0.848486, 0.296129 0.429689 -0.846672, 0.318695 0.42114 -0.844911, 0.339763 0.41174 -0.843218, 0.359193 0.40149 -0.841607, 0.37684 0.390394 -0.840093, 0.392562 0.378456 -0.838692, 0.406216 0.365678 -0.837417, 0.418519 0.351213 -0.836202, 0.430263 0.334325 -0.834969, 0.441423 0.315187 -0.833719, 0.451974 0.293971 -0.832454, 0.461892 0.27085 -0.831175, 0.471151 0.245997 -0.829883, 0.479726 0.219585 -0.82858, 0.487593 0.191785 -0.827266, 0.494725 0.162772 -0.825943, 0.501099 0.132717 -0.824612, 0.506688 0.101792 -0.823274, 0.511469 0.0701721 -0.821931, 0.515416 0.0380281 -0.820583, 0.518504 0.00553328 -0.819233, 0.520707 -0.0271398 -0.81788, 0.522002 -0.0598185 -0.816527, 0.522363 -0.0923301 -0.815174, 0.521764 -0.124502 -0.813823, 0.520181 -0.156161 -0.812475, 0.517589 -0.187136 -0.811131, 0.513963 -0.217253 -0.809793, 0.509278 -0.246339 -0.808461, 0.503508 -0.274222 -0.807137, 0.496629 -0.300729 -0.805823, 0.488615 -0.325689 -0.804518, 0.479443 -0.348927 -0.803225, 0.469085 -0.370271 -0.801945, 0.457519 -0.389549 -0.800679, 0.444717 -0.406588 -0.799428, 0.430657 -0.421215 -0.798193, 0.414373 -0.434177 -0.796897, 0.395065 -0.44633 -0.79547, 0.372955 -0.45767 -0.793927, 0.348264 -0.468191 -0.792284, 0.321213 -0.477887 -0.790555, 0.292022 -0.486753 -0.788756, 0.260913 -0.494784 -0.786903, 0.228107 -0.501973 -0.785009, 0.193824 -0.508316 -0.78309, 0.158286 -0.513806 -0.781162, 0.121714 -0.518439 -0.779239, 0.084329 -0.522208 -0.777337, 0.0463515 -0.525109 -0.77547, 0.00800288 -0.527135 -0.773654, -0.0304959 -0.528282 -0.771904, -0.0689239 -0.528543 -0.770235, -0.10706 -0.527913 -0.768663, -0.144683 -0.526387 -0.767201, -0.181573 -0.523959 -0.765867, -0.217507 -0.520624 -0.764673, -0.252266 -0.516375 -0.763637, -0.285627 -0.511209 -0.762772, -0.317371 -0.505118 -0.762094, -0.347276 -0.498098 -0.761619, -0.37512 -0.490143 -0.76136, -0.400684 -0.481247 -0.761334, -0.423746 -0.471405 -0.761556, -0.444085 -0.460612 -0.76204, -0.461479 -0.448861 -0.762801, -0.475709 -0.436148 -0.763856'>
 
109
                  <MetadataSet
 
110
                      name='Interpolator'>
 
111
                    <MetadataInteger containerField='value'
 
112
                        name='key'
 
113
                        reference='http://titania.create3000.de'
 
114
                        value='0, 30, 60, 90, 120'/>
 
115
                    <MetadataDouble containerField='value'
 
116
                        name='keyValue'
 
117
                        reference='http://titania.create3000.de'
 
118
                        value='-0.475708842277527, -0.436148166656494, -0.763855934143066, -0.323749333620071, 0.370557337999344, -0.870559394359589, 0.406216442584991, 0.365678489208221, -0.837417185306549, 0.430656850337982, -0.421214938163757, -0.798193275928497, -0.475708842277527, -0.436148166656494, -0.763855934143066'/>
 
119
                    <MetadataString containerField='value'
 
120
                        name='keyType'
 
121
                        reference='http://titania.create3000.de'
 
122
                        value='"SPLINE", "SPLINE", "SPLINE", "SPLINE", "SPLINE"'/>
 
123
                  </MetadataSet>
 
124
                </PositionInterpolator>
 
125
                <ColorInterpolator DEF='ColorInterpolator'
 
126
                    key='0, 0.00833333, 0.0166667, 0.025, 0.0333333, 0.0416667, 0.05, 0.0583333, 0.0666667, 0.075, 0.0833333, 0.0916667, 0.1, 0.108333, 0.116667, 0.125, 0.133333, 0.141667, 0.15, 0.158333, 0.166667, 0.175, 0.183333, 0.191667, 0.2, 0.208333, 0.216667, 0.225, 0.233333, 0.241667, 0.25, 0.258333, 0.266667, 0.275, 0.283333, 0.291667, 0.3, 0.308333, 0.316667, 0.325, 0.333333, 0.341667, 0.35, 0.358333, 0.366667, 0.375, 0.383333, 0.391667, 0.4, 0.408333, 0.416667, 0.425, 0.433333, 0.441667, 0.45, 0.458333, 0.466667, 0.475, 0.483333, 0.491667, 0.5, 0.508333, 0.516667, 0.525, 0.533333, 0.541667, 0.55, 0.558333, 0.566667, 0.575, 0.583333, 0.591667, 0.6, 0.608333, 0.616667, 0.625, 0.633333, 0.641667, 0.65, 0.658333, 0.666667, 0.675, 0.683333, 0.691667, 0.7, 0.708333, 0.716667, 0.725, 0.733333, 0.741667, 0.75, 0.758333, 0.766667, 0.775, 0.783333, 0.791667, 0.8, 0.808333, 0.816667, 0.825, 0.833333, 0.841667, 0.85, 0.858333, 0.866667, 0.875, 0.883333, 0.891667, 0.9, 0.908333, 0.916667, 0.925, 0.933333, 0.941667, 0.95, 0.958333, 0.966667, 0.975, 0.983333, 0.991667, 1'
 
127
                    keyValue='1 0 0, 1 0.0499985 0, 1 0.0999942 0, 1 0.149987 0, 1 0.199979 0, 1 0.249968 0, 1 0.299955 0, 1 0.349942 0, 1 0.399927 0, 1 0.449912 0, 1 0.499897 0, 1 0.549881 0, 1 0.599866 0, 1 0.649852 0, 1 0.699838 0, 1 0.749826 0, 1 0.799815 0, 1 0.849806 0, 1 0.899799 0, 1 0.949795 0, 1 0.999793 0, 0.950205 1 0, 0.9002 1 0, 0.850191 1 0, 0.800179 1 0, 0.750161 1 0, 0.70014 1 0, 0.650113 1 0, 0.600081 1 0, 0.550043 1 0, 0.5 1 0, 0.449945 1 0, 0.399873 1 0, 0.349786 1 0, 0.299686 1 0, 0.249573 1 0, 0.19945 1 0, 0.149318 1 0, 0.0991781 1 0, 0.0490322 1 0, 0 1 0.00111821, 0 1 0.0512717, 0 1 0.101427, 0 1 0.151582, 0 1 0.201736, 0 1 0.251887, 0 1 0.302034, 0 1 0.352174, 0 1 0.402308, 0 1 0.452432, 0 1 0.502546, 0 1 0.552649, 0 1 0.602738, 0 1 0.652812, 0 1 0.702869, 0 1 0.752909, 0 1 0.80293, 0 1 0.85293, 0 1 0.902907, 0 1 0.952861, 0 0.997211 1, 0 0.94731 1, 0 0.897438 1, 0 0.847593 1, 0 0.797772 1, 0 0.747975 1, 0 0.698198 1, 0 0.648441 1, 0 0.598701 1, 0 0.548976 1, 0 0.499265 1, 0 0.449566 1, 0 0.399877 1, 0 0.350197 1, 0 0.300522 1, 0 0.250852 1, 0 0.201185 1, 0 0.151518 1, 0 0.101851 1, 0 0.0521804 1, 0 0.00250527 1, 0.0471765 0 1, 0.0968666 0 1, 0.146567 0 1, 0.19628 0 1, 0.246006 0 1, 0.295748 0 1, 0.345508 0 1, 0.395287 0 1, 0.445088 0 1, 0.494912 0 1, 0.544754 0 1, 0.594609 0 1, 0.644476 0 1, 0.694353 0 1, 0.744242 0 1, 0.79414 0 1, 0.844047 0 1, 0.893963 0 1, 0.943887 0 1, 0.993818 0 1, 1 0 0.956244, 1 0 0.906301, 1 0 0.856352, 1 0 0.806399, 1 0 0.756441, 1 0 0.706481, 1 0 0.656518, 1 0 0.606552, 1 0 0.556586, 1 0 0.506619, 1 0 0.456652, 1 0 0.406685, 1 0 0.35672, 1 0 0.306757, 1 0 0.256796, 1 0 0.206839, 1 0 0.156885, 1 0 0.106937, 1 0 0.0569931, 1 0 0.00705553'>
 
128
                  <MetadataSet
 
129
                      name='Interpolator'>
 
130
                    <MetadataInteger containerField='value'
 
131
                        name='key'
 
132
                        reference='http://titania.create3000.de'
 
133
                        value='0, 30, 60, 90, 120'/>
 
134
                    <MetadataDouble containerField='value'
 
135
                        name='keyValue'
 
136
                        reference='http://titania.create3000.de'
 
137
                        value='1, 0, 0, 0.5, 1, 0, 0, 0.997210741043091, 1, 0.494911581277847, 0, 1, 1, 0, 0.00705553032457829'/>
 
138
                    <MetadataString containerField='value'
 
139
                        name='keyType'
 
140
                        reference='http://titania.create3000.de'
 
141
                        value='"SPLINE", "SPLINE", "SPLINE", "SPLINE", "SPLINE"'/>
 
142
                  </MetadataSet>
 
143
                </ColorInterpolator>
 
144
                <ScalarInterpolator DEF='BeamWidthInterpolator'
 
145
                    key='0, 0.00833333, 0.0166667, 0.025, 0.0333333, 0.0416667, 0.05, 0.0583333, 0.0666667, 0.075, 0.0833333, 0.0916667, 0.1, 0.108333, 0.116667, 0.125, 0.133333, 0.141667, 0.15, 0.158333, 0.166667, 0.175, 0.183333, 0.191667, 0.2, 0.208333, 0.216667, 0.225, 0.233333, 0.241667, 0.25, 0.258333, 0.266667, 0.275, 0.283333, 0.291667, 0.3, 0.308333, 0.316667, 0.325, 0.333333, 0.341667, 0.35, 0.358333, 0.366667, 0.375, 0.383333, 0.391667, 0.4, 0.408333, 0.416667, 0.425, 0.433333, 0.441667, 0.45, 0.458333, 0.466667, 0.475, 0.483333, 0.491667, 0.5, 0.508333, 0.516667, 0.525, 0.533333, 0.541667, 0.55, 0.558333, 0.566667, 0.575, 0.583333, 0.591667, 0.6, 0.608333, 0.616667, 0.625, 0.633333, 0.641667, 0.65, 0.658333, 0.666667, 0.675, 0.683333, 0.691667, 0.7, 0.708333, 0.716667, 0.725, 0.733333, 0.741667, 0.75, 0.758333, 0.766667, 0.775, 0.783333, 0.791667, 0.8, 0.808333, 0.816667, 0.825, 0.833333, 0.841667, 0.85, 0.858333, 0.866667, 0.875, 0.883333, 0.891667, 0.9, 0.908333, 0.916667, 0.925, 0.933333, 0.941667, 0.95, 0.958333, 0.966667, 0.975, 0.983333, 0.991667, 1'
 
146
                    keyValue='0.5, 0.499596, 0.498403, 0.496448, 0.493757, 0.490359, 0.48628, 0.481548, 0.47619, 0.470232, 0.463704, 0.45663, 0.44904, 0.44096, 0.432416, 0.423438, 0.41405, 0.404282, 0.39416, 0.383711, 0.372963, 0.361942, 0.350677, 0.339194, 0.32752, 0.315683, 0.30371, 0.291627, 0.279464, 0.267245, 0.255, 0.242755, 0.230536, 0.218372, 0.20629, 0.194317, 0.18248, 0.170806, 0.159323, 0.148058, 0.137037, 0.126289, 0.11584, 0.105718, 0.0959496, 0.0865625, 0.0775837, 0.0690405, 0.06096, 0.0533695, 0.0462963, 0.0397675, 0.0338104, 0.0284521, 0.02372, 0.0196412, 0.016243, 0.0135525, 0.011597, 0.0104038, 0.01, 0.0104038, 0.011597, 0.0135525, 0.016243, 0.0196412, 0.02372, 0.0284521, 0.0338104, 0.0397675, 0.0462963, 0.0533695, 0.06096, 0.0690405, 0.0775837, 0.0865625, 0.0959496, 0.105718, 0.11584, 0.126289, 0.137037, 0.148058, 0.159323, 0.170806, 0.18248, 0.194317, 0.20629, 0.218372, 0.230536, 0.242755, 0.255, 0.267245, 0.279464, 0.291627, 0.30371, 0.315683, 0.32752, 0.339194, 0.350677, 0.361942, 0.372963, 0.383711, 0.39416, 0.404282, 0.41405, 0.423438, 0.432416, 0.44096, 0.44904, 0.45663, 0.463704, 0.470232, 0.47619, 0.481548, 0.48628, 0.490359, 0.493757, 0.496448, 0.498403, 0.499596, 0.5'>
 
147
                  <MetadataSet DEF='Interpolator'
 
148
                      name='Interpolator'
 
149
                      reference='http://titania.create3000.de'>
 
150
                    <MetadataInteger DEF='key' containerField='value'
 
151
                        name='key'
 
152
                        reference='http://titania.create3000.de'
 
153
                        value='0, 60, 120'/>
 
154
                    <MetadataDouble DEF='keyValue' containerField='value'
 
155
                        name='keyValue'
 
156
                        reference='http://titania.create3000.de'
 
157
                        value='0.5, 0.00999999977648258, 0.5'/>
 
158
                    <MetadataString DEF='keyType' containerField='value'
 
159
                        name='keyType'
 
160
                        reference='http://titania.create3000.de'
 
161
                        value='"SPLINE", "SPLINE", "SPLINE"'/>
 
162
                  </MetadataSet>
 
163
                </ScalarInterpolator>
 
164
                <ScalarInterpolator DEF='CutOffAngleInterpolator'
 
165
                    key='0, 0.00833333, 0.0166667, 0.025, 0.0333333, 0.0416667, 0.05, 0.0583333, 0.0666667, 0.075, 0.0833333, 0.0916667, 0.1, 0.108333, 0.116667, 0.125, 0.133333, 0.141667, 0.15, 0.158333, 0.166667, 0.175, 0.183333, 0.191667, 0.2, 0.208333, 0.216667, 0.225, 0.233333, 0.241667, 0.25, 0.258333, 0.266667, 0.275, 0.283333, 0.291667, 0.3, 0.308333, 0.316667, 0.325, 0.333333, 0.341667, 0.35, 0.358333, 0.366667, 0.375, 0.383333, 0.391667, 0.4, 0.408333, 0.416667, 0.425, 0.433333, 0.441667, 0.45, 0.458333, 0.466667, 0.475, 0.483333, 0.491667, 0.5, 0.508333, 0.516667, 0.525, 0.533333, 0.541667, 0.55, 0.558333, 0.566667, 0.575, 0.583333, 0.591667, 0.6, 0.608333, 0.616667, 0.625, 0.633333, 0.641667, 0.65, 0.658333, 0.666667, 0.675, 0.683333, 0.691667, 0.7, 0.708333, 0.716667, 0.725, 0.733333, 0.741667, 0.75, 0.758333, 0.766667, 0.775, 0.783333, 0.791667, 0.8, 0.808333, 0.816667, 0.825, 0.833333, 0.841667, 0.85, 0.858333, 0.866667, 0.875, 0.883333, 0.891667, 0.9, 0.908333, 0.916667, 0.925, 0.933333, 0.941667, 0.95, 0.958333, 0.966667, 0.975, 0.983333, 0.991667, 1'
 
166
                    keyValue='1.5708, 1.56967, 1.56633, 1.56086, 1.55333, 1.54382, 1.53241, 1.51918, 1.50419, 1.48752, 1.46926, 1.44947, 1.42823, 1.40563, 1.38173, 1.35661, 1.33035, 1.30302, 1.2747, 1.24547, 1.2154, 1.18457, 1.15306, 1.12093, 1.08828, 1.05516, 1.02167, 0.987865, 0.953836, 0.919655, 0.885398, 0.851141, 0.81696, 0.782931, 0.749131, 0.715635, 0.68252, 0.649862, 0.617737, 0.586222, 0.555392, 0.525323, 0.496092, 0.467775, 0.440448, 0.414187, 0.389068, 0.365168, 0.342563, 0.321328, 0.30154, 0.283276, 0.266611, 0.251621, 0.238382, 0.226972, 0.217465, 0.209938, 0.204468, 0.20113, 0.2, 0.20113, 0.204468, 0.209938, 0.217465, 0.226972, 0.238382, 0.251621, 0.266611, 0.283276, 0.30154, 0.321328, 0.342563, 0.365168, 0.389068, 0.414187, 0.440448, 0.467775, 0.496092, 0.525323, 0.555392, 0.586222, 0.617737, 0.649862, 0.68252, 0.715635, 0.749131, 0.782931, 0.81696, 0.851141, 0.885398, 0.919655, 0.953836, 0.987865, 1.02167, 1.05516, 1.08828, 1.12093, 1.15306, 1.18457, 1.2154, 1.24547, 1.2747, 1.30302, 1.33035, 1.35661, 1.38173, 1.40563, 1.42823, 1.44947, 1.46926, 1.48752, 1.50419, 1.51918, 1.53241, 1.54382, 1.55333, 1.56086, 1.56633, 1.56967, 1.5708'>
 
167
                  <MetadataSet DEF='Interpolator_1'
 
168
                      name='Interpolator'
 
169
                      reference='http://titania.create3000.de'>
 
170
                    <MetadataInteger DEF='key_1' containerField='value'
 
171
                        name='key'
 
172
                        reference='http://titania.create3000.de'
 
173
                        value='0, 60, 120'/>
 
174
                    <MetadataDouble DEF='keyValue_1' containerField='value'
 
175
                        name='keyValue'
 
176
                        reference='http://titania.create3000.de'
 
177
                        value='1.57079601287842, 0.200000002980232, 1.57079601287842'/>
 
178
                    <MetadataString DEF='keyType_1' containerField='value'
 
179
                        name='keyType'
 
180
                        reference='http://titania.create3000.de'
 
181
                        value='"SPLINE", "SPLINE", "SPLINE"'/>
 
182
                  </MetadataSet>
 
183
                </ScalarInterpolator>
 
184
              </Group>
 
185
              <SpotLight DEF='_4'
 
186
                  global='false'
 
187
                  color='1 0 0.439812'
 
188
                  intensity='0.485207'
 
189
                  direction='-0.26351 -0.514634 -0.763345'
 
190
                  beamWidth='0.47224'
 
191
                  cutOffAngle='1.49314'/>
 
192
              <Transform DEF='ElevationGrid'
 
193
                  translation='-10 9.99203 -10.008'
 
194
                  rotation='1 1.00032e-09 3.08126e-10 1.57'
 
195
                  scaleOrientation='0.991100738221959 0.113549970008207 0.069467481651652 0.181206'>
 
196
                <Shape>
 
197
                  <Appearance>
 
198
                    <Material/>
 
199
                  </Appearance>
 
200
                  <ElevationGrid
 
201
                      xDimension='20'
 
202
                      zDimension='20'/>
 
203
                </Shape>
 
204
              </Transform>
 
205
              <Transform DEF='Cone'
 
206
                  rotation='0.890101675582162 -0.455762007110978 0 2.49335868029868'
 
207
                  scaleOrientation='-0.546046080148377 0.18703802745335 -0.816609119861487 0.459043'>
 
208
                <Transform DEF='Cone_1'
 
209
                    rotation='-0.999999999993436 -3.62331999997622e-06 8.16271999994642e-11 1.5708'
 
210
                    scaleOrientation='0.999999999986922 1.61480999997888e-06 4.85263999993654e-06 0.785375'>
 
211
                  <Shape>
 
212
                    <Appearance>
 
213
                      <Material DEF='_5'
 
214
                          ambientIntensity='0'
 
215
                          diffuseColor='0 0 0'
 
216
                          emissiveColor='1 0 0.439812'
 
217
                          shininess='0'/>
 
218
                    </Appearance>
 
219
                    <Cone/>
 
220
                  </Shape>
 
221
                </Transform>
 
222
              </Transform>
 
223
              <Script DEF='RotationScript'>
 
224
                <field accessType='inputOnly' type='SFVec3f' name='set_direction'/>
 
225
                <field accessType='outputOnly' type='SFRotation' name='rotation_changed'/>
 
226
<![CDATA[ecmascript:
 
227
 
 
228
function set_direction (value)
 
229
{
 
230
        rotation_changed = new SFRotation (new SFVec3f (0, 0, 1), value);
 
231
}]]> 
 
232
              </Script>
 
233
            </Transform>
 
234
            <Transform DEF='Box'
 
235
                translation='4.28962 1.06325 4.82481'>
 
236
              <Shape>
 
237
                <Appearance>
 
238
                  <Material/>
 
239
                </Appearance>
 
240
                <Box/>
 
241
              </Shape>
 
242
            </Transform>
 
243
          </Transform>
 
244
        </Transform>
 
245
        <Transform DEF='Tile2'
 
246
            translation='20 0 0'>
 
247
          <Transform USE='_2'/>
 
248
        </Transform>
 
249
        <Transform DEF='Tile3'
 
250
            translation='20 0 20'>
 
251
          <Transform USE='_2'/>
 
252
        </Transform>
 
253
        <Transform DEF='Tile4'
 
254
            translation='0 0 20'>
 
255
          <Transform USE='_2'/>
 
256
        </Transform>
 
257
      </Layer>
 
258
      <Layer>
 
259
        <MetadataSet DEF='Titania_1'
 
260
            name='Titania'
 
261
            reference='http://titania.create3000.de'>
 
262
          <MetadataSet DEF='Grid' containerField='value'
 
263
              name='Grid'
 
264
              reference='http://titania.create3000.de'>
 
265
            <MetadataBoolean containerField='value'
 
266
                name='enabled'
 
267
                reference='http://titania.create3000.de'
 
268
                value='true'/>
 
269
            <MetadataFloat containerField='value'
 
270
                name='rotation'
 
271
                reference='http://titania.create3000.de'
 
272
                value='1, 0, 0, 1.5708'/>
 
273
            <MetadataFloat containerField='value'
 
274
                name='scale'
 
275
                reference='http://titania.create3000.de'
 
276
                value='0.049, 0.049, 0.049'/>
 
277
            <MetadataInteger containerField='value'
 
278
                name='dimension'
 
279
                reference='http://titania.create3000.de'
 
280
                value='73, 10, 41'/>
 
281
            <MetadataInteger containerField='value'
 
282
                name='majorLineEvery'
 
283
                reference='http://titania.create3000.de'
 
284
                value='5, 5, 5, 5, 0, 5'/>
 
285
            <MetadataInteger containerField='value'
 
286
                name='majorLineOffset'
 
287
                reference='http://titania.create3000.de'
 
288
                value='0, 0, -5, -1, 0, -6'/>
 
289
            <MetadataFloat containerField='value'
 
290
                name='lineColor'
 
291
                reference='http://titania.create3000.de'
 
292
                value='1, 0.7, 0.7, 0.0588235'/>
 
293
          </MetadataSet>
 
294
          <MetadataSet DEF='AngleGrid' containerField='value'
 
295
              name='AngleGrid'
 
296
              reference='http://titania.create3000.de'>
 
297
            <MetadataBoolean containerField='value'
 
298
                name='enabled'
 
299
                reference='http://titania.create3000.de'
 
300
                value='false'/>
 
301
          </MetadataSet>
 
302
        </MetadataSet>
 
303
        <OrthoViewpoint/>
 
304
        <Transform DEF='Geometry3D'
 
305
            translation='-1.6905 0.955504 -1'
 
306
            scale='0.0672307 0.0672307 0.0672307'>
 
307
          <Shape>
 
308
            <Appearance>
 
309
              <Material/>
 
310
            </Appearance>
 
311
            <Text
 
312
                string='"Local Light"'
 
313
                solid='true'>
 
314
              <FontStyle
 
315
                  family='"SANS"'
 
316
                  size='1.61'
 
317
                  justify='"BEGIN", "BEGIN"'/>
 
318
            </Text>
 
319
          </Shape>
 
320
        </Transform>
 
321
        <Transform DEF='LightMenu'>
 
322
          <Transform DEF='Text'
 
323
              translation='1.6905 -0.661496 -1'
 
324
              scale='0.0672307 0.0672307 0.0672307'>
 
325
            <Shape>
 
326
              <Appearance>
 
327
                <Material DEF='Artdeco31'
 
328
                    ambientIntensity='0'
 
329
                    diffuseColor='0 0 0'
 
330
                    shininess='0'/>
 
331
              </Appearance>
 
332
              <Text
 
333
                  string='"SpotLight"'
 
334
                  solid='true'>
 
335
                <FontStyle
 
336
                    family='"SANS"'
 
337
                    style='BOLD'
 
338
                    size='0.68'
 
339
                    justify='"END"'/>
 
340
              </Text>
 
341
            </Shape>
 
342
          </Transform>
 
343
          <Transform DEF='GlobalButton'
 
344
              translation='1.51582 -0.734328 -2.69843e-06'
 
345
              scale='0.227685 0.040588 0.040588'>
 
346
            <Shape>
 
347
              <Appearance>
 
348
                <Material
 
349
                    transparency='1'/>
 
350
              </Appearance>
 
351
              <IndexedFaceSet
 
352
                  texCoordIndex='0, 1, 2, 3, -1'
 
353
                  coordIndex='0, 1, 2, 3, -1'>
 
354
                <TextureCoordinate
 
355
                    point='0 0, 1 0, 1 1, 0 1'/>
 
356
                <Coordinate
 
357
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
358
              </IndexedFaceSet>
 
359
            </Shape>
 
360
            <TouchSensor DEF='_6'/>
 
361
          </Transform>
 
362
          <Transform DEF='Text_1'
 
363
              translation='1.6905 -0.759496 -1'
 
364
              scale='0.0672307 0.0672307 0.0672307'>
 
365
            <Shape>
 
366
              <Appearance>
 
367
                <Material/>
 
368
              </Appearance>
 
369
              <Text DEF='_7'
 
370
                  string='"global false"'
 
371
                  solid='true'>
 
372
                <FontStyle
 
373
                    family='"SANS"'
 
374
                    justify='"END"'/>
 
375
              </Text>
 
376
            </Shape>
 
377
          </Transform>
 
378
        </Transform>
 
379
        <Group DEF='ShadingMenu'>
 
380
          <Script DEF='ShadingScript'>
 
381
            <field accessType='inputOnly' type='SFTime' name='set_pointset'/>
 
382
            <field accessType='inputOnly' type='SFTime' name='set_wireframe'/>
 
383
            <field accessType='inputOnly' type='SFTime' name='set_flat'/>
 
384
            <field accessType='inputOnly' type='SFTime' name='set_gouraud'/>
 
385
            <field accessType='inputOnly' type='SFTime' name='set_phong'/>
 
386
<![CDATA[javascript:
 
387
 
 
388
function set_pointset ()
 
389
{
 
390
        Browser .setBrowserOption ("Shading", "POINTSET");
 
391
        Browser .setDescription ("Shading: Pointset");
 
392
}
 
393
 
 
394
function set_wireframe ()
 
395
{
 
396
        Browser .setBrowserOption ("Shading", "WIREFRAME");
 
397
        Browser .setDescription ("Shading: Wirefrane");
 
398
}
 
399
 
 
400
function set_flat ()
 
401
{
 
402
        Browser .setBrowserOption ("Shading", "FLAT");
 
403
        Browser .setDescription ("Shading: Flat");
 
404
}
 
405
 
 
406
function set_gouraud ()
 
407
{
 
408
        Browser .setBrowserOption ("Shading", "GOURAUD");
 
409
        Browser .setDescription ("Shading: Gouraud");
 
410
}
 
411
 
 
412
function set_phong ()
 
413
{
 
414
        Browser .setBrowserOption ("Shading", "PHONG");
 
415
        Browser .setDescription ("Shading: Phong");
 
416
}
 
417
]]> 
 
418
          </Script>
 
419
          <Transform DEF='Text_2'
 
420
              translation='1.6905 -0.857496 -1'
 
421
              scale='0.0672307 0.0672307 0.0672307'>
 
422
            <Shape>
 
423
              <Appearance>
 
424
                <Material DEF='Artdeco31_1'
 
425
                    ambientIntensity='0'
 
426
                    diffuseColor='0 0 0'
 
427
                    shininess='0'/>
 
428
              </Appearance>
 
429
              <Text
 
430
                  string='"Shading"'
 
431
                  solid='true'>
 
432
                <FontStyle
 
433
                    family='"SANS"'
 
434
                    style='BOLD'
 
435
                    size='0.68'
 
436
                    justify='"END"'/>
 
437
              </Text>
 
438
            </Shape>
 
439
          </Transform>
 
440
          <Transform DEF='Text_3'
 
441
              translation='1.6905 -0.955496 -1'
 
442
              scale='0.0672307 0.0672307 0.0672307'>
 
443
            <Shape>
 
444
              <Appearance>
 
445
                <Material/>
 
446
              </Appearance>
 
447
              <Text
 
448
                  string='"Pointset   Wireframe   Flat   Gouraud   Phong"'
 
449
                  solid='true'>
 
450
                <FontStyle USE='_1'/>
 
451
              </Text>
 
452
            </Shape>
 
453
          </Transform>
 
454
          <Transform DEF='Pointset'
 
455
              translation='0.436176 -0.916146 0'
 
456
              scale='0.139972 0.040588 0.040588'>
 
457
            <Shape>
 
458
              <Appearance>
 
459
                <Material DEF='_8'
 
460
                    transparency='1'/>
 
461
              </Appearance>
 
462
              <IndexedFaceSet
 
463
                  texCoordIndex='0, 1, 2, 3, -1'
 
464
                  coordIndex='0, 1, 2, 3, -1'>
 
465
                <TextureCoordinate
 
466
                    point='0 0, 1 0, 1 1, 0 1'/>
 
467
                <Coordinate
 
468
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
469
              </IndexedFaceSet>
 
470
            </Shape>
 
471
            <TouchSensor DEF='_9'/>
 
472
          </Transform>
 
473
          <Transform DEF='Wireframe'
 
474
              translation='0.77569 -0.916146 0'
 
475
              scale='0.177062 0.040588 0.040588'>
 
476
            <Shape>
 
477
              <Appearance>
 
478
                <Material USE='_8'/>
 
479
              </Appearance>
 
480
              <IndexedFaceSet
 
481
                  texCoordIndex='0, 1, 2, 3, -1'
 
482
                  coordIndex='0, 1, 2, 3, -1'>
 
483
                <TextureCoordinate
 
484
                    point='0 0, 1 0, 1 1, 0 1'/>
 
485
                <Coordinate
 
486
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
487
              </IndexedFaceSet>
 
488
            </Shape>
 
489
            <TouchSensor DEF='_10'/>
 
490
          </Transform>
 
491
          <Transform DEF='Flat'
 
492
              translation='1.04432 -0.916146 0'
 
493
              scale='0.0743511 0.040588 0.040588'>
 
494
            <Shape>
 
495
              <Appearance>
 
496
                <Material USE='_8'/>
 
497
              </Appearance>
 
498
              <IndexedFaceSet
 
499
                  texCoordIndex='0, 1, 2, 3, -1'
 
500
                  coordIndex='0, 1, 2, 3, -1'>
 
501
                <TextureCoordinate
 
502
                    point='0 0, 1 0, 1 1, 0 1'/>
 
503
                <Coordinate
 
504
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
505
              </IndexedFaceSet>
 
506
            </Shape>
 
507
            <TouchSensor DEF='_11'/>
 
508
          </Transform>
 
509
          <Transform DEF='Gouraud'
 
510
              translation='1.27986 -0.916146 0'
 
511
              scale='0.142825 0.040588 0.040588'>
 
512
            <Shape>
 
513
              <Appearance>
 
514
                <Material USE='_8'/>
 
515
              </Appearance>
 
516
              <IndexedFaceSet
 
517
                  texCoordIndex='0, 1, 2, 3, -1'
 
518
                  coordIndex='0, 1, 2, 3, -1'>
 
519
                <TextureCoordinate
 
520
                    point='0 0, 1 0, 1 1, 0 1'/>
 
521
                <Coordinate
 
522
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
523
              </IndexedFaceSet>
 
524
            </Shape>
 
525
            <TouchSensor DEF='_12'/>
 
526
          </Transform>
 
527
          <Transform DEF='Phong'
 
528
              translation='1.55457 -0.916146 0'
 
529
              scale='0.111441 0.040588 0.040588'>
 
530
            <Shape>
 
531
              <Appearance>
 
532
                <Material USE='_8'/>
 
533
              </Appearance>
 
534
              <IndexedFaceSet
 
535
                  texCoordIndex='0, 1, 2, 3, -1'
 
536
                  coordIndex='0, 1, 2, 3, -1'>
 
537
                <TextureCoordinate
 
538
                    point='0 0, 1 0, 1 1, 0 1'/>
 
539
                <Coordinate
 
540
                    point='-1 -1 0, 1 -1 0, 1 1 0, -1 1 0'/>
 
541
              </IndexedFaceSet>
 
542
            </Shape>
 
543
            <TouchSensor DEF='_13'/>
 
544
          </Transform>
 
545
        </Group>
 
546
        <Script DEF='ToggleScript'>
 
547
          <field accessType='inputOnly' type='SFTime' name='set_touchTime'/>
 
548
          <field accessType='outputOnly' type='MFString' name='string_changed'/>
 
549
          <field accessType='initializeOnly' type='SFNode' name='light'>
 
550
            <SpotLight USE='_4'/>
 
551
          </field>
 
552
<![CDATA[javascript:
 
553
 
 
554
function initialize ()
 
555
{
 
556
        eventsProcessed ();
 
557
}
 
558
 
 
559
function set_touchTime ()
 
560
{
 
561
        light .global = ! light .global;
 
562
}
 
563
 
 
564
function eventsProcessed ()
 
565
{
 
566
        string_changed = new MFString ("global " + light .global);
 
567
}]]> 
 
568
        </Script>
 
569
      </Layer>
 
570
    </LayerSet>
 
571
    <ROUTE fromNode='_3' fromField='fraction_changed' toNode='DirectionInterpolator' toField='set_fraction'/>
 
572
    <ROUTE fromNode='DirectionInterpolator' fromField='value_changed' toNode='_4' toField='set_direction'/>
 
573
    <ROUTE fromNode='_3' fromField='fraction_changed' toNode='ColorInterpolator' toField='set_fraction'/>
 
574
    <ROUTE fromNode='ColorInterpolator' fromField='value_changed' toNode='_4' toField='set_color'/>
 
575
    <ROUTE fromNode='ToggleScript' fromField='string_changed' toNode='_7' toField='set_string'/>
 
576
    <ROUTE fromNode='_6' fromField='touchTime' toNode='ToggleScript' toField='set_touchTime'/>
 
577
    <ROUTE fromNode='RotationScript' fromField='rotation_changed' toNode='Cone' toField='set_rotation'/>
 
578
    <ROUTE fromNode='_4' fromField='direction_changed' toNode='RotationScript' toField='set_direction'/>
 
579
    <ROUTE fromNode='_4' fromField='color_changed' toNode='_5' toField='set_emissiveColor'/>
 
580
    <ROUTE fromNode='_3' fromField='fraction_changed' toNode='BeamWidthInterpolator' toField='set_fraction'/>
 
581
    <ROUTE fromNode='BeamWidthInterpolator' fromField='value_changed' toNode='_4' toField='set_beamWidth'/>
 
582
    <ROUTE fromNode='_3' fromField='fraction_changed' toNode='CutOffAngleInterpolator' toField='set_fraction'/>
 
583
    <ROUTE fromNode='CutOffAngleInterpolator' fromField='value_changed' toNode='_4' toField='set_cutOffAngle'/>
 
584
    <ROUTE fromNode='_11' fromField='touchTime' toNode='ShadingScript' toField='set_flat'/>
 
585
    <ROUTE fromNode='_10' fromField='touchTime' toNode='ShadingScript' toField='set_wireframe'/>
 
586
    <ROUTE fromNode='_9' fromField='touchTime' toNode='ShadingScript' toField='set_pointset'/>
 
587
    <ROUTE fromNode='_13' fromField='touchTime' toNode='ShadingScript' toField='set_phong'/>
 
588
    <ROUTE fromNode='_12' fromField='touchTime' toNode='ShadingScript' toField='set_gouraud'/>
 
589
  </Scene>
 
590
</X3D>