source:
GTP/trunk/App/Demos/Illum/Ogre/Media/particle/GameTools.particle
@
1525
Revision 1525, 2.4 KB checked in by szirmay, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[777] | 1 | GameTools/DemoParticle1 |
2 | { | |
[1339] | 3 | renderer sprite |
4 | material GameTools/SBB | |
5 | //material GameTools/HPS | |
[777] | 6 | particle_width 200 |
7 | particle_height 200 | |
8 | cull_each false | |
9 | quota 30 | |
10 | billboard_type point | |
11 | ||
12 | // Area emitter | |
13 | emitter Box | |
14 | { | |
15 | // colour 0.7 0.8 0.3 0 | |
16 | colour_range_start 1 1 1 0 | |
17 | colour_range_end 0.8 1 0.5 0 | |
18 | ||
19 | angle 30 | |
[847] | 20 | emission_rate 6 |
[777] | 21 | time_to_live 3 |
22 | direction 0 1 0 | |
23 | velocity 0 | |
24 | width 120 | |
25 | height 120 | |
26 | depth 30 | |
27 | } | |
28 | ||
29 | // Make em float upwards | |
30 | affector LinearForce | |
31 | { | |
32 | force_vector 0 40 0 | |
33 | force_application add | |
34 | } | |
35 | ||
36 | affector ColourFader2 | |
37 | { | |
[847] | 38 | alpha1 +0.5 |
39 | alpha2 -0.5 | |
[777] | 40 | state_change 0.5 |
41 | } | |
42 | } | |
43 | ||
[1336] | 44 | GameTools/Big |
45 | { | |
[1424] | 46 | renderer sprite |
47 | ||
48 | material HPS_SMOKE_L_Depth | |
49 | //material GameTools/SpriteShader | |
50 | particle_width 1.6 | |
51 | particle_height 1.6 | |
[1336] | 52 | cull_each false |
[1446] | 53 | quota 220 |
[1336] | 54 | billboard_type point |
[1424] | 55 | sorted true |
[1336] | 56 | |
57 | // Area emitter | |
[1525] | 58 | emitter Box |
[1336] | 59 | { |
[1424] | 60 | colour 1 1 1 0 |
61 | //colour_range_start 1 1 1 0 | |
62 | //colour_range_end 1 1 1 0 | |
[777] | 63 | |
[1336] | 64 | angle 30 |
[1446] | 65 | emission_rate 3 |
66 | time_to_live 10 | |
[1336] | 67 | direction 0 1 0 |
[1446] | 68 | velocity 20 |
69 | width 70 | |
70 | height 70 | |
71 | depth 70 | |
[1336] | 72 | } |
73 | ||
74 | // Make em float upwards | |
[1424] | 75 | // affector LinearForce |
76 | // { | |
77 | // force_vector 0 40 0 | |
78 | // force_application add | |
79 | // } | |
[1336] | 80 | |
81 | affector ColourFader2 | |
82 | { | |
83 | alpha1 +0.5 | |
84 | alpha2 -0.5 | |
[1424] | 85 | state_change 3 |
[1336] | 86 | } |
87 | } | |
88 | ||
89 | ||
[1061] | 90 | GameTools/Little |
91 | { | |
[1339] | 92 | //material Flare |
93 | material HPS_SMOKE_S | |
94 | renderer sprite | |
[1451] | 95 | particle_width 45 |
96 | particle_height 45 | |
[1061] | 97 | cull_each false |
[1424] | 98 | quota 400 |
[1061] | 99 | billboard_type point |
100 | ||
101 | // Area emitter | |
[1424] | 102 | emitter Ellipsoid |
[1061] | 103 | { |
[1424] | 104 | colour 1 1 1 0 |
105 | //colour_range_start 1 1 1 0 | |
106 | //colour_range_end 1 1 1 0 | |
[1061] | 107 | |
[1355] | 108 | angle 160 |
109 | emission_rate 20 | |
[1424] | 110 | time_to_live 6 |
[1061] | 111 | direction 0 1 0 |
[1451] | 112 | velocity 8 |
[1424] | 113 | |
[1446] | 114 | width 20 |
115 | height 20 | |
116 | depth 20 | |
[1061] | 117 | } |
118 | ||
119 | affector ColourFader2 | |
120 | { | |
121 | alpha1 +0.5 | |
122 | alpha2 -0.5 | |
[1424] | 123 | state_change 2 |
[1061] | 124 | } |
125 | } | |
126 |
Note: See TracBrowser
for help on using the repository browser.