Blender Git Commit Log
Git Commits -> Revision 57d1a1e
Revision 57d1a1e by Janne Karhu (master) August 21, 2008, 21:12 (GMT) |
New things for particle effectors: - For newtonian particles a "self effect" button in particle extras makes the particles be effected by themselves if a particle effector is defined for this system, currently this is a brute force method so things start getting slow with more than ~100 particles, but this will hopefully change in the future. - Two new effector types: charge and a Lennard-Jones potential based force (inter-molecular forces for example). -Charge is similar to spherical field except it changes behavior (attract/repulse) based on the effected particles charge field (negative/positive) like real particles with a charge. -The Lennard-Jones field is a very short range force with a behavior determined by the sizes of the effector and effected particle. At a distance smaller than the combined sizes the field is very repulsive and after that distance it's attractive. It tries to keep the particles at an equilibrium distance from each other. Particles need to be at a close proximity to each other to be effected by this field at all. - Particle systems can now have two effector fields (two slots in the fields panel). This allows to create particles which for example have both a charge and a Lennard-Jones potential. |
Commit Details:
Full Hash: 57d1a1eac2d092837db07ca6005006958a54ec5d
SVN Revision: 16214
Parent Commit: 3d3527e
Lines Changed: +168, -115
13 Modified Paths:
/source/blender/blenkernel/BKE_effect.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+43, -10) (Diff)
/source/blender/blenkernel/intern/ipo.c (+7, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+38, -42) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+6, -2) (Diff)
/source/blender/makesdna/DNA_object_force.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+3, -0) (Diff)
/source/blender/src/buttons_object.c (+56, -38) (Diff)
/source/blender/src/editipo.c (+0, -17) (Diff)
/source/blender/src/editipo_lib.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+43, -10) (Diff)
/source/blender/blenkernel/intern/ipo.c (+7, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+38, -42) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+6, -2) (Diff)
/source/blender/makesdna/DNA_object_force.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+3, -0) (Diff)
/source/blender/src/buttons_object.c (+56, -38) (Diff)
/source/blender/src/editipo.c (+0, -17) (Diff)
/source/blender/src/editipo_lib.c (+2, -1) (Diff)