~holger-seelig/titania-library/trunk

« back to all changes in this revision

Viewing changes to Tests/Components/ParticleSystems/Fire.x3d

  • Committer: Holger Seelig
  • Date: 2017-09-18 02:55:31 UTC
  • Revision ID: holger.seelig@yahoo.de-20170918025531-n60g34kd9bfs41t1
Updated prototypes.

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='Wed, 20 Apr 2016 11:36:01 GMT'/>
 
7
    <meta name='creator' content='Holger Seelig'/>
 
8
    <meta name='generator' content='Titania V2.0.0, http://titania.create3000.de'/>
 
9
    <meta name='identifier' content='file:///home/holger/Projekte/Cobweb/excite/tests/Components/ParticleSystems/Fire.x3d'/>
 
10
    <meta name='modified' content='Mon, 26 Sep 2016 09:18:09 GMT'/>
 
11
  </head>
 
12
  <Scene>
 
13
    <ExternProtoDeclare name='Grid' url='"GridTool.x3dv#Grid", "file:///home/holger/Projekte/Cobweb/excite/tests/Components/ParticleSystems/GridTool.x3dv#Grid"'>
 
14
      <field accessType='inputOutput' type='SFVec3f' name='translation'/>
 
15
      <field accessType='inputOutput' type='SFRotation' name='rotation'/>
 
16
      <field accessType='inputOutput' type='SFVec3f' name='scale'/>
 
17
      <field accessType='inputOutput' type='MFInt32' name='dimension'/>
 
18
      <field accessType='inputOutput' type='MFInt32' name='majorLineEvery'/>
 
19
      <field accessType='inputOutput' type='MFInt32' name='majorLineOffset'/>
 
20
      <field accessType='inputOutput' type='SFColor' name='color'/>
 
21
      <field accessType='inputOutput' type='SFFloat' name='transparency'/>
 
22
      <field accessType='inputOutput' type='SFColor' name='lineColor'/>
 
23
      <field accessType='inputOutput' type='SFFloat' name='lineTransparency'/>
 
24
      <field accessType='inputOutput' type='SFColor' name='majorLineColor'/>
 
25
      <field accessType='inputOutput' type='SFFloat' name='majorLineTransparency'/>
 
26
      <field accessType='initializeOnly' type='SFBool' name='solid'/>
 
27
    </ExternProtoDeclare>
 
28
    <WorldInfo>
 
29
      <MetadataSet DEF='Titania'
 
30
          name='Titania'
 
31
          reference='http://titania.create3000.de'>
 
32
        <MetadataSet DEF='AngleGrid' containerField='value'
 
33
            name='AngleGrid'
 
34
            reference='http://titania.create3000.de'>
 
35
          <MetadataBoolean DEF='enabled' containerField='value'
 
36
              name='enabled'
 
37
              reference='http://titania.create3000.de'
 
38
              value='false'/>
 
39
        </MetadataSet>
 
40
        <MetadataSet DEF='Grid' containerField='value'
 
41
            name='Grid'
 
42
            reference='http://titania.create3000.de'>
 
43
          <MetadataBoolean DEF='enabled_1' containerField='value'
 
44
              name='enabled'
 
45
              reference='http://titania.create3000.de'
 
46
              value='false'/>
 
47
        </MetadataSet>
 
48
        <MetadataSet DEF='NavigationInfo' containerField='value'
 
49
            name='NavigationInfo'
 
50
            reference='http://titania.create3000.de'>
 
51
          <MetadataString DEF='type' containerField='value'
 
52
              name='type'
 
53
              reference='http://titania.create3000.de'
 
54
              value='"EXAMINE"'/>
 
55
        </MetadataSet>
 
56
        <MetadataSet DEF='Viewpoint' containerField='value'
 
57
            name='Viewpoint'
 
58
            reference='http://titania.create3000.de'>
 
59
          <MetadataDouble DEF='position' containerField='value'
 
60
              name='position'
 
61
              reference='http://titania.create3000.de'
 
62
              value='1.31269461177796, 0.873141120607314, 0.42007766929488'/>
 
63
          <MetadataDouble DEF='orientation' containerField='value'
 
64
              name='orientation'
 
65
              reference='http://titania.create3000.de'
 
66
              value='0.353413775780365, -0.897474128965571, -0.26389181670934, 4.9156754975484'/>
 
67
          <MetadataDouble DEF='centerOfRotation' containerField='value'
 
68
              name='centerOfRotation'
 
69
              reference='http://titania.create3000.de'
 
70
              value='-1.7763600157738e-15, -7.10542989869984e-15, 3.55271007891048e-15'/>
 
71
        </MetadataSet>
 
72
        <MetadataSet DEF='Selection' containerField='value'
 
73
            name='Selection'
 
74
            reference='http://titania.create3000.de'>
 
75
          <MetadataSet DEF='previous' containerField='value'
 
76
              name='previous'
 
77
              reference='http://titania.create3000.de'/>
 
78
          <MetadataSet DEF='children' containerField='value'
 
79
              name='children'
 
80
              reference='http://titania.create3000.de'>
 
81
            <Transform DEF='Box' containerField='value'
 
82
                translation='0 -1.02384 0'
 
83
                scale='2 1 2'>
 
84
              <Shape>
 
85
                <Appearance>
 
86
                  <Material/>
 
87
                </Appearance>
 
88
                <Box/>
 
89
              </Shape>
 
90
            </Transform>
 
91
          </MetadataSet>
 
92
        </MetadataSet>
 
93
      </MetadataSet>
 
94
    </WorldInfo>
 
95
    <ParticleSystem DEF='Fire2'
 
96
        geometryType='SPRITE'
 
97
        particleLifetime='2'
 
98
        lifetimeVariation='0.5'
 
99
        particleSize='1 1'
 
100
        colorKey='0'
 
101
        texCoordKey='0, 0.015625, 0.03125, 0.046875, 0.0625, 0.078125, 0.09375, 0.109375, 0.125, 0.140625, 0.15625, 0.171875, 0.1875, 0.203125, 0.21875, 0.234375, 0.25, 0.265625, 0.28125, 0.296875, 0.3125, 0.328125, 0.34375, 0.359375, 0.375, 0.390625, 0.40625, 0.421875, 0.4375, 0.453125, 0.46875, 0.484375, 0.5, 0.515625, 0.53125, 0.546875, 0.5625, 0.578125, 0.59375, 0.609375, 0.625, 0.640625, 0.65625, 0.671875, 0.6875, 0.703125, 0.71875, 0.734375, 0.75, 0.765625, 0.78125, 0.796875, 0.8125, 0.828125, 0.84375, 0.859375, 0.875, 0.890625, 0.90625, 0.921875, 0.9375, 0.953125, 0.96875, 0.984375, 1'>
 
102
      <PointEmitter
 
103
          direction='0 0 0'
 
104
          speed='0.2'
 
105
          variation='0'
 
106
          mass='0.1'
 
107
          surfaceArea='0.1'/>
 
108
      <WindPhysicsModel
 
109
          direction='0 1 0'
 
110
          speed='0.5'
 
111
          gustiness='1.9'/>
 
112
      <WindPhysicsModel
 
113
          direction='1 -1 0'
 
114
          speed='0.15'
 
115
          gustiness='7'/>
 
116
      <ColorRGBA containerField='colorRamp'
 
117
          color='1 1 1 0.1'/>
 
118
      <TextureCoordinate containerField='texCoordRamp'
 
119
          point='0 0, 0.125 0, 0.125 0.125, 0 0.125, 0.125 0, 0.25 0, 0.25 0.125, 0.125 0.125, 0.25 0, 0.375 0, 0.375 0.125, 0.25 0.125, 0.375 0, 0.5 0, 0.5 0.125, 0.375 0.125, 0.5 0, 0.625 0, 0.625 0.125, 0.5 0.125, 0.625 0, 0.75 0, 0.75 0.125, 0.625 0.125, 0.75 0, 0.875 0, 0.875 0.125, 0.75 0.125, 0.875 0, 1 0, 1 0.125, 0.875 0.125, 0 0.125, 0.125 0.125, 0.125 0.25, 0 0.25, 0.125 0.125, 0.25 0.125, 0.25 0.25, 0.125 0.25, 0.25 0.125, 0.375 0.125, 0.375 0.25, 0.25 0.25, 0.375 0.125, 0.5 0.125, 0.5 0.25, 0.375 0.25, 0.5 0.125, 0.625 0.125, 0.625 0.25, 0.5 0.25, 0.625 0.125, 0.75 0.125, 0.75 0.25, 0.625 0.25, 0.75 0.125, 0.875 0.125, 0.875 0.25, 0.75 0.25, 0.875 0.125, 1 0.125, 1 0.25, 0.875 0.25, 0 0.25, 0.125 0.25, 0.125 0.375, 0 0.375, 0.125 0.25, 0.25 0.25, 0.25 0.375, 0.125 0.375, 0.25 0.25, 0.375 0.25, 0.375 0.375, 0.25 0.375, 0.375 0.25, 0.5 0.25, 0.5 0.375, 0.375 0.375, 0.5 0.25, 0.625 0.25, 0.625 0.375, 0.5 0.375, 0.625 0.25, 0.75 0.25, 0.75 0.375, 0.625 0.375, 0.75 0.25, 0.875 0.25, 0.875 0.375, 0.75 0.375, 0.875 0.25, 1 0.25, 1 0.375, 0.875 0.375, 0 0.375, 0.125 0.375, 0.125 0.5, 0 0.5, 0.125 0.375, 0.25 0.375, 0.25 0.5, 0.125 0.5, 0.25 0.375, 0.375 0.375, 0.375 0.5, 0.25 0.5, 0.375 0.375, 0.5 0.375, 0.5 0.5, 0.375 0.5, 0.5 0.375, 0.625 0.375, 0.625 0.5, 0.5 0.5, 0.625 0.375, 0.75 0.375, 0.75 0.5, 0.625 0.5, 0.75 0.375, 0.875 0.375, 0.875 0.5, 0.75 0.5, 0.875 0.375, 1 0.375, 1 0.5, 0.875 0.5, 0 0.5, 0.125 0.5, 0.125 0.625, 0 0.625, 0.125 0.5, 0.25 0.5, 0.25 0.625, 0.125 0.625, 0.25 0.5, 0.375 0.5, 0.375 0.625, 0.25 0.625, 0.375 0.5, 0.5 0.5, 0.5 0.625, 0.375 0.625, 0.5 0.5, 0.625 0.5, 0.625 0.625, 0.5 0.625, 0.625 0.5, 0.75 0.5, 0.75 0.625, 0.625 0.625, 0.75 0.5, 0.875 0.5, 0.875 0.625, 0.75 0.625, 0.875 0.5, 1 0.5, 1 0.625, 0.875 0.625, 0 0.625, 0.125 0.625, 0.125 0.75, 0 0.75, 0.125 0.625, 0.25 0.625, 0.25 0.75, 0.125 0.75, 0.25 0.625, 0.375 0.625, 0.375 0.75, 0.25 0.75, 0.375 0.625, 0.5 0.625, 0.5 0.75, 0.375 0.75, 0.5 0.625, 0.625 0.625, 0.625 0.75, 0.5 0.75, 0.625 0.625, 0.75 0.625, 0.75 0.75, 0.625 0.75, 0.75 0.625, 0.875 0.625, 0.875 0.75, 0.75 0.75, 0.875 0.625, 1 0.625, 1 0.75, 0.875 0.75, 0 0.75, 0.125 0.75, 0.125 0.875, 0 0.875, 0.125 0.75, 0.25 0.75, 0.25 0.875, 0.125 0.875, 0.25 0.75, 0.375 0.75, 0.375 0.875, 0.25 0.875, 0.375 0.75, 0.5 0.75, 0.5 0.875, 0.375 0.875, 0.5 0.75, 0.625 0.75, 0.625 0.875, 0.5 0.875, 0.625 0.75, 0.75 0.75, 0.75 0.875, 0.625 0.875, 0.75 0.75, 0.875 0.75, 0.875 0.875, 0.75 0.875, 0.875 0.75, 1 0.75, 1 0.875, 0.875 0.875, 0 0.875, 0.125 0.875, 0.125 1, 0 1, 0.125 0.875, 0.25 0.875, 0.25 1, 0.125 1, 0.25 0.875, 0.375 0.875, 0.375 1, 0.25 1, 0.375 0.875, 0.5 0.875, 0.5 1, 0.375 1, 0.5 0.875, 0.625 0.875, 0.625 1, 0.5 1, 0.625 0.875, 0.75 0.875, 0.75 1, 0.625 1, 0.75 0.875, 0.875 0.875, 0.875 1, 0.75 1, 0.875 0.875, 1 0.875, 1 1, 0.875 1, 0.875 0.875, 1 0.875, 1 1, 0.875 1'/>
 
120
      <Appearance>
 
121
        <ImageTexture
 
122
            url='"http://cdn.rawgit.com/create3000/Library/master/Textures/Effects/fire2.png", "https://cdn.rawgit.com/create3000/Library/master/Textures/Effects/fire2.png", "http://rawgit.com/create3000/Library/master/Textures/Effects/fire2.png", "https://rawgit.com/create3000/Library/master/Textures/Effects/fire2.png"'/>
 
123
      </Appearance>
 
124
    </ParticleSystem>
 
125
    <Viewpoint
 
126
        position='1.89619 2.08715 4.46876'
 
127
        orientation='-0.704047462871212 0.695566762376517 0.143192350010952 0.568941727555854'
 
128
        centerOfRotation='-1.77636e-15 -7.10543e-15 3.55271e-15'/>
 
129
    <ProtoInstance name='Grid'/>
 
130
    <Transform USE='Box'/>
 
131
    <DirectionalLight DEF='_1'
 
132
        direction='-0.531638 -0.672816 -0.51447'
 
133
        shadowIntensity='0.605'/>
 
134
    <NavigationInfo
 
135
        headlight='false'/>
 
136
    <Script DEF='PhongShadingScript'>
 
137
<![CDATA[ecmascript:
 
138
 
 
139
function initialize ()
 
140
{
 
141
        Browser .setBrowserOption ("Shading", "PHONG");
 
142
}
 
143
]]> 
 
144
    </Script>
 
145
  </Scene>
 
146
</X3D>