Blender Git Commit Log

Git Commits -> Revision 66918b3

Revision 66918b3 by Janne Karhu (master)
July 4, 2009, 03:50 (GMT)
A bunch of fun stuff now possible because of new pointcache code:
* Baked normal particles can now use the "Path" visualization.
* Path "max length" & "abs length" are now history:
- New option to set path start & end times + random variation to length.
- Much more flexible (and calculated better) than previous options.
- This works with parents, children, hair & normal particles unlike old length option.
- Only known issue for now is that children from faces don't get calculated correctly when using path start time.
* New option "trails" for "halo", "line" and "billboard" visualizations:
- Draws user controllable number of particle instances along particles path backwards from current position.
- Works with children too for cool/weird visualizations that weren't possible before.
* Normal particle children's velocities are now approximated better when needed so that "line" visualization trails will look nice.
* New particle instance modifier options:
- "path"-option works better and has controllable (max)position along path (with random variation possible).
- "keep shape"-option for hair, keyed, or baked particles allows to place the instances to a single point (with random variation possible) along particle path.
- "axis" option to make rotation handling better (still not perfect, but will have to do for now).

Some fixes & cleanup done along the way:
* Random path length didn't work for non-child particles.
* Cached & unborn particles weren't reset to emit locations.
* Particle numbers weren't drawn in the correct place.
* Setting proper render & draw visualizations was lost somewhere when initializing new particle settings.
* Changing child mode wasn't working correctly.
* Some cleanup & modularization of particle child effector code and particle drawing & rendering code.
* Object & group visualizations didn't work.
* Child simplification didn't work.

Commit Details:

Full Hash: 66918b3add4dfc90a8074f4bdc1c797ae9bf1371
SVN Revision: 21361
Parent Commit: 2c71b12
Lines Changed: +982, -572

18 Modified Paths:

/release/ui/buttons_data_modifier.py (+9, -0) (Diff)
/release/ui/buttons_particle.py (+21, -14) (Diff)
/source/blender/blenkernel/BKE_particle.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/anim.c (+7, -6) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/modifier.c (+42, -20) (Diff)
/source/blender/blenkernel/intern/particle.c (+301, -240) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+19, -17) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+13, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+361, -188) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+5, -3) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+30, -0) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+56, -17) (Diff)
/source/blender/render/intern/source/convertblender.c (+106, -57) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021