Blender Git Loki
Git Commits -> Revision 27601aa
Revision 27601aa by Sergej Reich (master) January 23, 2013, 05:56 (GMT) |
rigidbody: Add DNA/RNA/BKE infrastructure for the rigid body sim This is just the basic structure, the simulation isn't hooked up yet. Scenes get a pointer to a rigid body world that holds rigid body objects. Objects get a pointer to a rigdid body object. Both rigid body world and objects aren't used directly in the simulation and only hold information to create the actual physics objects. Physics objects are created when rigid body objects are validated. In order to keep blender and bullet objects in sync care has to be taken to either call appropriate set functions or flag objects for validation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof) |
Commit Details:
Full Hash: 27601aaf017263bf356dce37a4b90a764a819ee7
SVN Revision: 54020
Parent Commit: 5c85deb
Lines Changed: +1606, -12
4 Added Paths:
/source/blender/blenkernel/BKE_rigidbody.h (+94, -0) (View)
/source/blender/blenkernel/intern/rigidbody.c (+718, -0) (View)
/source/blender/makesdna/DNA_rigidbody_types.h (+171, -0) (View)
/source/blender/makesrna/intern/rna_rigidbody.c (+499, -0) (View)
/source/blender/blenkernel/intern/rigidbody.c (+718, -0) (View)
/source/blender/makesdna/DNA_rigidbody_types.h (+171, -0) (View)
/source/blender/makesrna/intern/rna_rigidbody.c (+499, -0) (View)
23 Modified Paths:
/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+20, -0) (Diff)
/source/blender/blenkernel/SConscript (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+37, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+12, -1) (Diff)
/source/blender/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -2) (Diff)
/source/blender/editors/object/object_relations.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+2, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+9, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+3, -0) (Diff)
/source/blender/makesrna/SConscript (+1, -0) (Diff)
/source/blender/SConscript (+3, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+3, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+20, -0) (Diff)
/source/blender/blenkernel/SConscript (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+37, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+12, -1) (Diff)
/source/blender/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -2) (Diff)
/source/blender/editors/object/object_relations.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+3, -0) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+2, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+9, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+3, -0) (Diff)
/source/blender/makesrna/SConscript (+1, -0) (Diff)
/source/blender/SConscript (+3, -0) (Diff)