root/OpenSceneGraph-Data/tags/OpenSceneGraph-Data-2.2/SmokeBox.osg

Revision 6871 (checked in by robert, 2 years ago)

Checked in first cut of new SVN for OpenSceneGraph-Data

Line 
1 Group {
2   DataVariance DYNAMIC
3   nodeMask 0xffffffff
4   cullingActive TRUE
5   num_children 4
6   Geode {
7     UniqueID Geode_0
8     DataVariance DYNAMIC
9     name "Layer 0"
10     nodeMask 0xffffffff
11     cullingActive TRUE
12     num_drawables 1
13     osgParticle::ParticleSystem {
14       UniqueID ParticleSystem_1
15       DataVariance DYNAMIC
16       StateSet {
17         DataVariance STATIC
18         rendering_hint TRANSPARENT_BIN
19         renderBinMode USE
20         binNumber 13
21         binName DepthSortedBin
22         GL_LIGHTING OFF
23         GL_COLOR_MATERIAL ON
24         GL_BLEND ON
25         Material {
26           DataVariance STATIC
27           ColorMode OFF
28           ambientColor 0.2 0.2 0.2 1
29           diffuseColor 0.8 0.8 0.8 1
30           specularColor FRONT 0 0 0 1
31           specularColor BACK  0 0 0 1
32           emissionColor FRONT 0 0 0 1
33           emissionColor BACK  0 0 0 1
34           shininess 0
35         }
36         BlendFunc {
37           DataVariance STATIC
38           source SRC_ALPHA
39           destination ONE_MINUS_SRC_ALPHA
40         }
41         textureUnit 0 {
42           GL_TEXTURE_2D ON
43           Texture2D {
44             DataVariance STATIC
45             file "Images/smoke.rgb"
46             wrap_s REPEAT
47             wrap_t REPEAT
48             wrap_r REPEAT
49             min_filter LINEAR
50             mag_filter LINEAR
51             maxAnisotropy 1
52             borderColor 0 0 0 0
53             borderWidth 0
54             useHardwareMipMapGeneration TRUE
55             unRefImageDataAfterApply FALSE
56             internalFormatMode USE_IMAGE_DATA_FORMAT
57             resizeNonPowerOfTwo FALSE
58           }
59           TexEnv {
60             DataVariance STATIC
61             mode MODULATE
62           }
63         }
64       }
65       supportsDisplayList FALSE
66       useDisplayList FALSE
67       useVertexBufferObjects FALSE
68       particleAlignment BILLBOARD
69       alignVectorX 1 0 0
70       alignVectorY 0 1 0
71       doublePassRendering FALSE
72       frozen FALSE
73       freezeOnCull FALSE
74       defaultBoundingBox -10 -10 -10 10 10 10
75       particleTemplate {
76         shape QUAD
77         lifeTime 20
78         sizeRange 0 4
79         alphaRange 1 0
80         colorRange 0 0 0 1 0 0 0 1
81         position 0 0 0
82         velocity 0 0 0
83         angle 0 0 0
84         angularVelocity 0 0 0
85         radius 0.2
86         mass 0.1
87         sizeInterpolator {
88           osgParticle::LinearInterpolator {
89             UniqueID LinearInterpolator_2
90             DataVariance DYNAMIC
91           }
92         }
93         alphaInterpolator {
94           osgParticle::LinearInterpolator {
95             UniqueID LinearInterpolator_3
96             DataVariance DYNAMIC
97           }
98         }
99         colorInterpolator {
100           osgParticle::LinearInterpolator {
101             UniqueID LinearInterpolator_4
102             DataVariance DYNAMIC
103           }
104         }
105       }
106     }
107   }
108   MatrixTransform {
109     UniqueID MatrixTransform_5
110     DataVariance DYNAMIC
111     nodeMask 0xffffffff
112     cullingActive TRUE
113     referenceFrame RELATIVE
114     Matrix {
115       1 0 0 0
116       0 1 0 0
117       0 0 1 0
118       0 0 0 1
119     }
120     num_children 1
121     osgParticle::ModularEmitter {
122       UniqueID ModularEmitter_6
123       DataVariance DYNAMIC
124       nodeMask 0xffffffff
125       cullingActive FALSE
126       Use ParticleSystem_1
127       enabled TRUE
128       referenceFrame ABSOLUTE
129       endless TRUE
130       lifeTime 0
131       startTime 0
132       currentTime 0
133       resetTime 0
134       useDefaultTemplate TRUE
135       osgParticle::RandomRateCounter {
136         DataVariance DYNAMIC
137         rateRange 10 10
138       }
139       osgParticle::BoxPlacer {
140         DataVariance DYNAMIC
141         center 0 0 0
142         xRange -10 10
143         yRange -5 5
144           zRange -3 3
145       }
146       osgParticle::RadialShooter {
147         DataVariance DYNAMIC
148         thetaRange -0.392699 0.39
149         phiRange 0 6.2832
150         initialSpeedRange 0 0
151         initialRotationalSpeedRange 0 0 -1 0 0 1
152       }
153     }
154   }
155   osgParticle::ModularProgram {
156     UniqueID ModularProgram_7
157     DataVariance DYNAMIC
158     nodeMask 0xffffffff
159     cullingActive FALSE
160     Use ParticleSystem_1
161     enabled TRUE
162     referenceFrame RELATIVE
163     endless TRUE
164     lifeTime 0
165     startTime 0
166     currentTime 0
167     resetTime 0
168     osgParticle::FluidFrictionOperator {
169       DataVariance DYNAMIC
170       fluidDensity 0.108
171       fluidViscosity 1.8e-005
172       overrideRadius 0    }
173     osgParticle::ForceOperator {
174       DataVariance DYNAMIC
175       force 0 0 0
176     }
177   }
178   osgParticle::ParticleSystemUpdater {
179     DataVariance DYNAMIC
180     nodeMask 0xffffffff
181     cullingActive FALSE
182     Use ParticleSystem_1
183   }
184 }
Note: See TracBrowser for help on using the browser.