Commit Graph

3476 Commits

Author SHA1 Message Date
Joshua Leung
57fe73b3ac View All/Selected tools for NLA Editor 2011-07-20 00:36:28 +00:00
Benjy Cook
ddbfcacfa0 Added some simple feedback for long processes, currently being printed to the console 2011-07-19 16:52:47 +00:00
Benjy Cook
365ac2f9e3 Added tooltips to all operators in the Mocap panels 2011-07-19 16:33:28 +00:00
Benjy Cook
7c4aed7fa6 Even more bugfixes for retarget, for various types of special cases. 2011-07-18 19:33:11 +00:00
Benjy Cook
0dcc7d05ab Bugfixing for retargeting - unconnected bones now retarget alot better. Also some placeholder code for a fix scale operator 2011-07-18 18:44:54 +00:00
Benjy Cook
19aaadcbab Small bugfix for prior commit - Removing constraints no longer causes an error 2011-07-16 13:48:43 +00:00
Benjy Cook
351a603874 Keyframing Motion capture properties now works for the Point constraint. Also, Floor constraint has been implemented, using Object's raycasting function in Python 2011-07-16 13:36:47 +00:00
Benjy Cook
04e028a0c5 Bugfix: Retargeting now works when user rig bones are not connected to their parents. 2011-07-15 10:07:02 +00:00
Benjy Cook
b3714ec8ed Bugfix: Baking mocap constraints now works for user created IK bones 2011-07-14 13:26:23 +00:00
Joshua Leung
fa78d3271f Bugfix: DopeSheet + Graph Editors were referring to wrong operator for
their "Duplicate Keys" menu entry
2011-07-13 12:02:39 +00:00
Joerg Mueller
d9cf985730 Merging trunk up to r38329. 2011-07-12 13:09:22 +00:00
Campbell Barton
dbc9e36f72 make python3.3 compatible, __class__ is no longer in the class methods namespace. 2011-07-11 05:50:49 +00:00
Campbell Barton
301e5b4ea0 fix for various python bugs and remove unused var. 2011-07-10 17:26:15 +00:00
Campbell Barton
b62a956cc8 cleanup for python scripts - unused vars and imports 2011-07-10 12:51:37 +00:00
Benjy Cook
c749a42a8e Some optimizations and coding style improvements across the retargeting and constraint scripts 2011-07-09 21:52:25 +00:00
Campbell Barton
357afe06bc fix issue raised by [#27819] Unwrap Menu (U) -> Lightmap Pack throws Python Exception. But use a different fix. 2011-07-08 03:07:51 +00:00
Benjy Cook
46f938e70b Added baking/unbaking functionality to constraint system. Retargeting now adds/manages 2 new NLA Tracks as planned. Modified bl_operatores/nla.py slightly to use it instead of creating my own bake function (now supports baking to a specific action, vs always creating a new one), but this does not break using the function in the old way. 2011-07-07 20:46:35 +00:00
Joshua Leung
5817f1347c Remove unnecessary line from previous commit which slipped through 2011-07-07 04:47:47 +00:00
Joshua Leung
cff7c61ddb Patch [#23682] Add sort+move to bone group list in panel
Thanks  Torsten Rupp (rupp)   for the patch!

This patch adds the abilities to sort the bone group list in the
properties panel and to move bone groups up/down in the list (similar
like for vertex groups)
2011-07-07 04:31:53 +00:00
Benjy Cook
eb6ac55e93 pep8 compliance for python scripts 2011-07-06 14:20:38 +00:00
Benjy Cook
2367220108 Changed creation of original location targets to be created only if needed for IK (i.e. user's decision) 2011-07-06 14:19:54 +00:00
Benjy Cook
120e5a3417 Cosmetic changes to UI. Also, added option to mark which bones should be planted when calculation new root translation (i.e. which bones are feet) 2011-07-06 13:31:13 +00:00
Benjy Cook
ebbcae36b3 Coding style and cosmetic changes to mocap constraints module 2011-07-06 13:29:31 +00:00
Benjy Cook
89d7b9a0a6 Added a small useful operator: Fix Armature Rotate. It fixes the common issue with mocap files that sometimes are rotated around the wrong axis 2011-07-06 13:27:40 +00:00
Joerg Mueller
3f3c6f5f1f Merging from trunk up to r38119. 2011-07-05 13:54:25 +00:00
Benjy Cook
887fd19894 Added access to denoising and new constraints functionality to UI script 2011-07-05 10:57:29 +00:00
Benjy Cook
04c03db6af Added One-Sided distance constraint. Also fixed some bugs and syntax in constraint and retarget scripts 2011-07-05 10:56:34 +00:00
Benjy Cook
90e8b83b45 Added denoising function. Uses a type of median filter to smooth out spikes, typical of sensor noise in motion capture data 2011-07-05 10:55:35 +00:00
Jeroen Bakker
c4491f558b Current situation
A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done.

In blender movies this feature is known to be implemented, but until now it never got integrated into trunk.
Proposal

With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index.

In the compositor the ID Mask node can be used to extract the information out of the Render pass.
Impact
User interface

On the properties-space the next changes will be done

    Scene⇒Render layer⇒Passes⇒Material index will be added
    Material⇒Options⇒Pass index will be added

DNA

    Material struct will get an new field called “index”. this will be a short-type.
    Material struct the field pad will be removed.
    A new Render-layer pass will be added (bit 1«18)

RNA

    Material RNA is updated (based on “pass index” from object)
    Render layer RNA is updated (based on IndexOB)

Blender internal renderer

The Blender internal renderer will process the render pass as a copy of the Object index.
Blender compositor

The render layer input will get a new output socket called “IndexMA”
Usage

An example on how to use material index can be found at:

https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/compositing/composite_materialindex.blend

This is also example of a commit message longer than the commit itself :)
2011-07-04 18:14:41 +00:00
Benjy Cook
a552d8e610 Finished Freeze constraint, and target space option for Freeze and Point constraints. 2011-07-04 11:35:29 +00:00
Benjy Cook
e358064704 Added smoothing variables to constraint creation, and now Active checkbox is functional.Also initial work was done on the freeze constraint. 2011-07-03 21:25:54 +00:00
Benjy Cook
775ab37ad5 Fixed some issues with stride bone and original empty creation and parenting. Now there is no longer a constraint cycle issue when using IK constraints 2011-07-03 21:23:41 +00:00
Campbell Barton
abb21a4da0 fix for python error when pinning a non mesh object in mesh editmode. 2011-07-03 07:21:33 +00:00
Campbell Barton
22bb09d018 fix for error when moving module, broke fracture tools and select internal face operator. 2011-07-03 04:28:41 +00:00
Benjy Cook
8c3f2923fd Early commit of mocap constraint work. Still very much a WIP, but Point constraints should work - but buggy. 2011-07-02 18:24:05 +00:00
Campbell Barton
dcd8933b95 quick explode failed if executed with no active object 2011-07-01 13:26:20 +00:00
Campbell Barton
590682bac1 uv mirror poll function wasnt checking UV's were available on the mesh. 2011-07-01 13:25:00 +00:00
Campbell Barton
2c66ab12e9 minor pep8 edits 2011-07-01 12:33:34 +00:00
Campbell Barton
093af18bfd fix for own error in script edits, broke bpy_extras.mesh_utils.ngon_tesselate 2011-06-30 16:06:30 +00:00
Campbell Barton
66b565a376 improve error report [#27775] External Image Editor Preference does not work
also correct tooltip typo.
2011-06-30 04:32:59 +00:00
Joshua Leung
8d4ea1b155 Tweak to the toggle to show/hide datablock filtering items in
animedit headers
2011-06-30 01:13:15 +00:00
Campbell Barton
7f70f78376 Addon UI: button for removing addons which are installed to user/home paths, this is not displayed for system addons, or ones which come with blender. 2011-06-29 15:56:22 +00:00
Benjy Cook
333e825798 Created UI and Group Property for Motion Capture constraints, to be used to fix up animation after retargeting 2011-06-29 14:29:52 +00:00
Campbell Barton
8f89e7a309 incorrectly had CMake storing directory names as filepaths
also correct compiler warning for collada and remove print from own last commit.
2011-06-29 13:16:11 +00:00
Joshua Leung
2710c567b9 Animation Editors - Small Visual Tweaks for Usability
== Datablock filters in the headers are now hidden by default ==
This has been done because users were generally not frequently
toggling these, so quick access vs screen-estate cost wasn't really
worth it to have these always showing and taking up space on the
header.

Usage notes:
- To show these again, click on the "Filter more..." toggle.
- The "Filter more..." button DOES NOT affect whether those filters
apply.

Design notes:
- I tried many other button/icon combinations, but those were either
too space-hogging, vague, or had wrong button order.
- I also tried putting a box around these, but there was too much
padding.
- The ordering of the filters has also been modified a bit so that the
group/fcurve-name filters occur earlier in the list, given that
they're used more frequently

== Graph Editor - Use Fancy Drawing ==
Renamed this option to "Use High Quality Drawing" as suggested by
Matt. "Fancy" isn't really descriptive enough.

== Icons for Mode Dropdowns ==
The mode dropdowns in the DopeSheet and Graph Editors now have icons.
- These were important enough (compared to the auto-snap mode) that
some visual decoration was perhaps warranted.
- It makes it easier to see at a glance what mode the view is in

Icon choices:
- In some cases, the icons seem like quite a natural fit IMO (i.e.
outliner<->dopesheet, key<->shapekey editor, grease pencil, fcurve
editor)
- Action Editor uses an "object" icon to indicate that this is object-
level only for now (though I hope to find a way to address this
soon/later). This will be kept like this until then.
- There isn't any icon for drivers, so after trying a few
alternatives, I settled on area-link icon, since it ties together two
entities using some link.
2011-06-29 13:00:19 +00:00
Campbell Barton
d86d68d4e6 console autocomp import now excludes '_' prefixed variables and the results are sorted. 2011-06-29 10:47:43 +00:00
Campbell Barton
c19d2d2da2 bug [#27779] Python console completion broken
modified auto-completion, though this may need to become a preference.
The problem is:
- including _all_ text as a prefix can take a lot of space, and isnt too readable.
- including only the previous word is error prone because detecting delimiters can fail when editing strings.

so I've set it to only include the last part of the string but align to the cursor to make it more readable.
2011-06-29 06:06:59 +00:00
Campbell Barton
57f4844c43 make drawing faces in the UV editor an image space option, re-using the mesh option was lazy and doesn't make much sense. 2011-06-28 09:42:17 +00:00
Campbell Barton
b4682414c2 fix [#27787] Smart UV Unwrap Results in Overlaps
added optional face area weighting (from 2.4x) since this can result in overlapping faces.
2011-06-28 06:51:55 +00:00
Benjy Cook
ff5dbbe1b8 Some bugfixing and tweaking for retargeting. Script works now regardless of world transform on performer and end user rigs. This breaks stride bone functionality, will be addressed in next commit 2011-06-27 12:48:30 +00:00