Campbell Barton
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
Campbell Barton
145289ad95
code cleanup: minor improvements to float/vector usage.
2012-05-12 22:13:38 +00:00
Campbell Barton
9892736206
code cleanup: header cleanup and remove some duplicate defines.
2012-05-12 20:39:39 +00:00
Campbell Barton
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
Campbell Barton
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
Campbell Barton
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
Campbell Barton
0327b9a0cf
minor include cleanup, add GPL header (copied from BKE_animsys.h
2012-02-11 19:43:06 +00:00
Nathan Letwory
b97ad119b9
doxygen: add blenlib under core as module.
2011-02-18 13:58:08 +00:00
Martin Poirier
304cbc09ab
Cosmetic changes in etch-a-ton drawing code, mostly.
2009-07-09 01:48:08 +00:00
Martin Poirier
e2fb12ea18
Step 3/3, merging subdivision/bone creation methods using iterators
...
This also adds a special Embedding option called "Peel Objects". This option makes the embedding snap consider objects as whole, taking the first and last hit of each of them to calculate the embedding point (instead of peeling with first/second, third/fourth and so on). This option is useful if you have mecanical pieces with lots of details (as single objects) and want to put bones in the middle (think of adding bones to a mecha, for example).
2008-11-29 20:37:10 +00:00
Martin Poirier
d467158158
Second step out of three for merging sketching subdivision methods with graph subdivision methods.
...
Graph subdivision uses graph arc iterators.
2008-11-24 19:24:49 +00:00
Martin Poirier
9bb9859753
draft for arc iterators to unify code.
...
Just moving code to work home, nothing to see here.
2008-11-19 20:01:13 +00:00
Martin Poirier
a3337a15f0
Control bone commit from yesterday broke root bones. This is now fixed in a much more elegant way.
...
Remove yeh ol' primary symmetry axis flipping and replace by a smarter check on both armature and mesh arcs (works better for partial retargetting).
2008-08-19 22:16:01 +00:00
Martin Poirier
18bce23a60
Make subgraph tagging use own index, to not interfere with flagging used to prevent backtracking in different other functions
...
Better deal with chains starting with control bones
2008-08-18 22:22:56 +00:00
Martin Poirier
cc3b41b3cd
Better logic to display symmetries
...
Add option to hide node and arc indexes (for cleaner screenshots)
2008-08-15 20:55:38 +00:00
Martin Poirier
d4b646103a
Option to hide embedding dots on display
...
Merge internal and external filtering in a single loop (solve problems caused by order of filtering)
Made graph length calculations work on cyclic graphs (it unrolls them)
2008-08-04 19:12:42 +00:00
Martin Poirier
2efd74138c
Bug fixes:
...
Retag subgraphs when merging, to prevent loops
Mark missing up link in multi resolution as NULL
Ignore hidden vertices when propagating weight between islands
2008-07-29 20:20:24 +00:00
Martin Poirier
db5a83d083
More merging goodness
...
fix adjacency list inline instead of having to rebuild fully
reweight joined graphs properly
2008-07-15 21:07:13 +00:00
Martin Poirier
08039ef38f
Optimization method selectable at runtime
...
Start multi resolution match from node, not arc (solve problem with Rinky)
various uglyness being cleaned up or factored out
2008-07-15 19:38:48 +00:00
Martin Poirier
ccc62d3385
Use tree length as parameter for multi resolution filtering.
...
This is the begining of the simplification phase (meaning less parameters to mess up users)
2008-07-10 18:48:27 +00:00
Martin Poirier
52219d52dd
First draft: Use multiresolution graph for retargetting (enables bypassing small appendages that don't correspond to anything on the armature).
2008-07-07 20:31:53 +00:00
Martin Poirier
de286af3f1
Filter according to arc length, not weight different (more logic physical filtering)
2008-07-05 22:01:46 +00:00
Martin Poirier
d350e272e7
Remove some debugging prints
...
Better symmetry detection using subtree shapes instead of depth
Fix the bug with flipping arcs caused by internal filtering
2008-07-02 21:36:45 +00:00
Martin Poirier
829b2668c5
Starting to debug the elusive graph spliting bug
...
Better check for RigGraph head
Fix harmonic weighting for quads
2008-06-26 18:15:45 +00:00
Martin Poirier
08750f66a4
Retargetting
...
More refined symmetry grouping (can take care of tails properly) and better matching between symmetry groups (based on relative length of arcs)
2008-05-30 17:42:02 +00:00
Martin Poirier
ab787c9765
Generalizing the graph code used for Reeb graphs and Rig (Armature) graphs
...
Removing a lot of duplicated code
2008-05-28 16:39:05 +00:00