Go to: Related nodes. Attributes.

Node name Parents Classification MFn type Compatible function sets
resolution node renderGlobal/resolution kResolution kBase
kNamedObject
kDependencyNode
kResolution

Related nodes

blendColors, clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, hsvToRgb, samplerInfo, setRange, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch

Attributes (12)

aspectLock, deviceAspectRatio, dotsPerInch, fields, height, imageSizeUnits, lockDeviceAspectRatio, oddFieldFirst, pixelAspect, pixelDensityUnits, width, zerothScanline

Long name (short name) Type Default Flags
width (w) integer 640 outputinputconnectablestorable
The image resolution width (X).
height (h) integer 480 outputinputconnectablestorable
The image resolution height (Y).
pixelAspect (pa) float 0.0 outputinputconnectablestorable
The currently locked X/Y aspect ratio between X and Y resolution. This attribute is only used for internal computations, and is not the same thing as the render globals window' "pixel aspect ratio" field. Please refer to "device aspect ratio" for this.
aspectLock (al) bool false outputinputconnectablestorable
When true, lock the aspect ratio so that if X is modified, Y maintains the proper aspect, and visa-versa.
deviceAspectRatio (dar) float 1.3333333 outputinputconnectablestorable
Device aspect ratio: the resolution must squeeze the image into this aspect ratio. Eg., device aspect ratio for NTSC is 4/3. In the render globals window, there is a "pixel aspect ratio" field, which is not an attribute, and is made available to allow users familiar with pixel aspect ratio to set non-square pixel sizes (value of 1 indicating square). When this value is set, the device aspect ratio is modified. There is a relationship between these two items: pixel_aspect_ratio = (height / width) * device_aspect_ratio.
lockDeviceAspectRatio (ldar) bool false outputinputconnectablestorable
Lock device aspect ratio. If the lock is off, then the device aspect ratio will make sure that there is no squeeze in the image.
dotsPerInch (dpi) float 72.0 outputinputconnectablestorable
The image pixel density in dots per inch (DPI).
oddFieldFirst (off) bool true outputinputconnectablestorable
if odd field comes first
fields (fld) enum 0 outputinputconnectablestorable
if fields are to be done
zerothScanline (zsl) enum 0 outputinputconnectablestorable
if top/bottom is the 0th field
imageSizeUnits (isu) enum 0 outputinputconnectablestorable
The units for the image size.
pixelDensityUnits (pdu) enum 0 outputinputconnectablestorable
The units for the pixel density.