You are here: User Guide > Nuke > 3D Compositing > Modifying Objects Using a Trilinear Interpolation

Modifying Objects Using a Trilinear Interpolation

With the Trilinear node, you can warp the object as a whole by using a trilinear interpolation to warp the object’s bounding box. For example, you can use this node to create animated object deformations, such as the squish/squash of a bouncing ball.

To Modify Objects Using a Trilinear Interpolation

1.   Select 3D > Modify > Trilinear to insert a Trilinear node anywhere after the 3D object you want to modify.
2.   Attach a Viewer to the node to see your changes.
3.   In the node’s controls, use the display dropdown menu to select how you want to view your object in the Viewer while making changes to it.
4.   To move each corner of the bounding box, enter new coordinates in the p0, p1, p2...p7 fields. To cancel your changes and reset the box, select reset shape to input.
5.   To not use the object’s bounding box but define a box yourself, go to the Source box tab and uncheck use incoming bounding box. Adjust the src0 and scr1 coordinates define the box. To change the color of the box, click the box button.