Particles cleanup, optimizations and some small new stuff.
authorJanne Karhu <jhkarh@gmail.com>
Thu, 17 Sep 2009 22:00:49 +0000 (22:00 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Thu, 17 Sep 2009 22:00:49 +0000 (22:00 +0000)
commit08e2da590f812860ae14fff4d4e22e98cbd3528c
tree4d48020f2df3dacee58809085ba4adcb8435933e
parent69e919530e179c0ac251534003e3ab8f540e82fe
Particles cleanup, optimizations and some small new stuff.

New stuff
- Bending springs for hair dynamics.

Code cleanup & optimization
- Disabled reactor particles temporarily for cleanup, it's a clumsy system that will be replaced with something better.
- Removed child seams, something better will come here too :)
- Normal particle drawing data is now saved between redraws if the particles don't move between redraws.
* For example rotating the 3d view is now realtime even with 1M particles.
- Many random values for particles now come from a lookup table making things much faster.
- Most accessed small point cache functions are now much faster as macros.
- Lot's of general code cleanup.
- Nothing big should have changed so if something doesn't work like it used to it's probably just a typo somewhere :)
18 files changed:
release/ui/buttons_particle.py
source/blender/blenkernel/BKE_boids.h
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/boids.c
source/blender/blenkernel/intern/cloth.c
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/physics/editparticle.c
source/blender/editors/space_view3d/drawobject.c
source/blender/makesdna/DNA_particle_types.h
source/blender/makesrna/intern/rna_particle.c
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/pointdensity.c