Blender Git Loki

Git Commits -> Revision 6b15024

Revision 6b15024 by Janne Karhu (master)
June 21, 2009, 10:16 (GMT)
Pointcache refresh part 1:
* Particles support larger than 1 frame changes, bigger frame changes can result in inaccurate results, but it's super fast and you get a nice feeling of how the particles behave!
* "Cache to current frame" button calculates the exact result of particles at current frame.
* Current state of cache can be protected by making it a bake.
* Cache is now in memory by default, disk cache is an option.
* Only "viewport %" number of particles are calculated and cached in viewport, baking and rendering calculate all particles.
* Info on cached frames and memory usage given in ui.
* Support for exact "autocaching" of changes and large frame changes(disabled for now until exact place in event system is decided)
* "Continue physics" is probably deprecated after this and should be removed once sb & cloth use the new cache code.

Todo:
* Make softbody & cloth use the new cache things.

Other changes:
* Some cleanup of particle buttons.

Commit Details:

Full Hash: 6b15024f4a7b999331694d8a9135d47e4b783a34
SVN Revision: 21050
Parent Commit: 64274de
Lines Changed: +1536, -235

2 Added Paths:

/source/blender/editors/include/ED_pointcache.h (+38, -0) (View)
/source/blender/editors/physics/ed_pointcache.c (+270, -0) (View)

15 Modified Paths:

/release/ui/buttons_particle.py (+47, -73) (Diff)
/source/blender/blenkernel/BKE_particle.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_pointcache.h (+54, -2) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/particle.c (+43, -5) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+123, -64) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+696, -57) (Diff)
/source/blender/blenloader/intern/readfile.c (+23, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+18, -2) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_force.h (+18, -1) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+105, -0) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+66, -20) (Diff)
/source/blender/render/intern/source/pipeline.c (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021