Baking and Protecting Your Kernels
When you're happy with your kernel, you can bake it for use elsewhere in the script or in an entirely separate Nuke script. Baked kernels are locked, with the Library Files baked into the kernel.
Blink kernels can also be encoded using the built-in kernel protection. The Protect feature creates a new version of the node, with only the Kernel Parameters tab visible. Protected kernels are not readable when the published node is saved to a script.
Note: Kernel protection offers a fairly low level of security and might not be sufficient to protect valuable source code.
To bake a kernel:
1. | Double-click the BlinkScript node to open the properties panel. |
2. | In the BlinkScript tab, click Bake. |
The BlinkScript kernel is now locked and has the ‘baked’ icon next to it. Any library files included in the kernel are saved within the node.
To access and edit the kernel of a baked Blinkscript node by clicking Make Live in the BlinkScript tab. The contents of the kernel can be edited and the live icon will appear next to the node.
When a kernel is made live, you can either save the node’s baked Library Files to disk, or discard them and default back to the path listed in the kernel.
Warning: Warning: this discard operation is destructive.
The Protect feature can be applied to either a Live or Baked node.
To protect a kernel:
1. | Double-click the BlinkScript node to open the Properties panel. |
2. | In the BlinkScript tab, click Protect. |
The protected state creates a new version of the node with only the kernel parameters tab. For example, using the Swirlomatic Kernel supplied in the documentation produces the following copied node.
Note: Note: If a live BlinkScript node is protected, the Library Files will not be baked into the node.
In a Nuke Script, protected kernels appear as shown in the example below.
Certain BlinkScript functions are only available with a NukeX license. The following table describes the various levels of access for the Nuke family.
Product |
Feature |
||
---|---|---|---|
Create node |
Load, edit, and save |
Adjust controls |
|
Nuke Assist |
|
|
|
Nuke |
|
|
|
NukeX |
|
|
|
Nuke Studio |
|
|
|