| 1 |
Group { |
|---|
| 2 |
UniqueID Group_0 |
|---|
| 3 |
DataVariance DYNAMIC |
|---|
| 4 |
name "osgcool.osg" |
|---|
| 5 |
cullingActive TRUE |
|---|
| 6 |
num_children 3 |
|---|
| 7 |
MatrixTransform { |
|---|
| 8 |
DataVariance DYNAMIC |
|---|
| 9 |
cullingActive TRUE |
|---|
| 10 |
Matrix { |
|---|
| 11 |
DataVariance DYNAMIC |
|---|
| 12 |
1 0 0 0 |
|---|
| 13 |
0 3.42285e-08 1 0 |
|---|
| 14 |
0 -1 3.42285e-08 0 |
|---|
| 15 |
0 0 0 1 |
|---|
| 16 |
} |
|---|
| 17 |
referenceFrame RELATIVE_TO_PARENTS |
|---|
| 18 |
num_children 3 |
|---|
| 19 |
osgParticle::ModularEmitter { |
|---|
| 20 |
DataVariance DYNAMIC |
|---|
| 21 |
cullingActive FALSE |
|---|
| 22 |
osgParticle::ParticleSystem { |
|---|
| 23 |
UniqueID ParticleSystem_1 |
|---|
| 24 |
DataVariance DYNAMIC |
|---|
| 25 |
StateSet { |
|---|
| 26 |
UniqueID StateSet_2 |
|---|
| 27 |
DataVariance STATIC |
|---|
| 28 |
rendering_hint TRANSPARENT_BIN |
|---|
| 29 |
renderBinMode USE |
|---|
| 30 |
binNumber 1 |
|---|
| 31 |
binName DepthSortedBin |
|---|
| 32 |
GL_LIGHTING OFF |
|---|
| 33 |
GL_BLEND ON |
|---|
| 34 |
Material { |
|---|
| 35 |
DataVariance STATIC |
|---|
| 36 |
ColorMode OFF |
|---|
| 37 |
ambientColor 0.2 0.2 0.2 1 |
|---|
| 38 |
diffuseColor 0.8 0.8 0.8 1 |
|---|
| 39 |
specularColor FRONT 0 0 0 1 |
|---|
| 40 |
specularColor BACK 0 0 0 1 |
|---|
| 41 |
emissionColor FRONT 0 0 0 1 |
|---|
| 42 |
emissionColor BACK 0 0 0 1 |
|---|
| 43 |
shininess 0 |
|---|
| 44 |
} |
|---|
| 45 |
BlendFunc { |
|---|
| 46 |
DataVariance STATIC |
|---|
| 47 |
source SRC_ALPHA |
|---|
| 48 |
destination ONE |
|---|
| 49 |
} |
|---|
| 50 |
textureUnit 0 { |
|---|
| 51 |
GL_TEXTURE_2D ON |
|---|
| 52 |
Texture2D { |
|---|
| 53 |
DataVariance STATIC |
|---|
| 54 |
file "Images/particle.rgb" |
|---|
| 55 |
wrap_s CLAMP |
|---|
| 56 |
wrap_t CLAMP |
|---|
| 57 |
wrap_r CLAMP |
|---|
| 58 |
min_filter LINEAR |
|---|
| 59 |
mag_filter LINEAR |
|---|
| 60 |
internalFormatMode USE_IMAGE_DATA_FORMAT |
|---|
| 61 |
} |
|---|
| 62 |
TexEnv { |
|---|
| 63 |
DataVariance STATIC |
|---|
| 64 |
mode MODULATE |
|---|
| 65 |
} |
|---|
| 66 |
} |
|---|
| 67 |
} |
|---|
| 68 |
supportsDisplayList FALSE |
|---|
| 69 |
useDisplayList FALSE |
|---|
| 70 |
DoublePassRendering FALSE |
|---|
| 71 |
frozen FALSE |
|---|
| 72 |
freezeOnCull TRUE |
|---|
| 73 |
defaultBoundingBox -1 0 -1 7 0 1 |
|---|
| 74 |
particleTemplate { |
|---|
| 75 |
shape QUAD |
|---|
| 76 |
lifeTime 2 |
|---|
| 77 |
sizeRange 0.1 0.05 |
|---|
| 78 |
alphaRange 1 0 |
|---|
| 79 |
colorRange 0.3 0.5 1 0 1 1 1 2 |
|---|
| 80 |
position 0 0 0 |
|---|
| 81 |
velocity 0 0 0 |
|---|
| 82 |
mass 0.1 |
|---|
| 83 |
radius 0.2 |
|---|
| 84 |
sizeInterpolator { |
|---|
| 85 |
osgParticle::LinearInterpolator { |
|---|
| 86 |
UniqueID LinearInterpolator_3 |
|---|
| 87 |
DataVariance DYNAMIC |
|---|
| 88 |
} |
|---|
| 89 |
} |
|---|
| 90 |
alphaInterpolator { |
|---|
| 91 |
osgParticle::LinearInterpolator { |
|---|
| 92 |
UniqueID LinearInterpolator_4 |
|---|
| 93 |
DataVariance DYNAMIC |
|---|
| 94 |
} |
|---|
| 95 |
} |
|---|
| 96 |
colorInterpolator { |
|---|
| 97 |
osgParticle::LinearInterpolator { |
|---|
| 98 |
UniqueID LinearInterpolator_5 |
|---|
| 99 |
DataVariance DYNAMIC |
|---|
| 100 |
} |
|---|
| 101 |
} |
|---|
| 102 |
} |
|---|
| 103 |
} |
|---|
| 104 |
enabled TRUE |
|---|
| 105 |
referenceFrame RELATIVE_TO_PARENTS |
|---|
| 106 |
useDefaultTemplate TRUE |
|---|
| 107 |
osgParticle::RandomRateCounter { |
|---|
| 108 |
UniqueID RandomRateCounter_6 |
|---|
| 109 |
DataVariance DYNAMIC |
|---|
| 110 |
rateRange 100 150 |
|---|
| 111 |
} |
|---|
| 112 |
osgParticle::MultiSegmentPlacer { |
|---|
| 113 |
DataVariance DYNAMIC |
|---|
| 114 |
vertex 0 1 0 |
|---|
| 115 |
vertex -1 0 0 |
|---|
| 116 |
vertex 0 -1 0 |
|---|
| 117 |
vertex 1 0 0 |
|---|
| 118 |
vertex 0 1 0 |
|---|
| 119 |
} |
|---|
| 120 |
osgParticle::RadialShooter { |
|---|
| 121 |
UniqueID RadialShooter_7 |
|---|
| 122 |
DataVariance DYNAMIC |
|---|
| 123 |
thetaRange 1.1781 1.9635 |
|---|
| 124 |
phiRange 1.1781 1.9635 |
|---|
| 125 |
initialSpeedRange 0.1 0.2 |
|---|
| 126 |
} |
|---|
| 127 |
} |
|---|
| 128 |
osgParticle::ModularEmitter { |
|---|
| 129 |
DataVariance DYNAMIC |
|---|
| 130 |
cullingActive FALSE |
|---|
| 131 |
Use ParticleSystem_1 |
|---|
| 132 |
enabled TRUE |
|---|
| 133 |
referenceFrame RELATIVE_TO_PARENTS |
|---|
| 134 |
useDefaultTemplate TRUE |
|---|
| 135 |
Use RandomRateCounter_6 |
|---|
| 136 |
osgParticle::MultiSegmentPlacer { |
|---|
| 137 |
DataVariance DYNAMIC |
|---|
| 138 |
vertex 3.75 0.75 0 |
|---|
| 139 |
vertex 3 1 0 |
|---|
| 140 |
vertex 2.25 0.25 0 |
|---|
| 141 |
vertex 3.75 -0.25 0 |
|---|
| 142 |
vertex 3 -1 0 |
|---|
| 143 |
vertex 2.25 -0.75 0 |
|---|
| 144 |
} |
|---|
| 145 |
Use RadialShooter_7 |
|---|
| 146 |
} |
|---|
| 147 |
osgParticle::ModularEmitter { |
|---|
| 148 |
DataVariance DYNAMIC |
|---|
| 149 |
cullingActive FALSE |
|---|
| 150 |
Use ParticleSystem_1 |
|---|
| 151 |
enabled TRUE |
|---|
| 152 |
referenceFrame RELATIVE_TO_PARENTS |
|---|
| 153 |
useDefaultTemplate TRUE |
|---|
| 154 |
Use RandomRateCounter_6 |
|---|
| 155 |
osgParticle::MultiSegmentPlacer { |
|---|
| 156 |
DataVariance DYNAMIC |
|---|
| 157 |
vertex 6.25 0.75 0 |
|---|
| 158 |
vertex 6 1 0 |
|---|
| 159 |
vertex 5 0 0 |
|---|
| 160 |
vertex 6 -1 0 |
|---|
| 161 |
vertex 7 0 0 |
|---|
| 162 |
vertex 6 0 0 |
|---|
| 163 |
} |
|---|
| 164 |
Use RadialShooter_7 |
|---|
| 165 |
} |
|---|
| 166 |
} |
|---|
| 167 |
osgParticle::ParticleSystemUpdater { |
|---|
| 168 |
DataVariance DYNAMIC |
|---|
| 169 |
cullingActive FALSE |
|---|
| 170 |
Use ParticleSystem_1 |
|---|
| 171 |
} |
|---|
| 172 |
Geode { |
|---|
| 173 |
DataVariance DYNAMIC |
|---|
| 174 |
cullingActive TRUE |
|---|
| 175 |
num_drawables 1 |
|---|
| 176 |
Use ParticleSystem_1 |
|---|
| 177 |
} |
|---|
| 178 |
} |
|---|