
Attribute-Driven Transform Gizmo: A Procedural Leap in Nuke Compositing
ShareLinkedInXWhatsAppEmailIn Houdini, converting and manipulating attributes is second nature. From UVs to noise, almost any attribute can drive another, which is what makes procedural simulations feel natural and alive. That made me wonder: why don’t we use the same idea in Nuke for compositing?
That curiosity led me to build a custom Nuke gizmo that turns 2D image data into a pseudo-3D surface representation. It reaches close to 90% accuracy across a wide range of surfaces, including skin, cloth and other organic materials.
From Houdini’s procedural DNA to Nuke’s compositing framework
Houdini’s procedural workflow lets an attribute like UV control other attributes such as noise or opacity, which is how intricate simulations get built. Borrowing that logic, the gizmo uses image channels (luminance, red, green, blue) to drive transform attributes, effectively turning colour or intensity values into transform forces.
This opens up new ground for compositing tasks like skin and cloth movement, tattoo tracking and fine surface detail work.
Understanding the ST map approach
To understand the gizmo you need to understand ST maps: 2D storage formats for transform and warp data, usually built from UV channels and motion vectors. With expression nodes in Nuke we can construct UV or ST maps that act as dynamic warping fields. The result is a procedural transform system that is far more controllable than a traditional masked transform.
Unlike a static blur on an alpha mask, an ST map can be shaped with defocus, median and bilateral filters. It is similar to working with SplineWarp or GridWarp, with more control and more automation.
The gizmo: transform control through luminance
The gizmo reads luminance from the input plate to drive the transform data, with procedural logic built in for fine control. Internally it uses Stamps to store and manipulate the transform data, so the effect looks organically driven rather than mechanical.
In practice this makes cloth, skin, tattoo and texture work simpler while making it look more real.
Extending control with Smart Vectors and Mocha
When the job is tracking muscle fibres, cloth wrinkles or sliding surface elements, Mocha Pro and Smart Vectors become essential. Smart Vectors generate motion data that we can export as ST maps, usually stored in EXR files. The VectorDistort node then warps tattoos, stickers or clean plates with that data, which holds up even on complex surface deformation.
Realistic surface blending with physics-based colour matching
To push realism further I added physics-inspired logic to the comp:
- Brighter skin areas lighten the overlay (a tattoo or sticker), while darker areas absorb more light.
- Luminance data and keyers extract tonal zones that drive grading and masking.
- Frequency separation, using my own Frequency Keyer gizmo or simple blur and minus operations, isolates surface texture so it can be reapplied to keep natural grain and micro-detail in the final composite.
The overlay ends up matching both the movement and the texture of the surface underneath, which is what sells a photoreal composite.
Applications
- Blood or liquid running along body contours
- Surface sliding effects
- Seamless skin and cloth blending
- Tattoo and paint projections that move naturally with muscles and folds
Others may have arrived at similar techniques, but finding this workflow on my own was deeply rewarding. It is exciting that we can generate UV-like surface behaviour from image data alone, without geometry, clean-up tools or 3D renders. With good lighting and plate quality, it reaches around 90% precision in many practical cases.
Final thoughts
This gizmo has changed how I approach texture-heavy and surface-sensitive compositing. I will break it down in detail in a future post. For now, it marks a new phase in procedural compositing using attribute conversion in Nuke.
Vishal Dharsha J, Founder and Creative Head, Perfekta FX