Blender Git Commit Log

Git Commits -> Revision 6f96dfa

Revision 6f96dfa by Jacques Lucke (master)
June 8, 2020, 13:49 (GMT)
Simulations: initial simulation state and cache

The current particle state is stored in a `CustomData` instance and
the cache is stored in `PointCache`.

The current state exists on the copy-on-write copies of the simulation,
while the cache only exists in the original data block.

This patch implements a temporary trivial particle simulation that does not
use the node system yet. It is used for testing and will be replaced soon.

`PointCache` still has some limitations that need to be overcome using
separate refactorings. For example, we need to be able to store the number
of particles in the point cache. Also we need to change which attributes
are stored for a particle system more dynamically than is currently possible afaik.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D7836

Commit Details:

Full Hash: 6f96dfabe5cbf6966282decd2307ade9aacdeaee
Parent Commit: bf4198c
Lines Changed: +380, -7

11 Modified Paths:

/source/blender/blenkernel/BKE_pointcache.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+99, -0) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+132, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+24, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+14, -0) (Diff)
/source/blender/editors/space_action/action_draw.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_simulation_types.h (+39, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+13, -1) (Diff)
/source/blender/modifiers/intern/MOD_simulation.cc (+39, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021