Slice a PNG into parts for rigging
riv_slice_imageCut character PNG into named polygon parts for cutout rigging. Outputs each part as PNG, a base image with parts erased, and bounding boxes for placement.
Instructions
Cut polygon regions out of a character PNG for parts-based rigging (cutout animation). Writes each part as .png plus base.png (source with parts erased) into outDir, and returns each part's bbox for placement. Use with riv_create: images per part + groups as pivots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outDir | Yes | Directory to write part PNGs into | |
| pngPath | Yes | Source PNG path | |
| regions | Yes |