Blender Git Loki
Git Commits -> Revision e750478
Revision e750478 by Ton Roosendaal (master) June 26, 2004, 18:18 (GMT) |
The revised patch from Leon for new particle effects. New is that objects can have a force field, and Meshes can even deflect (collide) particles. This is in a new sub-menu in Object buttons F7 The full instructions where on the web, Leon mailed it me and I will put it in CMS tomorrow. For those who like to play with it now, here are demo files: http://download.blender.org/demo/test/ Quite some changes where in the integration though... so previous created particle deflectors will not work. Changes to mention now are: - gravity is renamed to 'force field' - force field and deflector options are in Object now, not in Mesh - the options also have its own struct, doesnt add to Object by default - force fields are possible for all object types, but only work on center. So empty objects are typical for it. Work to do: - add draw method in 3d win to denote forcefield objects - check on the UI (panel with different size?) - add 'recalc' button in deflector panel |
Commit Details:
Full Hash: e750478ce3ed4427a468ec77513a60916b9cf9e4
SVN Revision: 2720
Parent Commit: 263d082
Lines Changed: +2232, -1522
24 Modified Paths:
/source/blender/blenkernel/BKE_effect.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+508, -34) (Diff)
/source/blender/blenkernel/intern/ipo.c (+36, -20) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/include/BIF_butspace.h (+4, -0) (Diff)
/source/blender/include/BIF_resources.h (+5, -3) (Diff)
/source/blender/include/BSE_editipo_types.h (+6, -1) (Diff)
/source/blender/include/butspace.h (+17, -16) (Diff)
/source/blender/include/ipo.h (+6, -1) (Diff)
/source/blender/include/mydevice.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+7, -1) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+14, -0) (Diff)
/source/blender/render/intern/source/zbuf.c (+4, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1365, -1326) (Diff)
/source/blender/src/butspace.c (+13, -5) (Diff)
/source/blender/src/buttons_editing.c (+2, -2) (Diff)
/source/blender/src/buttons_object.c (+176, -97) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/editipo.c (+46, -4) (Diff)
/source/blender/src/glutil.c (+3, -0) (Diff)
/source/blender/src/header_buttonswin.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/effect.c (+508, -34) (Diff)
/source/blender/blenkernel/intern/ipo.c (+36, -20) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/include/BIF_butspace.h (+4, -0) (Diff)
/source/blender/include/BIF_resources.h (+5, -3) (Diff)
/source/blender/include/BSE_editipo_types.h (+6, -1) (Diff)
/source/blender/include/butspace.h (+17, -16) (Diff)
/source/blender/include/ipo.h (+6, -1) (Diff)
/source/blender/include/mydevice.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+7, -1) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+14, -0) (Diff)
/source/blender/render/intern/source/zbuf.c (+4, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1365, -1326) (Diff)
/source/blender/src/butspace.c (+13, -5) (Diff)
/source/blender/src/buttons_editing.c (+2, -2) (Diff)
/source/blender/src/buttons_object.c (+176, -97) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/editipo.c (+46, -4) (Diff)
/source/blender/src/glutil.c (+3, -0) (Diff)
/source/blender/src/header_buttonswin.c (+7, -4) (Diff)