Blender Git Loki
Git Commits -> Revision d024452
Revision d024452 by Ton Roosendaal (master) December 6, 2005, 10:55 (GMT) |
Orange branch: Revived hidden treasure, the Groups! Previous experiment (in 2000) didn't satisfy, it had even some primitive NLA option in groups... so, cleaned up the old code (removed most) and integrated it back in a more useful way. Usage: - CTRL+G gives menu to add group, add to existing group, or remove from groups. - In Object buttons, a new (should become first) Panel was added, showing not only Object "ID button" and Parent, but also the Groups the Object Belongs to. These buttons also allow rename, assigning or removing. - To indicate Objects are grouped, they're drawn in a (not theme yet, so temporal?) green wire color. - Use ALT+SHIFT mouse-select to (de)select an entire group But, the real power of groups is in the following features: -> Particle Force field and Guide control In the "Particle Motion" Panel, you can indicate a Group name, this then limits force fields or guides to members of that Group. (Note that layers still work on top of that... not sure about that). -> Light Groups In the Material "Shaders" Panel, you can indicate a Group name to limit lighting for the Material to lamps in this group. The Lights in a Group do need to be 'visible' for the Scene to be rendered (as usual). -> Group Duplicator In the Object "Anim" Panel, you can set any Object (use Empty!) to duplicate an entire Group. It will make copies of all Objects in that Group. Also works for animated Objects, but it will copy the current positions or deforms. Control over 'local timing' (so we can do Massive anims!) will be added later. (Note; this commit won't render Group duplicators yet, a fix in bf-blender will enable that, next commit will sync) -> Library Appending In the SHIFT-F1 or SHIFT+F4 browsers, you can also find the Groups listed. By appending or linking the Group itself, and use the Group Duplicator, you now can animate and position linked Objects. The nice thing is that the local saved file itself will only store the Group name that was linked, so on a next file read, the Group Objects will be re-read as stored (changed) in the Library file. (Note; current implementation also "gives a base" to linked Group Objects, to show them as Objects in the current Scene. Need that now for testing purposes, but probably will be removed later). -> Outliner Outliner now shows Groups as optio too, nice to organize your data a bit too! In General, Groups have a very good potential... for example, it could become default for MetaBall Objects too (jiri, I can help you later on how this works). All current 'layer relationships' in Blender should be dropped in time, I guess... |
Commit Details:
Full Hash: d024452ebf97c0926b1601371d2ee802bd754f3c
SVN Revision: 6036
Parent Commit: 8632344
Lines Changed: +695, -793
45 Modified Paths:
/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_anim.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_effect.h (+2, -4) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -11) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+32, -15) (Diff)
/source/blender/blenkernel/intern/effect.c (+51, -34) (Diff)
/source/blender/blenkernel/intern/group.c (+17, -212) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+27, -28) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -18) (Diff)
/source/blender/include/BIF_editgroup.h (+4, -6) (Diff)
/source/blender/include/BIF_resources.h (+2, -2) (Diff)
/source/blender/include/BIF_space.h (+1, -2) (Diff)
/source/blender/include/butspace.h (+6, -5) (Diff)
/source/blender/makesdna/DNA_effect_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_group_types.h (+2, -43) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -6) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/render/extern/include/render_types.h (+1, -0) (Diff)
/source/blender/render/intern/source/envmap.c (+4, -3) (Diff)
/source/blender/render/intern/source/initrender.c (+1, -28) (Diff)
/source/blender/render/intern/source/pixelshading.c (+5, -4) (Diff)
/source/blender/render/intern/source/rendercore.c (+24, -11) (Diff)
/source/blender/render/intern/source/renderPreAndPost.c (+6, -3) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+48, -30) (Diff)
/source/blender/src/butspace.c (+24, -6) (Diff)
/source/blender/src/buttons_object.c (+240, -141) (Diff)
/source/blender/src/buttons_shading.c (+2, -0) (Diff)
/source/blender/src/drawobject.c (+12, -2) (Diff)
/source/blender/src/drawview.c (+1, -0) (Diff)
/source/blender/src/editgroup.c (+32, -83) (Diff)
/source/blender/src/editipo.c (+0, -9) (Diff)
/source/blender/src/editobject.c (+11, -1) (Diff)
/source/blender/src/editview.c (+31, -4) (Diff)
/source/blender/src/filesel.c (+20, -19) (Diff)
/source/blender/src/header_oops.c (+6, -14) (Diff)
/source/blender/src/header_view3d.c (+1, -1) (Diff)
/source/blender/src/outliner.c (+32, -4) (Diff)
/source/blender/src/previewrender.c (+7, -7) (Diff)
/source/blender/src/space.c (+26, -27) (Diff)
/source/blender/blenkernel/BKE_anim.h (+0, -3) (Diff)
/source/blender/blenkernel/BKE_effect.h (+2, -4) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -11) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+32, -15) (Diff)
/source/blender/blenkernel/intern/effect.c (+51, -34) (Diff)
/source/blender/blenkernel/intern/group.c (+17, -212) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/softbody.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+27, -28) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -18) (Diff)
/source/blender/include/BIF_editgroup.h (+4, -6) (Diff)
/source/blender/include/BIF_resources.h (+2, -2) (Diff)
/source/blender/include/BIF_space.h (+1, -2) (Diff)
/source/blender/include/butspace.h (+6, -5) (Diff)
/source/blender/makesdna/DNA_effect_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_group_types.h (+2, -43) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -6) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/render/extern/include/render_types.h (+1, -0) (Diff)
/source/blender/render/intern/source/envmap.c (+4, -3) (Diff)
/source/blender/render/intern/source/initrender.c (+1, -28) (Diff)
/source/blender/render/intern/source/pixelshading.c (+5, -4) (Diff)
/source/blender/render/intern/source/rendercore.c (+24, -11) (Diff)
/source/blender/render/intern/source/renderPreAndPost.c (+6, -3) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+48, -30) (Diff)
/source/blender/src/butspace.c (+24, -6) (Diff)
/source/blender/src/buttons_object.c (+240, -141) (Diff)
/source/blender/src/buttons_shading.c (+2, -0) (Diff)
/source/blender/src/drawobject.c (+12, -2) (Diff)
/source/blender/src/drawview.c (+1, -0) (Diff)
/source/blender/src/editgroup.c (+32, -83) (Diff)
/source/blender/src/editipo.c (+0, -9) (Diff)
/source/blender/src/editobject.c (+11, -1) (Diff)
/source/blender/src/editview.c (+31, -4) (Diff)
/source/blender/src/filesel.c (+20, -19) (Diff)
/source/blender/src/header_oops.c (+6, -14) (Diff)
/source/blender/src/header_view3d.c (+1, -1) (Diff)
/source/blender/src/outliner.c (+32, -4) (Diff)
/source/blender/src/previewrender.c (+7, -7) (Diff)
/source/blender/src/space.c (+26, -27) (Diff)