Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorialHS09/data/particle/Example-Water.particle @ 12329

Last change on this file since 12329 was 5695, checked in by rgrieder, 15 years ago

Merged resource2 branch back to trunk.

IMPORTANT NOTE:
Upon this merge you need to specifically call your data directory "data_extern" when checking it out (when you don't provide a name, it will be just called 'trunk').
The new CMake variable is EXTERNAL_DATA_DIRECTORY. DATA_DIRECTORY now points to the one the source part of the repository.
UPDATE YOUR DATA DIRECTORY AS WELL!!!

  • Property svn:eol-style set to native
File size: 779 bytes
Line 
1particle_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.