diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-02-04 18:48:13 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-02-04 18:48:13 +0300 |
commit | 4e8a8d1e8f59c2b97ce064d52fdab290ca8b2f3d (patch) | |
tree | 49b40239e1b676aa27415db051bc71e1f115e406 /source/blender/makesdna/DNA_particle_types.h | |
parent | b407702c5f13a0d2cf77d6728722d6f909e4d19e (diff) |
Improvements for particle grid distribution:
* Particles that aren't shown are now actually deleted (huge memory savings for flat objects).
* Grid distribution for flat objects is now done on the surface object surface without offset.
* Invert grid option wasn't in ui and it didn't work for non-volume grids.
* New parameter to randomize the grid point locations.
* Resolution soft/hard limits changed to even 50/250.
Diffstat (limited to 'source/blender/makesdna/DNA_particle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_particle_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index f009f3a9eb0..9ead2a3f572 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -168,8 +168,8 @@ typedef struct ParticleSettings { /* general values */ float sta, end, lifetime, randlife; - float timetweak, jitfac, eff_hair; - int totpart, userjit, grid_res; + float timetweak, jitfac, eff_hair, grid_rand; + int totpart, userjit, grid_res, rt; /* initial velocity factors */ float normfac, obfac, randfac, partfac, tanfac, tanphase, reactfac; @@ -247,7 +247,7 @@ typedef struct ParticleSystem{ /* note, make sure all (runtime) are NULL's in float imat[4][4]; /* used for duplicators */ float cfra, tree_frame; int seed, child_seed; - int flag, totpart, totchild, totcached, totchildcache; + int flag, totpart, totunexist, totchild, totcached, totchildcache, rt; short recalc, target_psys, totkeyed, bakespace; char bb_uvname[3][32]; /* billboard uv name */ |