Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions rigboy/v2/cut-ends-round4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Round 4: cut limbs with drawn round ends

`rig.json` keeps round 2's bones, constraints and animations. The four `under-*` slots are gone. Each limb part stays on one bone, with no mesh across a joint.

At each limb joint the piece that goes under gets a drawn round end: a disc about the joint, an outline stroked at the wider of the two pieces' line widths, and band fill read from the piece's own colours. The piece on top is unchanged except that its end is trimmed by one line width, so the under outline shows. Paint the top piece hides at rest takes band fill. `ops.json` lists each joint's radius, line width and drawn pixels.

Changes that are not round ends:

- Ankles: the foot now draws over the shin, because the gold cuff is painted over it. Six slots moved in draw order.
- Skirt and pelvis moved to `torso`.
- The whole pauldron moved to `front-upper-arm`; the torso under it takes fill.

The cap's disc on the pivot reaches half the limb's width + .25 + the joint's registration offset, so it stays put under rotation. A fill never invents gold, and a warm component under 30 px is residue.

`gun.png` is 122×67, its drawn size, area-averaged on premultiplied pixels: the one region under 0.5 scale, which aliased at 730×400 with no mipmaps. Its width, height and scale stay in `rig.json`, so world size is unchanged (`downsampled.json`).

Walk, 31 samples, joint disc of half the limb's fitted width, capped by the pivot's distance to the painted silhouette (`disc-radii.json`): 0 background pixels at all 12 joints. Stripping the drawn end from one knee and one elbow reads 1141 and 250 px, so the disc fires.
178 changes: 178 additions & 0 deletions rigboy/v2/cut-ends-round4/disc-radii.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"near shoulder": {
"tube": "front-upper-arm",
"bone": "front-upper-arm",
"J": [
216.65,
324.7
],
"fitted": true,
"reasons": [],
"width": 23.23,
"R": 11.62,
"R_width": 11.62,
"painted_edge": null
},
"near elbow": {
"tube": "front-upper-arm",
"bone": "front-bracer",
"J": [
259.3,
369.6
],
"fitted": true,
"reasons": [],
"width": 27.3,
"R": 13.65,
"R_width": 13.65,
"painted_edge": null
},
"near wrist": {
"tube": "front-bracer",
"bone": "front-fist",
"J": [
301.95,
399.9
],
"fitted": true,
"reasons": [],
"width": 36.41,
"R": 17.76,
"R_width": 18.2,
"painted_edge": 17.76
},
"far shoulder": {
"tube": "rear-upper-arm",
"bone": "rear-upper-arm",
"J": [
187.45,
325.8
],
"fitted": false,
"reasons": [
"R: inliers stop at t=-12, 12 px short of the joint (limit 11.2)"
],
"width": 25.61,
"R": 11.5,
"R_width": 12.81,
"painted_edge": 11.5
},
"far elbow": {
"tube": "rear-upper-arm",
"bone": "rear-bracer",
"J": [
156.0,
357.25
],
"fitted": true,
"reasons": [],
"width": 23.05,
"R": 11.25,
"R_width": 11.52,
"painted_edge": 11.25
},
"far wrist": {
"tube": "rear-bracer",
"bone": "gun",
"J": [
132.45,
379.7
],
"fitted": true,
"reasons": [],
"width": 26.64,
"R": 13.32,
"R_width": 13.32,
"painted_edge": null
},
"near hip": {
"tube": "front-thigh",
"bone": "front-thigh",
"J": [
207.65,
423.5
],
"fitted": false,
"reasons": [
"R: inliers stop at t=-18, 18 px short of the joint (limit 17.5)"
],
"width": 24.35,
"R": 12.17,
"R_width": 12.17,
"painted_edge": null
},
"near knee": {
"tube": "front-thigh",
"bone": "front-shin",
"J": [
246.95,
484.1
],
"fitted": true,
"reasons": [],
"width": 28.52,
"R": 14.26,
"R_width": 14.26,
"painted_edge": null
},
"near ankle": {
"tube": "front-shin",
"bone": "front-foot",
"J": [
280.6,
535.75
],
"fitted": true,
"reasons": [],
"width": 41.31,
"R": 20.61,
"R_width": 20.65,
"painted_edge": 20.61
},
"far hip": {
"tube": "rear-thigh",
"bone": "rear-thigh",
"J": [
190.8,
422.35
],
"fitted": false,
"reasons": [
"L: no line",
"R: no line",
"width from the same tube at the far knee"
],
"width": 24.8,
"R": 12.4,
"R_width": 12.4,
"painted_edge": null
},
"far knee": {
"tube": "rear-thigh",
"bone": "rear-shin",
"J": [
178.45,
491.95
],
"fitted": true,
"reasons": [],
"width": 24.8,
"R": 12.4,
"R_width": 12.4,
"painted_edge": null
},
"far ankle": {
"tube": "rear-shin",
"bone": "rear-foot",
"J": [
135.8,
520.05
],
"fitted": true,
"reasons": [],
"width": 40.2,
"R": 20.1,
"R_width": 20.1,
"painted_edge": null
}
}
14 changes: 14 additions & 0 deletions rigboy/v2/cut-ends-round4/downsampled.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"gun/gun": {
"image": "gun.png",
"scale": 0.16743854,
"from_px": [
730,
400
],
"to_px": [
122,
67
]
}
}
Binary file added rigboy/v2/cut-ends-round4/front-bracer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/front-fist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/front-foot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/front-shin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/front-thigh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/front-upper-arm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/gun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
183 changes: 183 additions & 0 deletions rigboy/v2/cut-ends-round4/ops.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"near-elbow": {
"over_removed_px": 113,
"over_added_layer_px": 0,
"joint_offset_px": 0.43,
"warm_fill_px": 0,
"fitted": true,
"fit_reasons": [],
"over_fitted": true,
"R": 12.23,
"width": 27.3,
"line_px": 2.828,
"drawn_px": 404,
"trimmed_px": 0,
"hidden_filled_px": 391,
"J": [
259.3,
369.6
]
},
"near-wrist": {
"over_removed_px": 111,
"over_added_layer_px": 0,
"joint_offset_px": 0.12,
"warm_fill_px": 83,
"fitted": true,
"fit_reasons": [],
"over_fitted": false,
"R": 16.75,
"width": 36.41,
"line_px": 3.0,
"drawn_px": 651,
"trimmed_px": 0,
"hidden_filled_px": 765,
"J": [
301.95,
399.9
]
},
"far-elbow": {
"over_removed_px": 121,
"over_added_layer_px": 0,
"joint_offset_px": 0.0,
"warm_fill_px": 0,
"fitted": true,
"fit_reasons": [],
"over_fitted": true,
"R": 10.07,
"width": 23.05,
"line_px": 2.828,
"drawn_px": 318,
"trimmed_px": 0,
"hidden_filled_px": 253,
"J": [
156.0,
357.25
]
},
"far-wrist": {
"over_removed_px": 208,
"over_added_layer_px": 0,
"joint_offset_px": 0.28,
"warm_fill_px": 129,
"fitted": true,
"fit_reasons": [],
"over_fitted": true,
"R": 11.83,
"width": 26.77,
"line_px": 2.828,
"drawn_px": 428,
"trimmed_px": 49,
"hidden_filled_px": 370,
"J": [
132.45,
379.7
]
},
"near-knee": {
"joint_offset_px": 1.0,
"warm_fill_px": 0,
"fitted": true,
"fit_reasons": [],
"over_fitted": false,
"R": 13.06,
"width": 28.52,
"line_px": 2.828,
"drawn_px": 500,
"trimmed_px": 5,
"hidden_filled_px": 326,
"J": [
246.95,
484.1
]
},
"far-knee": {
"joint_offset_px": 0.82,
"warm_fill_px": 0,
"fitted": true,
"fit_reasons": [],
"over_fitted": true,
"R": 11.15,
"width": 24.8,
"line_px": 2.693,
"drawn_px": 617,
"trimmed_px": 0,
"hidden_filled_px": 359,
"J": [
178.45,
491.95
]
},
"near-ankle": {
"over_removed_px": 213,
"over_added_layer_px": 0,
"joint_offset_px": 0.21,
"warm_fill_px": 0,
"fitted": true,
"fit_reasons": [],
"over_fitted": false,
"R": 19.2,
"width": 41.31,
"line_px": 3.041,
"drawn_px": 922,
"trimmed_px": 0,
"hidden_filled_px": 1040,
"J": [
280.6,
535.75
]
},
"far-ankle": {
"over_removed_px": 378,
"over_added_layer_px": 0,
"joint_offset_px": 0.47,
"warm_fill_px": 1,
"fitted": true,
"fit_reasons": [],
"over_fitted": true,
"R": 18.5,
"width": 40.2,
"line_px": 3.0,
"drawn_px": 833,
"trimmed_px": 13,
"hidden_filled_px": 953,
"J": [
135.8,
520.05
]
},
"far-hip": {
"J": [
190.8,
422.35
],
"R": 22.73,
"line_px": 2.236,
"drawn_px": 1966,
"note": "hull of the thigh and a disc at its joint, new pixels only where hidden at rest"
},
"near-hip": {
"J": [
207.65,
423.5
],
"line_px": 2.5,
"drawn_px": 456,
"note": "hull of the pelvis, new pixels only under the near thigh at rest"
},
"near-shoulder_gold_px": 161,
"near-shoulder": {
"J": [
216.65,
324.7
],
"over_added_torso_px": 481,
"hidden_filled_px": 1784
},
"warm_residue": {
"rear-shin": 2,
"torso": 44,
"front-upper-arm": 4
}
}
Binary file added rigboy/v2/cut-ends-round4/rear-bracer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/rear-foot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/rear-shin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/rear-thigh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rigboy/v2/cut-ends-round4/rear-upper-arm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading