Blender Git Commit Log
Git Commits -> Revision 28a1e82
Revision 28a1e82 by Ton Roosendaal (master) July 3, 2005, 17:35 (GMT) |
Result of 2 weeks of quiet coding work in Greece :) Aim was to get a total refresh of the animation system. This is needed because; - we need to upgrade it with 21st century features - current code is spaghetti/hack combo, and hides good design - it should become lag-free with using dependency graphs A full log, with complete code API/structure/design explanation will follow, that's a load of work... so here below the list with hot changes; - The entire object update system (matrices, geometry) is now centralized. Calls to where_is_object and makeDispList are forbidden, instead we tag objects 'changed' and let the depgraph code sort it out - Removed all old "Ika" code - Depgraph is aware of all relationships, including meta balls, constraints, bevelcurve, and so on. - Made depgraph aware of relation types and layers, to do smart flushing of 'changed' events. Nothing gets calculated too often! - Transform uses depgraph to detect changes - On frame-advance, depgraph flushes animated changes Armatures; Almost all armature related code has been fully built from scratch. It now reveils the original design much better, with a very clean implementation, lag free without even calculating each Bone more than once. Result is quite a speedup yes! Important to note is; 1) Armature is data containing the 'rest position' 2) Pose is the changes of rest position, and always on object level. That way more Objects can use same Pose. Also constraints are in Pose 3) Actions only contain the Ipos to change values in Poses. - Bones draw unrotated now - Drawing bones speedup enormously (10-20 times) - Bone selecting in EditMode, selection state is saved for PoseMode, and vice-versa - Undo in editmode - Bone renaming does vertexgroups, constraints, posechannels, actions, for all users of Armature in entire file - Added Bone renaming in NKey panel - Nkey PoseMode shows eulers now - EditMode and PoseMode now have 'active' bone too (last clicked) - Parenting in EditMode' CTRL+P, ALT+P, with nice options! - Pose is added in Outliner now, with showing that constraints are in the Pose, not Armature - Disconnected IK solving from constraints. It's a separate phase now, on top of the full Pose calculations - Pose itself has a dependency graph too, so evaluation order is lag free. TODO NOW; - Rotating in Posemode has incorrect inverse transform (Martin will fix) - Python Bone/Armature/Pose API disabled... needs full recode too (wait for my doc!) - Game engine will need upgrade too - Depgraph code needs revision, cleanup, can be much faster! (But, compliments for Jean-Luc, it works like a charm!) - IK changed, it now doesnt use previous position to advance to next position anymore. That system looks nice (no flips) but is not well suited for NLA and background render. TODO LATER; We now can do loadsa new nifty features as well; like: - Kill PoseMode (can be option for armatures itself) - Make B-Bones (Bezier, Bspline, like for spines) - Move all silly button level edit to 3d window (like CTRL+I = add IK) - Much better & informative drawing - Fix action/nla editors - Put all ipos in Actions (object, mesh key, lamp color) - Add hooks - Null bones - Much more advanced constraints... Bugfixes; - OGL render (view3d header) had wrong first frame on anim render - Ipo 'recording' mode had wrong playback speed - Vertex-key mode now sticks to show 'active key', until frame change -Ton- |
Commit Details:
Full Hash: 28a1e8277be15fc455c816bed50e21423eb7e95a
SVN Revision: 4639
Parent Commit: 99a8747
Lines Changed: +6048, -9359
5 Deleted Paths:
/source/blender/blenkernel/BKE_ika.h (+0, -60)
/source/blender/blenkernel/intern/ika.c (+0, -596)
/source/blender/include/BIF_editika.h (+0, -39)
/source/blender/makesdna/DNA_ika_types.h (+0, -93)
/source/blender/src/editika.c (+0, -429)
/source/blender/blenkernel/intern/ika.c (+0, -596)
/source/blender/include/BIF_editika.h (+0, -39)
/source/blender/makesdna/DNA_ika_types.h (+0, -93)
/source/blender/src/editika.c (+0, -429)
107 Modified Paths:
/source/blender/blenkernel/BKE_action.h (+15, -52) (Diff)
/source/blender/blenkernel/BKE_armature.h (+18, -29) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_depsgraph.h (+28, -27) (Diff)
/source/blender/blenkernel/BKE_displist.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_ipo.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+3, -2) (Diff)
/source/blender/blenkernel/BKE_main.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+5, -1) (Diff)
/source/blender/blenkernel/depsgraph_private.h (+8, -4) (Diff)
/source/blender/blenkernel/intern/action.c (+471, -548) (Diff)
/source/blender/blenkernel/intern/anim.c (+7, -11) (Diff)
/source/blender/blenkernel/intern/armature.c (+727, -921) (Diff)
/source/blender/blenkernel/intern/blender.c (+0, -9) (Diff)
/source/blender/blenkernel/intern/constraint.c (+304, -394) (Diff)
/source/blender/blenkernel/intern/deform.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+582, -220) (Diff)
/source/blender/blenkernel/intern/displist.c (+19, -168) (Diff)
/source/blender/blenkernel/intern/effect.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/exotic.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -3) (Diff)
/source/blender/blenkernel/intern/ipo.c (+52, -80) (Diff)
/source/blender/blenkernel/intern/key.c (+13, -18) (Diff)
/source/blender/blenkernel/intern/lattice.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+20, -30) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+124, -150) (Diff)
/source/blender/blenkernel/intern/scene.c (+72, -133) (Diff)
/source/blender/blenkernel/SConscript (+0, -1) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+0, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+55, -101) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -26) (Diff)
/source/blender/include/BDR_editcurve.h (+0, -1) (Diff)
/source/blender/include/BDR_editobject.h (+0, -4) (Diff)
/source/blender/include/BIF_butspace.h (+1, -1) (Diff)
/source/blender/include/BIF_editarmature.h (+14, -15) (Diff)
/source/blender/include/BIF_editconstraint.h (+2, -2) (Diff)
/source/blender/include/BIF_editfont.h (+0, -1) (Diff)
/source/blender/include/BIF_outliner.h (+2, -0) (Diff)
/source/blender/include/BIF_poseobject.h (+5, -14) (Diff)
/source/blender/include/butspace.h (+3, -3) (Diff)
/source/blender/include/transform.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_action_types.h (+52, -10) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+64, -76) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+0, -5) (Diff)
/source/blender/makesdna/DNA_key_types.h (+5, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+15, -8) (Diff)
/source/blender/makesdna/intern/makesdna.c (+0, -2) (Diff)
/source/blender/python/api2_2x/Armature.c (+3, -3) (Diff)
/source/blender/python/api2_2x/Bone.c (+67, -54) (Diff)
/source/blender/python/api2_2x/doc/Object.py (+0, -3) (Diff)
/source/blender/python/api2_2x/doc/Scene.py (+1, -1) (Diff)
/source/blender/python/api2_2x/Object.c (+9, -35) (Diff)
/source/blender/python/api2_2x/Object.h (+0, -1) (Diff)
/source/blender/python/api2_2x/Scene.c (+16, -9) (Diff)
/source/blender/render/intern/source/initrender.c (+3, -5) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+9, -88) (Diff)
/source/blender/src/buttons_editing.c (+56, -197) (Diff)
/source/blender/src/buttons_object.c (+23, -57) (Diff)
/source/blender/src/buttons_script.c (+0, -2) (Diff)
/source/blender/src/drawdeps.c (+10, -110) (Diff)
/source/blender/src/drawobject.c (+7, -9) (Diff)
/source/blender/src/drawview.c (+127, -128) (Diff)
/source/blender/src/edit.c (+319, -470) (Diff)
/source/blender/src/editaction.c (+66, -60) (Diff)
/source/blender/src/editarmature.c (+1512, -1538) (Diff)
/source/blender/src/editconstraint.c (+268, -631) (Diff)
/source/blender/src/editcurve.c (+19, -47) (Diff)
/source/blender/src/editfont.c (+15, -31) (Diff)
/source/blender/src/editipo.c (+31, -40) (Diff)
/source/blender/src/editkey.c (+23, -35) (Diff)
/source/blender/src/editlattice.c (+2, -14) (Diff)
/source/blender/src/editmball.c (+35, -33) (Diff)
/source/blender/src/editmesh.c (+12, -17) (Diff)
/source/blender/src/editmesh_add.c (+7, -7) (Diff)
/source/blender/src/editmesh_mods.c (+7, -6) (Diff)
/source/blender/src/editmesh_tools.c (+12, -12) (Diff)
/source/blender/src/editmode_undo.c (+2, -5) (Diff)
/source/blender/src/editobject.c (+101, -228) (Diff)
/source/blender/src/editview.c (+9, -9) (Diff)
/source/blender/src/filesel.c (+14, -26) (Diff)
/source/blender/src/headerbuttons.c (+13, -38) (Diff)
/source/blender/src/header_action.c (+10, -10) (Diff)
/source/blender/src/header_info.c (+10, -3) (Diff)
/source/blender/src/header_view3d.c (+9, -5) (Diff)
/source/blender/src/interface.c (+7, -2) (Diff)
/source/blender/src/meshtools.c (+4, -5) (Diff)
/source/blender/src/outliner.c (+130, -32) (Diff)
/source/blender/src/poseobject.c (+45, -90) (Diff)
/source/blender/src/renderwin.c (+9, -1) (Diff)
/source/blender/src/SConscript (+0, -1) (Diff)
/source/blender/src/space.c (+21, -32) (Diff)
/source/blender/src/toets.c (+2, -9) (Diff)
/source/blender/src/transform.c (+30, -12) (Diff)
/source/blender/src/transform_constraints.c (+15, -0) (Diff)
/source/blender/src/transform_conversions.c (+185, -721) (Diff)
/source/blender/src/transform_generics.c (+20, -122) (Diff)
/source/blender/src/transform_manipulator.c (+19, -28) (Diff)
/source/blender/src/vpaint.c (+0, -2) (Diff)
/source/blender/yafray/intern/yafray_Render.h (+0, -1) (Diff)
/source/gameengine/Converter/BL_ActionActuator.cpp (+7, -12) (Diff)
/source/gameengine/Converter/BL_ArmatureObject.cpp (+10, -7) (Diff)
/source/gameengine/Converter/BL_SkinDeformer.cpp (+4, -3) (Diff)
/source/nan_definitions.mk (+2, -2) (Diff)
/source/blender/blenkernel/BKE_armature.h (+18, -29) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_depsgraph.h (+28, -27) (Diff)
/source/blender/blenkernel/BKE_displist.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_ipo.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+3, -2) (Diff)
/source/blender/blenkernel/BKE_main.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+5, -1) (Diff)
/source/blender/blenkernel/depsgraph_private.h (+8, -4) (Diff)
/source/blender/blenkernel/intern/action.c (+471, -548) (Diff)
/source/blender/blenkernel/intern/anim.c (+7, -11) (Diff)
/source/blender/blenkernel/intern/armature.c (+727, -921) (Diff)
/source/blender/blenkernel/intern/blender.c (+0, -9) (Diff)
/source/blender/blenkernel/intern/constraint.c (+304, -394) (Diff)
/source/blender/blenkernel/intern/deform.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+582, -220) (Diff)
/source/blender/blenkernel/intern/displist.c (+19, -168) (Diff)
/source/blender/blenkernel/intern/effect.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/exotic.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -3) (Diff)
/source/blender/blenkernel/intern/ipo.c (+52, -80) (Diff)
/source/blender/blenkernel/intern/key.c (+13, -18) (Diff)
/source/blender/blenkernel/intern/lattice.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+20, -30) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+124, -150) (Diff)
/source/blender/blenkernel/intern/scene.c (+72, -133) (Diff)
/source/blender/blenkernel/SConscript (+0, -1) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+0, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+55, -101) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -26) (Diff)
/source/blender/include/BDR_editcurve.h (+0, -1) (Diff)
/source/blender/include/BDR_editobject.h (+0, -4) (Diff)
/source/blender/include/BIF_butspace.h (+1, -1) (Diff)
/source/blender/include/BIF_editarmature.h (+14, -15) (Diff)
/source/blender/include/BIF_editconstraint.h (+2, -2) (Diff)
/source/blender/include/BIF_editfont.h (+0, -1) (Diff)
/source/blender/include/BIF_outliner.h (+2, -0) (Diff)
/source/blender/include/BIF_poseobject.h (+5, -14) (Diff)
/source/blender/include/butspace.h (+3, -3) (Diff)
/source/blender/include/transform.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_action_types.h (+52, -10) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+64, -76) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_ipo_types.h (+0, -5) (Diff)
/source/blender/makesdna/DNA_key_types.h (+5, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+15, -8) (Diff)
/source/blender/makesdna/intern/makesdna.c (+0, -2) (Diff)
/source/blender/python/api2_2x/Armature.c (+3, -3) (Diff)
/source/blender/python/api2_2x/Bone.c (+67, -54) (Diff)
/source/blender/python/api2_2x/doc/Object.py (+0, -3) (Diff)
/source/blender/python/api2_2x/doc/Scene.py (+1, -1) (Diff)
/source/blender/python/api2_2x/Object.c (+9, -35) (Diff)
/source/blender/python/api2_2x/Object.h (+0, -1) (Diff)
/source/blender/python/api2_2x/Scene.c (+16, -9) (Diff)
/source/blender/render/intern/source/initrender.c (+3, -5) (Diff)
/source/blender/renderconverter/intern/convertBlenderScene.c (+9, -88) (Diff)
/source/blender/src/buttons_editing.c (+56, -197) (Diff)
/source/blender/src/buttons_object.c (+23, -57) (Diff)
/source/blender/src/buttons_script.c (+0, -2) (Diff)
/source/blender/src/drawdeps.c (+10, -110) (Diff)
/source/blender/src/drawobject.c (+7, -9) (Diff)
/source/blender/src/drawview.c (+127, -128) (Diff)
/source/blender/src/edit.c (+319, -470) (Diff)
/source/blender/src/editaction.c (+66, -60) (Diff)
/source/blender/src/editarmature.c (+1512, -1538) (Diff)
/source/blender/src/editconstraint.c (+268, -631) (Diff)
/source/blender/src/editcurve.c (+19, -47) (Diff)
/source/blender/src/editfont.c (+15, -31) (Diff)
/source/blender/src/editipo.c (+31, -40) (Diff)
/source/blender/src/editkey.c (+23, -35) (Diff)
/source/blender/src/editlattice.c (+2, -14) (Diff)
/source/blender/src/editmball.c (+35, -33) (Diff)
/source/blender/src/editmesh.c (+12, -17) (Diff)
/source/blender/src/editmesh_add.c (+7, -7) (Diff)
/source/blender/src/editmesh_mods.c (+7, -6) (Diff)
/source/blender/src/editmesh_tools.c (+12, -12) (Diff)
/source/blender/src/editmode_undo.c (+2, -5) (Diff)
/source/blender/src/editobject.c (+101, -228) (Diff)
/source/blender/src/editview.c (+9, -9) (Diff)
/source/blender/src/filesel.c (+14, -26) (Diff)
/source/blender/src/headerbuttons.c (+13, -38) (Diff)
/source/blender/src/header_action.c (+10, -10) (Diff)
/source/blender/src/header_info.c (+10, -3) (Diff)
/source/blender/src/header_view3d.c (+9, -5) (Diff)
/source/blender/src/interface.c (+7, -2) (Diff)
/source/blender/src/meshtools.c (+4, -5) (Diff)
/source/blender/src/outliner.c (+130, -32) (Diff)
/source/blender/src/poseobject.c (+45, -90) (Diff)
/source/blender/src/renderwin.c (+9, -1) (Diff)
/source/blender/src/SConscript (+0, -1) (Diff)
/source/blender/src/space.c (+21, -32) (Diff)
/source/blender/src/toets.c (+2, -9) (Diff)
/source/blender/src/transform.c (+30, -12) (Diff)
/source/blender/src/transform_constraints.c (+15, -0) (Diff)
/source/blender/src/transform_conversions.c (+185, -721) (Diff)
/source/blender/src/transform_generics.c (+20, -122) (Diff)
/source/blender/src/transform_manipulator.c (+19, -28) (Diff)
/source/blender/src/vpaint.c (+0, -2) (Diff)
/source/blender/yafray/intern/yafray_Render.h (+0, -1) (Diff)
/source/gameengine/Converter/BL_ActionActuator.cpp (+7, -12) (Diff)
/source/gameengine/Converter/BL_ArmatureObject.cpp (+10, -7) (Diff)
/source/gameengine/Converter/BL_SkinDeformer.cpp (+4, -3) (Diff)
/source/nan_definitions.mk (+2, -2) (Diff)