Blender Git Loki

Git Commits -> Revision 74fcb4d

Revision 74fcb4d by Jacques Lucke (master)
July 24, 2020, 11:37 (GMT)
Particles: initial particle birth action

A particle action is some function that is triggered by some event.
Right now, users cannot control this. There is just a
randomize-velocity on-birth action. So the direction of spawned
particles is slightly randomized now.

This also adds a new integer attribute called "Hash" which is
useful for a number of things. Mainly for generating random numbers
for a specific particle. The ID of a particle is not necessarily a good source
of randomness.

Commit Details:

Full Hash: 74fcb4d4c2f3c72747119a672c7e322f6f910478
Parent Commit: f495b58
Lines Changed: +160, -178

7 Modified Paths:

/source/blender/simulation/intern/particle_allocator.cc (+9, -0) (Diff)
/source/blender/simulation/intern/particle_allocator.hh (+3, -2) (Diff)
/source/blender/simulation/intern/particle_function.cc (+5, -6) (Diff)
/source/blender/simulation/intern/particle_mesh_emitter.cc (+3, -3) (Diff)
/source/blender/simulation/intern/simulation_collect_influences.cc (+36, -3) (Diff)
/source/blender/simulation/intern/simulation_solver.cc (+59, -39) (Diff)
/source/blender/simulation/intern/simulation_solver_influences.hh (+45, -125) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021