~holger-seelig/titania-library/trunk

« back to all changes in this revision

Viewing changes to Tests/Components/ParticleSystems/PolylineEmitter.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='Sat, 23 Apr 2016 03:14:27 GMT'/>
 
7
    <meta name='creator' content='Holger Seelig'/>
 
8
    <meta name='generator' content='Titania V1.4.1, http://titania.create3000.de'/>
 
9
    <meta name='identifier' content='file:///home/holger/Projekte/Titania/Library/Tests/ParticleSystems/PolylineEmitter.wrl'/>
 
10
    <meta name='modified' content='Sat, 23 Apr 2016 03:14:27 GMT'/>
 
11
  </head>
 
12
  <Scene>
 
13
    <WorldInfo
 
14
        title='PolylineEmitter'>
 
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='4, 2, 8'/>
 
33
          <MetadataDouble DEF='orientation' containerField='value'
 
34
              name='orientation'
 
35
              reference='http://titania.create3000.de'
 
36
              value='0, 0, 1, 0'/>
 
37
          <MetadataDouble DEF='centerOfRotation' containerField='value'
 
38
              name='centerOfRotation'
 
39
              reference='http://titania.create3000.de'
 
40
              value='0, 0, 0'/>
 
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
          <MetadataSet DEF='previous' containerField='value'
 
49
              name='previous'
 
50
              reference='http://titania.create3000.de'/>
 
51
        </MetadataSet>
 
52
      </MetadataSet>
 
53
    </WorldInfo>
 
54
    <Background DEF='Gray'
 
55
        skyColor='0.2 0.2 0.2'/>
 
56
    <Viewpoint
 
57
        description='Viewpoint'
 
58
        position='4 2 8'/>
 
59
    <Transform>
 
60
      <ParticleSystem
 
61
          geometryType='LINE'
 
62
          maxParticles='10000'
 
63
          particleLifetime='10'
 
64
          lifetimeVariation='0.01'
 
65
          particleSize='0.1 0.1'
 
66
          colorKey='0, 0.1, 0.4, 1'>
 
67
        <PolylineEmitter
 
68
            speed='0.01'
 
69
            mass='0.01'
 
70
            surfaceArea='0.01'
 
71
            coordIndex='0, 1, 2, 3, 4, -1, 1, 3, -1, 0, 4'>
 
72
          <Coordinate
 
73
              point='0 0 0, 1 1 0, 2 0 0, 4 2 0, 8 0 0'/>
 
74
        </PolylineEmitter>
 
75
        <WindPhysicsModel
 
76
            direction='0 1 0'
 
77
            speed='0.12'
 
78
            gustiness='8'
 
79
            turbulence='0.9'/>
 
80
        <WindPhysicsModel
 
81
            direction='1 0 0'
 
82
            speed='0.3'
 
83
            gustiness='1'/>
 
84
        <ColorRGBA containerField='colorRamp'
 
85
            color='1 0.38 0 0, 1 0.58 0.06 0.1, 1 0.37 0 0.1, 1 0.05 0 0'/>
 
86
        <Appearance>
 
87
          <LineProperties
 
88
              linewidthScaleFactor='8'/>
 
89
        </Appearance>
 
90
      </ParticleSystem>
 
91
    </Transform>
 
92
    <Transform DEF='IndexedLineSet'>
 
93
      <Shape>
 
94
        <IndexedLineSet
 
95
            colorPerVertex='false'
 
96
            colorIndex='0, 1, 2'
 
97
            coordIndex='0, 1, -1, 2, 3, -1, 4, 5, -1'>
 
98
          <Color
 
99
              color='1 0 0, 0 1 0, 0 0 1'/>
 
100
          <Coordinate
 
101
              point='-1 0 0, 1 0 0, 0 -1 0, 0 1 0, 0 0 -1, 0 0 1'/>
 
102
        </IndexedLineSet>
 
103
      </Shape>
 
104
    </Transform>
 
105
  </Scene>
 
106
</X3D>