Oink
ScanlineRenderbgobj/scncam ScanlineRender

ScanlineRender

ScanlineRender node.

raw .md
NodeScanlineRender
Menu3D › ScanlineRender
Names in each format
.oink comp (JSON)"type": "OC_N_scanlinerender"
.nk scriptScanlineRender, also imports ScanlineRender2 (how .nk import works)
Pythonnuke.createNode("ScanlineRender")
Assistant (MCP)create_node(type="ScanlineRender")
Tab searchscanlinerender, or its initials sr

ScanlineRender properties

Inputs and outputs

PortNameType
input 0bgimage
input 1obj/scnscene
input 2camscene
output 0Imageimage

Knobs

Panel tab Scanlinerender, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
camera_sample_modecamera samplesmenu11, 4, 9, 16, 32, 64, customcamera_sample_mode
camera_samples_customcustom sizefloat11 to 256 (integer)camera_samples_custom
shuttershutterfloat0.50 to 2shutter
shutteroffsetshutter offsetmenustartstart, centred, endshutteroffset
camera_motion_blurcamera xform blurbooltruecamera_motion_blur
object_motion_blurobject xform blurbooltrueobject_motion_blur
lighting_enable_modelightingmenuautoauto, on, offlighting_enable_mode
ambientambientfloat00 to 1ambient
one_over_z1/Z depthbooltrueone_over_z
motion_vectors_typemotion vectorsmenudistanceoff, distancemotion_vectors_type
output_positionposition (P)boolfalseoutput_position
output_normalnormal (N)boolfalseoutput_normal

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Examples

Open these from Help › Examples…, or from the ? menu in this node's Properties panel.

  • Relight from rendered normals and depth (examples/3d/relight_normals.oink): ScanlineRender writes normals (N) and depth; Relight adds a point light using them, the way you relight a CG pass in comp. Move the light's position knob to see the shading follow the shapes.
  • ScanlineRender: a textured card and a camera (examples/3d/scanline_card_camera.oink): The classic Nuke 3D setup: a photo textures a Card, the Scene gathers geometry, a Camera looks at it and ScanlineRender draws it over a background. Move the Camera or the Card to see the perspective change.

On this page