CompStart

ProLessonsCoursesElementsSoftware

CompStart

Learn visual effects with cutting-edge techniques.

Learning

CoursesLessonsPro FeaturesAssetsSoftware

Tools

Tech CheckDisplay CheckMotion BlurPhysLightNuke Tools

Company

InstructorMissionSitemapPrivacyTerms

Projects

Moray RenderEXR ConverterOCIO.ccNuke ToolsDerekVFX

Follow

YouTubeInstagramTikTokThreadsContact

© 2026 CompStart. All rights reserved.

Fill BBox

ToolSets / Utility
Utility

2026-09-07

ToolSets/utility/fillBBox.nk

utility
bbox
bounding box
overscan
adjbbox
copybbox
View on GitHub

Expand or adjust an image’s bounding box in Nuke by adding pixels and choosing how the new bounds are set, without changing pixel data.

Fill BBox grows or redefines the incoming bounding box while leaving the image content untouched. The result is the original stream with a new box applied.

Use it when a tight bbox clips blurs, glows, or other filters, when you need simple overscan around a plate or element, or when downstream nodes expect a larger working area than the current bounds.

Add Pixels controls how far AdjBBox expands the box after a format-sized Crop. Set bbox to chooses the Merge bbox mode that resolves the final bounds. CopyBBox then writes that box onto the original input so channels pass through unchanged.

Script code

set cut_paste_input [stack 0]
version 12.1 v4
push $cut_paste_input
Group {
 name FillBBox
 tile_color 0x421010ff
 selected true
 xpos -1091
 ypos 285
 addUserKnob {20 User l FillBBox}
 addUserKnob {41 numpixels l "Add Pixels" T AdjBBox1.numpixels}
 addUserKnob {41 bbox l "set bbox to " T Merge1.bbox}
 addUserKnob {26 ""}
 addUserKnob {26 lbl l "" +STARTLINE T "Fill BBox v1.0"}
 addUserKnob {22 btn l DerekVFX.ca T "nuke.tcl('start', 'https://derekvfx.ca')" +STARTLINE}
}
 Input {
  inputs 0
  name Input
  xpos 447
  ypos 61
 }
set Nd8f2800 [stack 0]
 Crop {
  box {0 0 {input.width} {input.height}}
  reformat true
  crop false
  name Crop1
  xpos 600
  ypos 92
 }
 AdjBBox {
  numpixels 105
  name AdjBBox1
  label "\[value numpixels]"
  xpos 592
  ypos 127
 }
push $Nd8f2800
 Merge2 {
  inputs 2
  output none
  name Merge1
  xpos 558
  ypos 192
 }
push $Nd8f2800
 CopyBBox {
  inputs 2
  name CopyBBox1
  xpos 447
  ypos 277
 }
 Output {
  name Output1
  xpos 447
  ypos 1055
 }
end_group