FieldTrilinearWarp
The FieldTrilinearWarp node generates a field which represents a trilinear warp. Each corner of a bounding box can be moved and then each point in the box maps to the appropriate point in the new box.
The field can be fed into FieldWarp or GeoFieldWarp to warp other fields or geometry.
Note: This is a LABS node, indicated in Nuke with the tag: 
LABS nodes are experimental and not intended to be used for production.
Inputs and Controls
|
Connection Type |
Connection Name |
Function |
| Input |
fld |
An input for connecting to a field that you wish to modify. |
|
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
|
FieldTrilinearWarp Tab |
|||
|
Reset Shape To Input |
reset_shape |
N/A |
Cancels your changes and resets the input to its original shape. |
|
Copy |
copy_shape |
N/A |
Copies the current positions of the bounding box corners (p0-p7) into a temporary buffer. |
|
Paste |
paste_shape |
N/A |
Pastes previously copied positions of the bounding box corners (p0-p7). |
|
Set Key |
set_key_shape |
N/A |
Sets keys for the positions of all the bounding box corners (p0-p7) on the current frame. This is the same as selecting Set key from the animation menu next to each of the controls. |
|
Delete Key |
delete_key_shape |
N/A |
Deletes the keys on the positions of all the bounding box corners (p0-p7) on the current frame. |
|
Delete Anim |
del_anim_shape |
N/A |
Deletes the keys on the positions of all the bounding box corners (p0-p7) on all frames. |
|
P0 xyz |
p0 |
-0.5, -0.5, -0.5 |
Sets the x, y, and z coordinates for the p0 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P1 xyz | p1 |
-0.5, 0.5, -0.5 |
Sets the x, y, and z coordinates for the p1 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P2 xyz | p2 |
0.5, 0.5, 0.5 |
Sets the x, y, and z coordinates for the p2 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P3 xyz | p3 |
0.5, -0.5, -0.5 |
Sets the x, y, and z coordinates for the p3 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P4 xyz | p4 |
-0.5, -0.5, 0.5 |
Sets the x, y, and z coordinates for the p4 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P5 xyz | p5 |
-0.5, 0.5, 0.5 |
Sets the x, y, and z coordinates for the p5 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P6 xyz | p6 |
0.5, 0.5, 0.5 |
Sets the x, y, and z coordinates for the p6 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
| P7 xyz | p7 |
0.5, -0.5, 0.5 |
Sets the x, y, and z coordinates for the p7 corner of the bounding box. You can also adjust these by dragging the corresponding vertex in the Viewer. |
|
Source Box Tab |
|||
|
Use Incoming Bounding Box |
src_use_bbox |
on |
By default, the node warps the bounding box of the input object. If you'd rather warp a custom bounding box, uncheck this and use the controls below to define the custom box. |
|
Reset Source Box To Input |
reset_src_shape |
N/A |
When Use Incoming Bounding Box is disabled, cancels any changes you've made to the custom bounding box and resets it to the original settings taken from the input. |
|
Box |
src_color |
red |
When Use Incoming Bounding Box is disabled, sets the color of the custom bounding box in the 3D Viewer. |
|
Source 0 xyz |
src0 |
-0.5, -0.5, -0.5 |
When Use Incoming Bounding Box is disabled, sets the x, y, and z coordinates for one of the two custom bounding box corners you can adjust. |
|
Source 1 xyz |
src1 |
0.5, 0.5, 0.5 |
When Use Incoming Bounding Box is disabled, sets the x, y, and z coordinates for one of the two custom bounding box corners you can adjust. |
| Display Tab | |||
| Draw Bounding Box | preview_bounds | off | Draw the bounding box of the field if it has one. |
| Draw Preview | preview_on | off | Draw a rough preview of the field. |
| Preview Opacity | preview_opacity | 0.5 | The opacity at which to draw the preview. |
| Scale | preview_scale | 1 | A value by which the field is multiplied before drawing. You may need to increase this to display faint volumes for example. |
| Offset | preview_offset | 0 | A value added to the field before drawing (after scaling). |
| Detail | preview_detail | 1 | The detail level at which the preview is drawn. Large values are more accurate but slower to draw. |