Last change
on this file since 5689 was
5689,
checked in by rgrieder, 15 years ago
|
Experimental support for OGRE v1.6 "Shoggoth".
I had to write a little script that removes all the "particle_system" keywords from the particle scripts. But since we can't write to the media folder and creating unique temporary folders is quite tedious, I derived from Ogre::Archive and created a little MemoryArchive that accepts those new particle scripts and feeds them back to the Ogre::ResourceGroupManager.
Also adjusted all particle scripts for the new script compiler (i.e. just added "particle_system" everywhere).
Note: It seems that overlays don't work anymore on Windows, compiling with MinGW.
|
-
Property svn:eol-style set to
native
|
File size:
779 bytes
|
Line | |
---|
1 | particle_system 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.