[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15530] branches/fluidcontrol: svn merge -r 15409:15529 https://svn.blender.org/svnroot/bf-blender/trunk/ blender
Daniel Genrich
daniel.genrich at gmx.net
Fri Jul 11 16:44:21 CEST 2008
Revision: 15530
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15530
Author: genscher
Date: 2008-07-11 16:44:20 +0200 (Fri, 11 Jul 2008)
Log Message:
-----------
svn merge -r 15409:15529 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Modified Paths:
--------------
branches/fluidcontrol/intern/ghost/intern/GHOST_SystemWin32.cpp
branches/fluidcontrol/intern/moto/include/GEN_Map.h
branches/fluidcontrol/projectfiles_vc7/blender/blenlib/BLI_blenlib.vcproj
branches/fluidcontrol/projectfiles_vc7/blender/render/BRE_render.vcproj
branches/fluidcontrol/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj
branches/fluidcontrol/release/scripts/animation_bake_constraints.py
branches/fluidcontrol/release/scripts/c3d_import.py
branches/fluidcontrol/release/windows/installer/00.sconsblender.nsi
branches/fluidcontrol/source/blender/blenkernel/BKE_bmesh.h
branches/fluidcontrol/source/blender/blenkernel/BKE_bmeshCustomData.h
branches/fluidcontrol/source/blender/blenkernel/BKE_customdata.h
branches/fluidcontrol/source/blender/blenkernel/intern/BME_Customdata.c
branches/fluidcontrol/source/blender/blenkernel/intern/BME_conversions.c
branches/fluidcontrol/source/blender/blenkernel/intern/BME_eulers.c
branches/fluidcontrol/source/blender/blenkernel/intern/BME_mesh.c
branches/fluidcontrol/source/blender/blenkernel/intern/BME_structure.c
branches/fluidcontrol/source/blender/blenkernel/intern/BME_tools.c
branches/fluidcontrol/source/blender/blenkernel/intern/DerivedMesh.c
branches/fluidcontrol/source/blender/blenkernel/intern/bmesh_private.h
branches/fluidcontrol/source/blender/blenkernel/intern/customdata.c
branches/fluidcontrol/source/blender/blenkernel/intern/image.c
branches/fluidcontrol/source/blender/blenkernel/intern/library.c
branches/fluidcontrol/source/blender/blenkernel/intern/modifier.c
branches/fluidcontrol/source/blender/blenkernel/intern/object.c
branches/fluidcontrol/source/blender/blenkernel/intern/particle.c
branches/fluidcontrol/source/blender/blenkernel/intern/particle_system.c
branches/fluidcontrol/source/blender/blenkernel/intern/sca.c
branches/fluidcontrol/source/blender/blenlib/BLI_arithb.h
branches/fluidcontrol/source/blender/blenlib/BLI_winstuff.h
branches/fluidcontrol/source/blender/blenlib/intern/BLI_kdopbvh.c
branches/fluidcontrol/source/blender/blenlib/intern/arithb.c
branches/fluidcontrol/source/blender/blenlib/intern/util.c
branches/fluidcontrol/source/blender/blenloader/intern/readfile.c
branches/fluidcontrol/source/blender/blenloader/intern/writefile.c
branches/fluidcontrol/source/blender/imbuf/intern/openexr/openexr_api.cpp
branches/fluidcontrol/source/blender/include/BDR_drawobject.h
branches/fluidcontrol/source/blender/include/BIF_editarmature.h
branches/fluidcontrol/source/blender/include/BSE_sequence.h
branches/fluidcontrol/source/blender/makesdna/DNA_actuator_types.h
branches/fluidcontrol/source/blender/makesdna/DNA_customdata_types.h
branches/fluidcontrol/source/blender/makesdna/DNA_lamp_types.h
branches/fluidcontrol/source/blender/makesdna/DNA_meshdata_types.h
branches/fluidcontrol/source/blender/makesdna/DNA_object_fluidsim.h
branches/fluidcontrol/source/blender/makesdna/DNA_sensor_types.h
branches/fluidcontrol/source/blender/makesdna/DNA_space_types.h
branches/fluidcontrol/source/blender/nodes/intern/CMP_nodes/CMP_gamma.c
branches/fluidcontrol/source/blender/python/api2_2x/matrix.c
branches/fluidcontrol/source/blender/python/api2_2x/sceneSequence.c
branches/fluidcontrol/source/blender/radiosity/intern/source/radrender.c
branches/fluidcontrol/source/blender/render/intern/include/pixelshading.h
branches/fluidcontrol/source/blender/render/intern/include/render_types.h
branches/fluidcontrol/source/blender/render/intern/source/convertblender.c
branches/fluidcontrol/source/blender/render/intern/source/pixelshading.c
branches/fluidcontrol/source/blender/render/intern/source/rendercore.c
branches/fluidcontrol/source/blender/src/buttons_logic.c
branches/fluidcontrol/source/blender/src/buttons_object.c
branches/fluidcontrol/source/blender/src/buttons_scene.c
branches/fluidcontrol/source/blender/src/buttons_shading.c
branches/fluidcontrol/source/blender/src/drawarmature.c
branches/fluidcontrol/source/blender/src/drawimage.c
branches/fluidcontrol/source/blender/src/drawobject.c
branches/fluidcontrol/source/blender/src/drawview.c
branches/fluidcontrol/source/blender/src/editarmature.c
branches/fluidcontrol/source/blender/src/editmesh_add.c
branches/fluidcontrol/source/blender/src/editnla.c
branches/fluidcontrol/source/blender/src/editseq.c
branches/fluidcontrol/source/blender/src/editsima.c
branches/fluidcontrol/source/blender/src/edittime.c
branches/fluidcontrol/source/blender/src/header_image.c
branches/fluidcontrol/source/blender/src/header_view3d.c
branches/fluidcontrol/source/blender/src/headerbuttons.c
branches/fluidcontrol/source/blender/src/interface_draw.c
branches/fluidcontrol/source/blender/src/sequence.c
branches/fluidcontrol/source/blender/src/space.c
branches/fluidcontrol/source/blender/src/transform_conversions.c
branches/fluidcontrol/source/blender/src/transform_snap.c
branches/fluidcontrol/source/blender/src/usiblender.c
branches/fluidcontrol/source/blender/src/view.c
branches/fluidcontrol/source/blender/src/vpaint.c
branches/fluidcontrol/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_ActionActuator.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_ActionActuator.h
branches/fluidcontrol/source/gameengine/Converter/BL_BlenderDataConversion.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_MeshDeformer.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_MeshDeformer.h
branches/fluidcontrol/source/gameengine/Converter/BL_ShapeDeformer.h
branches/fluidcontrol/source/gameengine/Converter/BL_SkinDeformer.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_SkinDeformer.h
branches/fluidcontrol/source/gameengine/Converter/BL_SkinMeshObject.cpp
branches/fluidcontrol/source/gameengine/Converter/BL_SkinMeshObject.h
branches/fluidcontrol/source/gameengine/Converter/KX_ConvertActuators.cpp
branches/fluidcontrol/source/gameengine/Converter/KX_ConvertSensors.cpp
branches/fluidcontrol/source/gameengine/Expressions/PyObjectPlus.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_EventManager.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_EventManager.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_IActuator.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_IController.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ILogicBrick.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_IObject.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_IObject.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ISensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ISensor.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_JoystickSensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_LogicManager.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_MouseSensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_PropertySensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_PythonController.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_PythonController.h
branches/fluidcontrol/source/gameengine/Ketsji/BL_BlenderShader.cpp
branches/fluidcontrol/source/gameengine/Ketsji/BL_BlenderShader.h
branches/fluidcontrol/source/gameengine/Ketsji/BL_Material.cpp
branches/fluidcontrol/source/gameengine/Ketsji/BL_Material.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_BlenderMaterial.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_ConstraintActuator.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_GameObject.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_GameObject.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_IPO_SGController.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_IPO_SGController.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_IpoActuator.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_IpoActuator.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_KetsjiEngine.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_Light.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_Light.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_NearSensor.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_ObjectActuator.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_ObjectActuator.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_ParentActuator.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_PythonInit.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_RaySensor.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_Scene.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_Scene.h
branches/fluidcontrol/source/gameengine/Ketsji/KX_TouchEventManager.cpp
branches/fluidcontrol/source/gameengine/Ketsji/KX_TouchSensor.cpp
branches/fluidcontrol/source/gameengine/PyDoc/BL_ActionActuator.py
branches/fluidcontrol/source/gameengine/PyDoc/KX_GameObject.py
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_BucketManager.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_IRasterizer.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_MaterialBucket.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_MaterialBucket.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_MeshObject.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_MeshObject.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_TexVert.cpp
branches/fluidcontrol/source/gameengine/Rasterizer/RAS_TexVert.h
branches/fluidcontrol/source/gameengine/SceneGraph/SG_Controller.h
branches/fluidcontrol/source/kernel/gen_system/GEN_HashedPtr.h
branches/fluidcontrol/source/kernel/gen_system/GEN_Map.h
branches/fluidcontrol/tools/Blender.py
Added Paths:
-----------
branches/fluidcontrol/source/blender/blenlib/BLI_mempool.h
branches/fluidcontrol/source/blender/blenlib/intern/BLI_mempool.c
branches/fluidcontrol/source/blender/render/intern/include/sunsky.h
branches/fluidcontrol/source/blender/render/intern/source/sunsky.c
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ActuatorEventManager.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ActuatorEventManager.h
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp
branches/fluidcontrol/source/gameengine/GameLogic/SCA_ActuatorSensor.h
Modified: branches/fluidcontrol/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- branches/fluidcontrol/intern/ghost/intern/GHOST_SystemWin32.cpp 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/intern/ghost/intern/GHOST_SystemWin32.cpp 2008-07-11 14:44:20 UTC (rev 15530)
@@ -302,6 +302,15 @@
{
GHOST_TSuccess success = GHOST_System::init();
+ /* Disable scaling on high DPI displays on Vista */
+ HMODULE user32 = ::LoadLibraryA("user32.dll");
+ typedef BOOL (WINAPI * LPFNSETPROCESSDPIAWARE)();
+ LPFNSETPROCESSDPIAWARE SetProcessDPIAware =
+ (LPFNSETPROCESSDPIAWARE)GetProcAddress(user32, "SetProcessDPIAware");
+ if (SetProcessDPIAware)
+ SetProcessDPIAware();
+ FreeLibrary(user32);
+
// Determine whether this system has a high frequency performance counter. */
m_hasPerformanceCounter = ::QueryPerformanceFrequency((LARGE_INTEGER*)&m_freq) == TRUE;
if (m_hasPerformanceCounter) {
Modified: branches/fluidcontrol/intern/moto/include/GEN_Map.h
===================================================================
--- branches/fluidcontrol/intern/moto/include/GEN_Map.h 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/intern/moto/include/GEN_Map.h 2008-07-11 14:44:20 UTC (rev 15530)
@@ -82,6 +82,24 @@
}
return 0;
}
+
+ Key* getKey(int index) {
+ int count=0;
+ for (int i=0;i<m_num_buckets;i++)
+ {
+ Entry* bucket = m_buckets[i];
+ while(bucket)
+ {
+ if (count==index)
+ {
+ return &bucket->m_key;
+ }
+ bucket = bucket->m_next;
+ count++;
+ }
+ }
+ return 0;
+ }
void clear() {
for (int i = 0; i < m_num_buckets; ++i) {
Modified: branches/fluidcontrol/projectfiles_vc7/blender/blenlib/BLI_blenlib.vcproj
===================================================================
--- branches/fluidcontrol/projectfiles_vc7/blender/blenlib/BLI_blenlib.vcproj 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/projectfiles_vc7/blender/blenlib/BLI_blenlib.vcproj 2008-07-11 14:44:20 UTC (rev 15530)
@@ -359,6 +359,9 @@
RelativePath="..\..\..\source\blender\blenlib\intern\BLI_memarena.c">
</File>
<File
+ RelativePath="..\..\..\source\blender\blenlib\intern\BLI_mempool.c">
+ </File>
+ <File
RelativePath="..\..\..\source\blender\blenlib\intern\boxpack2d.c">
</File>
<File
@@ -474,6 +477,9 @@
RelativePath="..\..\..\source\blender\blenlib\BLI_memarena.h">
</File>
<File
+ RelativePath="..\..\..\source\blender\blenlib\BLI_mempool.h">
+ </File>
+ <File
RelativePath="..\..\..\source\blender\blenlib\intern\BLI_scanfill.h">
</File>
<File
Modified: branches/fluidcontrol/projectfiles_vc7/blender/render/BRE_render.vcproj
===================================================================
--- branches/fluidcontrol/projectfiles_vc7/blender/render/BRE_render.vcproj 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/projectfiles_vc7/blender/render/BRE_render.vcproj 2008-07-11 14:44:20 UTC (rev 15530)
@@ -74,7 +74,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\lib\windows\sdl\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\source\blender;..\..\..\source\blender\misc;..\..\..\source\blender\imbuf;..\..\..\source\blender\yafray;..\..\..\source\blender\blenlib;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenkernel;..\..\..\source\blender\quicktime;..\..\..\source\blender\blenloader;..\..\..\source\blender\makesdna;..\..\..\source\blender\radiosity\extern\include;..\..\..\source\blender\render\intern\include;..\..\..\source\blender\render\extern\include;..\..\..\source\kernel;..\..\..\source\kernel\gen_messaging"
- PreprocessorDefinitions="_DEBUG;WIN32;_LIB;WITH_QUICKTIME;WITH_OPENEXR"
+ PreprocessorDefinitions="_DEBUG;WIN32;_LIB;WITH_QUICKTIME;WITH_OPENEXR;_USE_MATH_DEFINES"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
DefaultCharIsUnsigned="TRUE"
@@ -176,6 +176,9 @@
RelativePath="..\..\..\source\blender\render\intern\source\strand.c">
</File>
<File
+ RelativePath="..\..\..\source\blender\render\intern\source\sunsky.c">
+ </File>
+ <File
RelativePath="..\..\..\source\blender\render\intern\source\texture.c">
</File>
<File
@@ -246,6 +249,9 @@
RelativePath="..\..\..\source\blender\render\intern\include\strand.h">
</File>
<File
+ RelativePath="..\..\..\source\blender\render\intern\include\sunsky.h">
+ </File>
+ <File
RelativePath="..\..\..\source\blender\render\intern\include\texture.h">
</File>
<File
Modified: branches/fluidcontrol/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj
===================================================================
--- branches/fluidcontrol/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj 2008-07-11 14:44:20 UTC (rev 15530)
@@ -333,6 +333,12 @@
RelativePath="..\..\..\source\gameengine\GameLogic\SCA_2DFilterActuator.cpp">
</File>
<File
+ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ActuatorEventManager.cpp">
+ </File>
+ <File
+ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ActuatorSensor.cpp">
+ </File>
+ <File
RelativePath="..\..\..\source\gameengine\GameLogic\SCA_AlwaysEventManager.cpp">
</File>
<File
@@ -445,6 +451,12 @@
RelativePath="..\..\..\source\gameengine\GameLogic\SCA_2DFilterActuator.h">
</File>
<File
+ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ActuatorEventManager.h">
+ </File>
+ <File
+ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ActuatorSensor.h">
+ </File>
+ <File
RelativePath="..\..\..\source\gameengine\GameLogic\SCA_AlwaysEventManager.h">
</File>
<File
Modified: branches/fluidcontrol/release/scripts/animation_bake_constraints.py
===================================================================
--- branches/fluidcontrol/release/scripts/animation_bake_constraints.py 2008-07-11 14:11:55 UTC (rev 15529)
+++ branches/fluidcontrol/release/scripts/animation_bake_constraints.py 2008-07-11 14:44:20 UTC (rev 15530)
@@ -1,800 +1,792 @@
-#!BPY
-
-"""
-Name: 'Bake Constraints'
-Blender: 246
-Group: 'Animation'
-Tooltip: 'Bake a Constrained object/rig to IPOs'
-Fillename: 'Bake_Constraint.py'
-"""
-
-__author__ = "Roger Wickes (rogerwickes(at)yahoo.com)"
-__script__ = "Bake Constraints"
-__version__ = "0.6"
-__url__ = ["Communicate problems and errors, http://www.blenderartists.com/forum/private.php?do=newpm to PapaSmurf"]
-__email__= ["Roger Wickes, rogerwickes at yahoo.com", "scripts"]
-__bpydoc__ = """\
-
-bake_constraints
-
-This script bakes the real-world LocRot of an object (the net effect of any constraints -
-(Copy, Limit, Track, Follow, - that affect Location, Rotation)
-(usually one constrained to match another's location and/or Tracked to another)
-and creates a clone with a set of Ipo Curves named Ipo<objname>
-These curves control a non-constrained object and thus make it mimic the constrained object
-Actions can be then be edited without the need for the drivers/constraining objects
-
-Developed for use with MoCap data, where a bone is constrained to point at an empty
-moving through space and time. This records the actual locrot of the armature
-so that the motion can be edited, reoriented, scaled, and used as NLA Actions
-
-see also wiki Scripts/Manual/ Sandbox/Animation/Bake_Constraints (tbd)
-
-Usage:<br>
- - Select the reference Object(s) you want to bake <br>
- - Set the frame range to bake in the Anim Panel <br>
- - Set the test code (if you want a self-test) in the RT field in the Anim Panel <br>
- -- Set RT:1 in the Anim panel to create a test armature <br>
-<br>
- - Run the script <br>
- - The clone copy of the object is created and it has an IPO curve assigned to it.
- - The clone shadows the object by an offset locrot (see usrDelta)
- - That Ipo has Location and Rotation curves that make the shadow mimic the movement of the selected object,
- but without using constraints. Bones move identically in relation to the armature as the reference object
-
-
-Version History:
- 0.1: bakes Loc Rot for a constrained object
- 0.2: bakes Loc and Rot for the bones within Armature object
- 0.3: UI for setting options
- 0.3.1 add manual to script library
- 0.4: bake multiple objects
- 0.5: root bone worldspace rotation
- 0.6: re-integration with BPyArmature
-
-License, Copyright, and Attribution:
- by Roger WICKES May 2008, released under Blender Artistic Licence to Public Domain
- feel free to add to any Blender Python Scripts Bundle.
- Thanks to Jean-Baptiste PERIN, IdeasMan42 (Campbell Barton?), Basil_Fawlty/Cage_drei (Andrew Cruse)
- much lifted/learned from blender.org/documentation/245PytonDoc and wiki
- some modules based on c3D_Import.py, PoseLib16.py and IPO/Armature code examples e.g. camera jitter
-
-Pseudocode (planned versions):
- Initialize
- If at least one object is selected
- For each selected object,
- create a shadow object
- remove any constraints on the clone
- create or reset an ipo curve named like the object
- for each frame
- set the clone's locrot key based on the reference object
- if it's an armature,
- create an action (which is an Ipo for each bone)
- for each frame of the animation
- for each bone in the armature
- set the key
- Else you're a smurf
-
-Test Conditions and Regressions:
- 1. (v0.1) Non-armatures (the cube), with ipo curve and constraints at the object level
- 2. armatures, with ipo curve and constraints at the object level
- 3. armatures, with bones that have ipo curves and constraints
-
-Naming conventions:
- arm = a specific objec type armature
- bone = bones that make up the skeleton of an armature
-
- ob = object, an instance of an object type
- ebone = edit bone, a bone in edit mode
- pbone = pose bone, a posed bone in an object
- tst = testing, self-test routines
- usr = user-entered or designated stuff
-
-Pattern Notes (let me know if I've violated any):
- Bergin Starting,Designing, Programming, Coding
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list