blob: be8f3a06aae624ce7b6301b3ef0ba527c1bf8686 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick3D
import QtQuick3D.Particles3D
ParticleSystem3D {
id: cloudSystem
ParticleEmitter3D {
id: baseCloudEmitter
emitRate: 0
lifeSpan: 200000
particle: cloudParticle
particleScale: 35
particleScaleVariation: 10
emitBursts: cloudBaseBurst
velocity: cloudDirection
shape: cloudShape
depthBias: -20
SpriteParticle3D {
id: cloudParticle
color: "#bcffffff"
particleScale: 12
fadeInEffect: Particle3D.FadeScale
fadeInDuration: 0
fadeOutDuration: 0
blendMode: SpriteParticle3D.SourceOver
sprite: cloudTexture
spriteSequence: cloudSequence
billboard: true
maxAmount: 50
sortMode: Particle3D.SortNewest
Texture {
id: cloudTexture
source: "smoke_sprite2.png"
}
SpriteSequence3D {
id: cloudSequence
animationDirection: SpriteSequence3D.Alternate
durationVariation: 3000
interpolate: true
randomStart: true
frameCount: 15
duration: 50000
}
}
ParticleShape3D {
id: cloudShape
type: ParticleShape3D.Sphere
fill: false
extents.z: 250
extents.y: 100
extents.x: 250
}
DynamicBurst3D {
id: cloudBaseBurst
amount: 10
}
}
ParticleEmitter3D {
id: smallCloudEmitter
lifeSpan: 2000000
emitRate: 0
particle: cloudSmallParticle
particleScale: 18
particleScaleVariation: 7
velocity: cloudDirection
shape: cloudOuterShape
emitBursts: cloudSmallBurst
depthBias: -25
SpriteParticle3D {
id: cloudSmallParticle
color: "#65ffffff"
maxAmount: 75
particleScale: 12
fadeOutDuration: 0
fadeInDuration: 0
fadeInEffect: Particle3D.FadeScale
blendMode: SpriteParticle3D.SourceOver
sortMode: Particle3D.SortNewest
spriteSequence: cloudSequence
sprite: cloudTexture
billboard: true
}
ParticleShape3D {
id: cloudOuterShape
extents.x: 350
extents.y: 150
extents.z: 350
fill: true
type: ParticleShape3D.Sphere
}
DynamicBurst3D {
id: cloudSmallBurst
amount: 15
}
}
VectorDirection3D {
id: cloudDirection
direction.y: 0
direction.z: -20
}
Wander3D {
id: cloudWander
uniqueAmountVariation: 0.3
uniqueAmount.x: 15
uniqueAmount.y: 15
uniqueAmount.z: 15
uniquePace.x: 0.01
uniquePace.y: 0.01
uniquePace.z: 0.01
particles: [cloudParticle, cloudSmallParticle, smallCloudEmitter]
system: cloudSystem
}
}
|