Blender Git Loki

Git Commits -> Revision d218650

Revision d218650 by Janne Karhu (master)
September 13, 2008, 18:09 (GMT)
Particle collisions upgrade:

- Particle now use the deflector objects collision modifier data to collide with deflectors and as a result can now use the velocity of the colliding object for more realistic collisions.
- Dynamic rotations are also quite a bit more realistic and are related to the friction setting of the deflector (to get any dynamic rotations there has to be some friction). This is largely due to the separate handling of rolling friction (approximated to be 1% of normal sliding friction).
- Collisions should be a bit faster on complex deflectors due to the tree structure used by the collision modifier.
- Collision should also generally be a bit more accurate.

To be noted: Only the average velocity of individual deflector faces is used, so collisions with rotating or deforming objects can't be handled accurately - this would require much more complex calculations. Subdividing the deflector object surface to smaller faces can help with this as the individual face velocities become more linear.

Commit Details:

Full Hash: d2186508da224805db8d2fe299738a94e1a5e750
SVN Revision: 16507
Parent Commit: 8925ae6
Lines Changed: +264, -343

6 Modified Paths:

/source/blender/blenkernel/intern/effect.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+253, -335) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_kdopbvh.h (+2, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+6, -5) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021