Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-08Replace all old DAG calls with direct calls to new DEG and remove ↵Luca Rood
BKE_depsgraph.h This removes BKE_depsgraph.h and depsgraph.c
2016-10-30Fix compile errors for when WITH_ALEMBIC is OFF.Kévin Dietrich
2016-10-29Alembic: store a pointer to the object reader in the cache modifiers andKévin Dietrich
constraints. This avoids traversing the archive everytime object data is needed and gives an overall consistent ~2x speedup here with files containing between 136 and 500 Alembic objects. Also this somewhat nicely de- duplicates code between data creation (upon import) and data streaming (modifiers and constraints). The only worying part is what happens when a CacheFile is deleted and/or has its path changed. For now, we traverse the whole scene and for each object using the CacheFile we free the pointer and NULL-ify it (see BKE_cachefile_clean), but at some point this should be re-considered and make use of the dependency graph.
2016-08-06Basic Alembic supportKévin Dietrich
All in all, this patch adds an Alembic importer, an Alembic exporter, and a new CacheFile data block which, for now, wraps around an Alembic archive. This data block is made available through a new modifier ("Mesh Sequence Cache") as well as a new constraint ("Transform Cache") to somewhat properly support respectively geometric and transformation data streaming from alembic caches. A more in-depth documentation is to be found on the wiki, as well as a guide to compile alembic: https://wiki.blender.org/index.php/ User:Kevindietrich/AlembicBasicIo. Many thanks to everyone involved in this little project, and huge shout out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the custom builds and compile fixes. Reviewers: sergey, campbellbarton, mont29 Reviewed By: sergey, campbellbarton, mont29 Differential Revision: https://developer.blender.org/D2060
2016-05-17Bendy Bones: Advanced B-Bones for Easier + Simple RiggingJoshua Leung
This commit/patch/branch brings a bunch of powerful new options for B-Bones and for working with B-Bones, making it easier for animators to create their own rigs, using fewer bones (which also means hopefully lighter + faster rigs ;) This functionality was first demoed by Daniel at BConf15 Some highlights from this patch include: * You can now directly control the shape of B-Bones using a series of properties instead of being restricted to trying to indirectly control them through the neighbouring bones. See the "Bendy Bones" panel... * B-Bones can be shaped in EditMode to define a "curved rest pose" for the bone. This is useful for things like eyebrows and mouths/eyelids * You can now make B-Bones use custom bones as their reference bone handles, instead of only using the parent/child bones. To do so, enable the "Use Custom Reference Handles" toggle. If none are specified, then the BBone will only use the Bendy Bone properties. * Constraints Head/Tail option can now slide along the B-Bone shape, instead of just linearly interpolating between the endpoints of the bone. For more details, see: * http://aligorith.blogspot.co.nz/2016/05/bendy-bones-dev-update.html * http://aligorith.blogspot.co.nz/2016/05/an-in-depth-look-at-how-b-bones-work.html -- Credits -- Original Idea: Daniel M Lara (pepeland) Original Patch/Research: Jose Molina Additional Development + Polish: Joshua Leung (aligorith) Testing/Feedback: Daniel M Lara (pepeland), Juan Pablo Bouza (jpbouza)
2016-01-07Cleanup: use generic xyz axis enumsCampbell Barton
2015-11-24Fix T46855: Limit Location Max value limited to 1000 units.Bastien Montagne
Those should be UI limits, not hard absolute limits...
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-18RNA: reuse axis enumCampbell Barton
2015-10-16Fix for missing id_lib_extern, assigning ID'sCampbell Barton
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-04-16Fix T44408: "Rest Length" property in the Stretch To constraint was getting ↵Joshua Leung
clipped when using Metric Units Increased the upper bound for the "Rest Length" property to cope with metric units, especially when large (i.e. > 2 m) distances are involved. It may be necessary to increase this again in the future, if even larger distances get used (though it then starts getting a bit difficulty to justify such setups).
2015-04-04Cleanup: use BKE_animdata_* prefixCampbell Barton
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-03-19Speedup for constraints update from python scriptSergey Sharybin
General idea is to avoid actual calculation from property update() callback and tag things for update later instead. That said, pose constraint flags are now tagged for update and handled as a part of object update. In the new depsgraph it'll be a nice dedicated operation node. Also avoid updating disabled flags for all the modifiers. This part of the path is not totally optimal since it'll still need to iterate over bones in order to get pchan, but to optimize it further would be nice to find a way to avoid pchan requirement all together. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1191
2015-02-19RNA: poll functions restricting object typesCampbell Barton
D1100,D1105,D1106 by @lichtwerk
2015-01-13Pataz-Gooseberry Request: Limits on Volume Preservation for Spline IKJoshua Leung
This commit adds a new type of volume preservation mode to Spline IK which makes it possible to set limits on the minimum and maximum scaling of bone "fatness". * The old volume preseving mode has been kept but renamed, to avoid breaking old rigs. "Volume Presevation" uses the new method, while "Inverse Preservation" is the old one. * The code and settings for this new xz scale mode are directly lifted from the improved Stretch To constraint
2014-10-14Yet another tweak to stretch volume variation.Lukas Tönne
Make sure the 1.0 value is not affected by smoothing, and min/max limits never go above or below 1.0 respectively. This was a request by animators since not modifying the mesh in its rest pose is regarded as crucial.
2014-10-13Integrated limits for volume preservation in stretch-to constraints.Lukas Tönne
Currently the volume variation feature in stretch constraints is unlimited. This has to be compensated by riggers by adding scale limit constraints, but these are unaware of the stretch orientation and can lead to flipping. Also the stretch calculation itself is not working properly and can lead to collapsing volume. The patch fixes this with several modifications: - Interpret the volume variation factor as exponent, which works better with large values for artistic purposes. - Add integrated limits to the volume "bulge" factor, so secondary constraints for compensation become unnecessary - Add a smoothness factor to make limits less visible. Eventually a generic volume preservation constraint would be nicer, because multiple constraints currently implement volume variation of their own. This feature could actually work very nicely independent from other constraint features. Differential Revision: https://developer.blender.org/D826
2014-07-24Implement option to parent object to undistorted position of 2D trackSergey Sharybin
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-06-06UI: higher precision for IK poll angleCampbell Barton
2014-04-28Followup to rB8714ae09f894: better not have several RNA properties affect a ↵Bastien Montagne
single DNA one.
2014-04-11API Cleanup: Use BKE_constraint prefix for constraint apiCampbell Barton
2014-04-07Fix T39563: Tiny unit-display problem in constraint panels.Bastien Montagne
There is no good solution here, since RNA props can only have one type/unit. Tried to find the less worse one - have different RNA props for same DNA value (a bit like the angle/length for camera lens). Also fixed two other issues with Transform conctraint: * Angle were still in degrees (yes, another backward-compatibility breacking). * Scale was absolute, unlike loc/rot. Also cleaned up a bit the code, replaced some magic numbers by proper enums, ...
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2013-10-11code cleanup: reuse rna_matrix_dimsize_NxN defines between RNA functionsCampbell Barton
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-09-12code cleanup: set enums as static or add RNA_enum_types.h where they are ↵Campbell Barton
used elsewhere. also minor style cleanup.
2013-09-07shrink-wrap constraint, improve and remove some limitations.Campbell Barton
- ability to change the space the axis is projected in (so you can choose worldspace or -space, was always local-space before). - support projecting on a negative axis, without this some very simple clamping is not possible if the direction happened not to be positive. - add distance limit (same as modifier), without this single meshes surrounding an object would make the constraint impossible to use in some cases (it would snap to the wrong side). note: this removes the ability to project on multiple axes at once but this option only added up directions and didnt project on multiple axes as you might expect.
2013-09-03allow negative offset for floor constraint.Campbell Barton
(since this isnt a projection, it just clamps on an axis this can be supported).
2013-04-24fix [#34958] keyframe many items would fail if there was a (") in the text.Campbell Barton
2013-03-23Constraint UI:Thomas Dinges
* Hide Script Constraint from UI, not functional. * Alphabetical order fix for Motion tracking constraints.
2013-03-17Added descriptions for each constraint type, including common usageJoshua Leung
restrictions/limits to reduce confusion
2013-03-07use bool for rna funcs.Campbell Barton
2013-02-22code cleanup: remove unused argCampbell Barton
2013-01-05Making a few tooltips more descriptive, in light of recent confusion over theJoshua Leung
purpose of some of these features * ClampTo Constraint, Target Object field: now mentions that it is for curve objects only * Dopesheet Editor Modes: now describe what data is editable in each mode. The wording may be a bit clumsy here, but (apart from Mask Editor one, which I'm not entirely sure about) should at least be technically correct
2012-12-31More wrong "in degrees" busted out of tips!Bastien Montagne
2012-12-23Code cleanup: add usual 'BKE_' prefix to 'public' constraint functions from ↵Bastien Montagne
blenkernel...
2012-11-24IK Solver:Brecht Van Lommel
* Rename Legacy to Standard, it's not being deprecated as far as I know. * Make option to toggle off Location solving work with Standard. * Make it converge a bit better in some cases by enforcing a minimum number of iterations before giving up. * Move IK solver choice out of bone panel, it's an armature level setting and should be set there.
2012-10-27Comment + whitespace tweaks for constraintsJoshua Leung
* Radiant -> Radians * Noted down revision number for when Jahka removed the old constraint blending logic. I spent some time hunting this down while trying to check if it might've caused any obvious changes leading to one of the (now closed) bugreports. Better to note this in the code then.
2012-10-25Fix #32964: IK constraint had a "Target" option, which actually is an internalBrecht Van Lommel
flag that shouldn't have been exposed in the user interface. Also avoided many calls to pchan.is_in_ik_chain in UI script, it's somewhat slow.
2012-10-05Typo fix: Tooltip for "Offset Factor" for FollowPath constraint referred toJoshua Leung
"bone" instead of "curve"
2012-08-09Frame matching methods for follow track constraintSergey Sharybin
This is needed in cases when using blender camera with different resolution than original footage. Behaves in the same way as background picture framing.
2012-07-03First load of spell and typo fixes (mostly UI messages, but also one or two ↵Bastien Montagne
pieces of code using mis-spelled names).
2012-06-27style cleanupCampbell Barton
2012-06-12Naming + Style tweaks for newly added flag for Action ConstraintJoshua Leung
Old names used could conflict with other things too easily in future
2012-06-12"Fix" for [#30704] Action Constraint mapping bugBastien Montagne
Feature request rather than a real bug: allow constrained bone to use "object" part of the linked action, in addition to "same-named bone" part.
2012-06-09constraints names are not matching (rna and constraint.c). doing ↵Dalai Felinto
rna->constraint.c
2012-05-17Disable setting non-object actions as the action used by the Action ConstraintJoshua Leung
(... I could've sworn there used to be some dynamic enums for filtering actions by root type)