Tools / TumbleRig / Rig Building / Nodes

Apex Eye Rig

Eyes for realistic and cartoon characters: the eyeball, the pupil and the lids made by the node or taken from your model, on one lid rig.

Access
Free
Node version
3.1
Package
TumbleRig
Houdini
22.0+
What you can make with it

Overview

After the skinning, the lid weights of the character's right side (-X) are copied from the left side (+X), so a blink closes both eyes alike. A point with no mirror twin keeps its own weights.

Each lid runs from its inner corner out (Apex Spline's Order: From the Middle Out), so the right lid's joints, skin weights and control numbers mirror the left's.

The lid controls each sit under the head on their own (Independent CVs), and the lids slide over a closed eyeball: an eye piece with open edges is replaced by the sphere that fits it for the slide.

Eye Rig 3.1 is 3.0 on the newest TumbleRig nodes: Apex Spline 6.14, Slide on Surface 1.2, Apex Zipper 3.5, Apex Blendshapes 3.3 and Apex Constraints 2.4. With Blink Sliders on, each eye's Blink and Blink Target are channels on the head control (head_blink_l, head_blink_l_target, ...), made by Apex Channels.

Four choices say what the node makes. Style: Realistic (a sclera with a cornea, an iris and a pupil) or Cartoon (a sphere and a pupil). Eyeball, Pupil: Use Mine or Generate (Pupil also None). Lids: From the Skin (the face's own lids) or Generate (a lid shell around the eyeball). Every mix blinks, looks and dilates with the same rig: a closed creature head with generated cartoon eyes and lids, your own eyeballs with generated lids, or a modelled human face with nothing generated (the same as Eye Rig 2.1).

Put it after the rig is built (Fit Skeleton Markers with Face, or APEX Joints) and BEFORE the skinning. Set the head and eye joints: the lid rims are found where the eyeball primitives meet the face (or picked as edge loops), each rim becomes an upper and a lower lid spline, the lid controls slide over the eyeballs, and the blink closes the lids around the eye joints so they stay on the eyeball. The lid joints are in the bind set, so the skinning after this node captures them. Skin in four passes with APEX Skinning (Method CUDA, Add Bone Deform on the last only): every joint but the lids and the eyes (Capture Joints skel_bind ^@name=_lid_ ^@name=l_eye ^@name=r_eye); the eye joints inside eye_pieces_mask (the eye pieces turn with the look); the upper lid joints inside eye_lid_upper_mask (@name=upper_lid_*_fit_*); the lower lid joints inside eye_lid_lower_mask (@name=lower_lid_*_fit_*). One pass over the face gives the cheek to the lower lid on a sparse face skeleton, and one pass over both lids gives one lid's skin to the other lid's joints.

Eyes made of separate pieces (sclera, cornea, iris, pupil): set Eye Pieces to all of them, Rims From to Face Opening and Slide Over to the sclera and cornea. The node measures each eye's cornea bulge and the blink closes over it.

Inside it is the eye chain: the lid rims and the lid skin mask (Unpack Folder, a wrangle, Pack Folder), APEX Spline (upper and lower lid per eye), APEX Slide on Surface, APEX Zipper (Blend Around the eye joint), and APEX Constraints for Look. Unpack to Nodes puts them into the network with every value they have.

Eye Rig 2.1 and 1.3 stay for scenes built with them.

Inputs and outputs

Inputs

Character

The packed character stream, rigged and not yet skinned.

Outputs

Character

The stream with the lids in the rig.

Recipes

Version notes

  • Eye Rig 3.1: nested Channels 1.1 -> 1.2 in place (1.23 sweep)
  • TumbleRig: Eye Rig 1.0 runs derotate_aim_base compiled (its script text strips in a release)
  • Eye Rig 1.0 fix rebuilt from the previous definition: only the edited parms change
  • Eye Rig 1.0 cooks again: lid splines on Geo Type Points, one show_tweaks setup
  • Facial Rigger 1.2 / Eye Rig 3.1: mirror the lid weights after the skinning
  • Apex Spline 6.15: Order for Closed Loops, From the Middle Out; Eye Rig 3.1's lids use it
  • Eye Rig 3.1 lids: Independent CVs and a closed slide surface; the round's new HDAs get their event blocks back
  • Level 3 families: the empty settings helpers of their compiled builders no longer cook (76 builders in 45 assets)
  • Eye Rig 3.1: 3.0 on the newest nodes, the blink sliders as channels
  • Compiled-only rollout, level 3 (batch D1): 45 assets run their compiled graphs
  • Node cache before every Output of 96 assets: a reopened scene reads a node's result without cooking what is above
  • Switches that read geometry become Switch-If tests: 9 more assets (sweep done but Deform Mask)