Python wing rig build script

Robin wing rig

Two CG birds, a chaffinch and a blue tit, perched together with the text Wing Rigging

I built a Maya film rig for a robin model that had previously been rigged in Cinema 4D. I wrote a Python wing build script that adapts to any number of feathers and to their position, direction and shape, so it could be reused on future birds. The robin's shots were cut before the first animation pass, but the script became the wing rig plugin I still use.

Role
Python wing rig build script
Tech
Maya, Python

The challenge

The brief was to take a robin model that had been rigged in Cinema 4D and build a film rig for it in Maya. Birds are hard to rig well because of the feathers: their number, position, direction and shape are very unlikely to be the same from one model to the next. I wanted the wing build to cope with that, so it could be used on future birds and not just this one.

Earlier advert render of a CG blue tit and robin on a sunlit lawn with a line of birds behind, from the model's previous Cinema 4D rig

What I did

I wrote a Python build script for the wings that handled those variables dynamically. Instead of hard-coding a feather layout, the code builds the wing from whatever number of feathers it is given and however those feathers are shaped and placed.

  • Wing build script that reads the feathers and builds the wing rig around them.
  • Wing and feather controls, shown in the Maya views with the wings spread, raised and folded.
  • A full Maya rig for the robin, replacing the model's earlier Cinema 4D setup.

The advert images in the gallery are renders of the model from its previous Cinema 4D rig, not from the rig I made.

Grey robin model in Maya with fanned wing feathers and coloured rig controls

The outcome

The film was due out in 2017, but the robin's shots were cut before the first animation pass. The ideas behind the script lived on: they became the fully autonomous wing rig plugin I use today.

Earlier advert render of CG robins, blue tits and a chaffinch on a path beside a brick wall, from the model's previous Cinema 4D rig
Bird rig breakdown (Vimeo) · Hosted on Vimeo. Pressing play loads content from vimeo.com.

Got a project like this?

Tell me what you're working on. I'll reply personally.

Get in touch