Revision 692,
798 bytes
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Rev | Line | |
---|
[692] | 1 | Examples/Water/Rain
|
---|
| 2 | {
|
---|
| 3 | material Examples/Droplet
|
---|
| 4 | particle_width 100
|
---|
| 5 | particle_height 300
|
---|
| 6 | cull_each true
|
---|
| 7 | quota 100
|
---|
| 8 | // Make common direction straight down (faster than self oriented)
|
---|
| 9 | billboard_type oriented_common
|
---|
| 10 | common_direction 0 -1 0
|
---|
| 11 |
|
---|
| 12 | // Area emitter
|
---|
| 13 | emitter Box
|
---|
| 14 | {
|
---|
| 15 | angle 0
|
---|
| 16 | emission_rate 20
|
---|
| 17 | time_to_live 5
|
---|
| 18 | direction 0 -1 0
|
---|
| 19 | velocity 1000
|
---|
| 20 | colour_range_start 0.3 1 0.3
|
---|
| 21 | colour_range_end 0.7 1 0.7
|
---|
| 22 | width 3000
|
---|
| 23 | height 3000
|
---|
| 24 | depth 0
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | // Gravity
|
---|
| 28 | affector LinearForce
|
---|
| 29 | {
|
---|
| 30 | force_vector 0 -1000 0
|
---|
| 31 | force_application add
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | }
|
---|
| 35 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.