Martin Poirier
871b24dd67
Benchmarkings timer cleanup
...
Don't number groups with only one arc (easy fix for fly model, need a two pass arc match for real fix)
2008-09-15 21:48:05 +00:00
Martin Poirier
963031c99f
Finish yesterday's bugfixing.
...
Making shape function work on cyclic graphs requires tracking the current graph level, which wasn't done correctly when this was implemented. Done properly now so going up and down on graph works as it did before.
2008-08-21 17:28:58 +00:00
Martin Poirier
e04b899e81
transfering some ongoing work for home, nothing to see here.
2008-08-20 21:34:49 +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
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
d1bdd58797
Axial symmetry stability bug fix.
...
Axial symmetry tagging was depending on the order of the nodes, so it might tag left side as right and vice versa depending on the order. Stability test ensures the tagging is order independant (what it tags as right and left might not be the real right and left, but at least they are consistant between mesh graph and armature graph, so it doesn't flip limbs)
2008-07-24 19:12:30 +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
f8afbb4054
Start multi resolution search on first arc and smarter search (match first two levels only).
...
Now need a way to go back to lower levels at shared nodes.
2008-07-08 16:22:18 +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
c0daf62733
More robust primary symmetry axis algorithm (support branch in two)
...
Draw primary axis and weight delta
2008-06-23 21:47:31 +00:00
Martin Poirier
d6d4382396
Fix mem leak in graph rem doubles
2008-06-03 16:43:07 +00:00
Martin Poirier
42740a1442
More and less debug prints
...
Also, setting the merge limit to be non-zero for armature graphs (since very small yet non-zero differences would prevent merges and correct graph creation)
2008-05-30 18:13:43 +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