Oink
Nodes

ScanlineRender

ScanlineRender node.

raw .md
NodeScanlineRender
Type idOC_N_scanlinerender
Menu3D › ScanlineRender
Nuke classScanlineRender (also imports ScanlineRender2)
Codeopencomp_core/nodes/three_d/render_nodes.py

ScanlineRender properties

Inputs and outputs

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

Knobs

Panel tab Scanlinerender, in panel order.

KnobLabelTypeDefaultRange / valuesNuke 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 / valuesNuke 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

Nuke equivalent

Imports from and exports to Nuke's ScanlineRender (ScanlineRender2 also import to it).

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

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