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:
1.0 KB
|
Line | |
---|
1 | |
---|
2 | particle_system Orxonox/fairytwirl |
---|
3 | { |
---|
4 | quota 500 |
---|
5 | material PE/lensflare |
---|
6 | particle_width 2 |
---|
7 | particle_height 2 |
---|
8 | cull_each false |
---|
9 | renderer billboard |
---|
10 | sorted false |
---|
11 | local_space false |
---|
12 | iteration_interval 0 |
---|
13 | nonvisible_update_timeout 0 |
---|
14 | billboard_type point |
---|
15 | billboard_origin center |
---|
16 | billboard_rotation_type texcoord |
---|
17 | common_up_vector 0 1 0 |
---|
18 | point_rendering false |
---|
19 | accurate_facing false |
---|
20 | |
---|
21 | emitter Ring |
---|
22 | { |
---|
23 | angle 0 |
---|
24 | colour 0 0 0 1 |
---|
25 | colour_range_start 0 0 0 1 |
---|
26 | colour_range_end 0 0 0 1 |
---|
27 | direction 0 1 0 |
---|
28 | emission_rate 500 |
---|
29 | position 0 -10 0 |
---|
30 | velocity 15 |
---|
31 | velocity_min 15 |
---|
32 | velocity_max 15 |
---|
33 | time_to_live 1 |
---|
34 | time_to_live_min 1 |
---|
35 | time_to_live_max 1 |
---|
36 | duration 1 |
---|
37 | duration_min 1 |
---|
38 | duration_max 1 |
---|
39 | repeat_delay 1000000 |
---|
40 | repeat_delay_min 1000000 |
---|
41 | repeat_delay_max 1000000 |
---|
42 | width 35 |
---|
43 | height 35 |
---|
44 | depth 20 |
---|
45 | inner_width 0.99 |
---|
46 | inner_height 0.99 |
---|
47 | } |
---|
48 | |
---|
49 | affector ColourInterpolator |
---|
50 | { |
---|
51 | colour0 0 0 0 0 |
---|
52 | time0 0 |
---|
53 | colour1 1 1 1 0 |
---|
54 | time1 0.5 |
---|
55 | colour2 0 0 0 0 |
---|
56 | time2 1 |
---|
57 | colour3 0.5 0.5 0.5 0 |
---|
58 | time3 1 |
---|
59 | colour4 0.5 0.5 0.5 0 |
---|
60 | time4 1 |
---|
61 | colour5 0.5 0.5 0.5 0 |
---|
62 | time5 1 |
---|
63 | } |
---|
64 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.