Home | Trees | Index | Help |
|
---|
Module Render :: Class RenderData |
|
Method Summary | |
---|---|
int (if prototype is empty) |
Get/set the horizontal aspect ratio. |
int (if prototype is empty) |
Get/set the vertical aspect ratio. |
int (if prototype is empty) |
Get/set the current frame. |
int (if prototype is empty) |
With the unified renderer, reduce intensity on boundaries. |
int (if prototype is empty) |
Get/set edge intensity for toon shading. |
Enable/disable the backbuf image. | |
Enable/disable small cut-out rendering. | |
Enable/disable exclusion of border rendering from total image. | |
Enable/disable environment map rendering. | |
Enable/disable windows extensions for output files. | |
Enable/disable field rendering | |
Enable/disable time difference in field calculations. | |
Enable show the entire viewport in the display window, using bar horizontally or vertically. | |
Enable show the entire viewport in the display window, viewing more horizontally or vertically. | |
Enable stretch or squeeze the viewport to fill the display window. | |
Enable/disable gamma correction. | |
Enable/disable Gauss sampling filter for anti-aliasing. | |
Images are saved with black and white (grayscale) data. | |
Enable alpha and color values remain unchanged. | |
Enable/disable MBlur. | |
Enable/disable Odd field first rendering (Default: Even field). | |
Enable/disable oversampling (anti-aliasing). | |
Enable/disable panorama rendering (output width is multiplied by Xparts). | |
Enable premultiply alpha. | |
Enable/disable radiosity rendering. | |
Enable/disable ray tracing. | |
Enable/disable Scene daemon. | |
Images are saved with RGB and Alpha data (if supported). | |
Images are saved with RGB (color) data. | |
Enable/disable Do Sequence. | |
Enable/disable attempt to save SGI movies using Cosmo hardware SGI must be defined on your machine. | |
Enable/disable shadow calculation. | |
Enable render background with sky. | |
Enable/disable Edge rendering. | |
Use the unified renderer. | |
Enable/disable cache irradiance samples (faster). | |
Enable/disable try to smooth lighting using a gradient. | |
Enable/disable use of global photons to help in GI. | |
Enable/disable show the photon map directly in the render for tuning. | |
int (if prototype is empty) |
Get/set the ending frame for sequence rendering. |
int (if prototype is empty) |
Get/set frames per second. |
float (if prototype is empty) |
Get/set the gamma value for blending oversampled images (1.0 = no correction). |
float (if prototype is empty) |
Get/sets the Gauss filter size. |
string |
Get the path to the background image. |
string |
Get the edge color for toon shading. |
string |
Get the path to the Ftype file |
string |
Set the red, green, blue component of the bars. |
string |
Get the path to where the renderer will write to. |
int |
Get the size of the render window. |
string |
Get the current frame as a string in HH:MM:SS:FF format |
int (if prototype is empty) |
Get/set the image width in pixels. |
int (if prototype is empty) |
Get/set the image height in pixels. |
float (if prototype is empty) |
Get/set the length of shutter time for motion blur. |
int (if prototype is empty) |
Get/set specify new map value in frames. |
int (if prototype is empty) |
Get/set specify old map value in frames. |
int (if prototype is empty) |
Get/set the number of parts to divide the render in the X direction. |
int (if prototype is empty) |
Get/set the number of parts to divide the render in the Y direction. |
play animation of rendered images/avi (searches Pics: field). | |
float (if prototype is empty) |
Get/set post processing add. |
float (if prototype is empty) |
Get/set post processing gamma. |
float (if prototype is empty) |
Get/set post processing multiply. |
int (if prototype is empty) |
Get/set quality get/setting for JPEG images, AVI JPEG and SGI movies. |
Render the scene. | |
Render a series of frames to an output directory. | |
Saves the image rendered using RenderData.render() to the filename and path given in the variable 'filename'. | |
Set the path to a background image and load it. | |
Set a border for rendering from cameras in the scene. | |
Set the edge color for toon shading. | |
Set the path to Ftype file. | |
Set the red, green, blue component of the bars. | |
Set the type of image to output from the render. | |
Set the edge color for toon shading. | |
Get/set which renderer to render the output. | |
Set the path to where the renderer will write to. | |
Set the size of the render window. | |
Set yafray global Illumination method. | |
Set yafray global Illumination quality. | |
int (if prototype is empty) |
Get/set maximum size per frame to save in an SGI movie. |
Set the renderer to one of a few presets. | |
int (if prototype is empty) |
Get/set the starting frame for sequence rendering. |
float (if prototype is empty) |
Get/set exposure adjustment, 0 is off. |
float (if prototype is empty) |
Get/set gamma correction, 1 is off. |
int (if prototype is empty) |
Get/set number of bounces inside objects (for caustics). |
int (if prototype is empty) |
Get/set number of bounces of the indirect light. |
float (if prototype is empty) |
Get/set GI indirect lighting intensity scale. |
int (if prototype is empty) |
Get/set number of photons to shoot. |
int (if prototype is empty) |
Get/set number of photons to keep inside radius. |
float (if prototype is empty) |
Get/set radius to search for photons to mix (blur). |
int (if prototype is empty) |
Get/set maximum number of pixels without samples, the lower the better and slower. |
float (if prototype is empty) |
Get/set GI lighting intensity scale. |
float (if prototype is empty) |
Get/set threshold to refine shadows EXPERIMENTAL. |
float (if prototype is empty) |
Get/set the shadow quality, keep it under 0.95. |
int (if prototype is empty) |
Get/set number of processors to use. |
float (if prototype is empty) |
Get/set shadow ray bias to avoid self shadowing. |
int (if prototype is empty) |
Get/set maximum render ray depth from the camera. |
Instance Variable Summary | |
---|---|
int | alphaMode : Setting for sky/background. |
int | aspectX : Horizontal aspect ratio. |
int | aspectY : Vertical aspect ratio. |
boolean | backbuf : Backbuffer image enabled. |
string | backbufPath : Path to a background image (setting loads image). |
list of 4 floats. | border : The border for border rendering. |
boolean | borderRender : Small cut-out rendering enabled. |
int | cFrame : The current frame for rendering. |
boolean | compositeFree : Free nodes that are not used while composite. |
boolean | compositor : 'Do Compositor' enabled. |
boolean | crop : Crop image during border renders. |
int | displayMode : Render output in separate window or 3D view. |
list of 3 RGB floats | edgeColor : RGB color triplet for edges in Toon shading (unified renderer). |
int | eFrame : Ending frame for rendering. |
boolean | environmentMap : Environment map rendering enabled. |
boolean | extensions : Add extensions to output (when rendering animations). |
boolean | fieldRendering : Field rendering enabled. |
int | fieldTimeDisable : Time difference in field calculations disabled. |
int | fps : Frames per second. |
boolean | freeImages : 'Do Compositor' enabled. |
string | ftypePath : The path to Ftype file. |
int | gameFrame : Game framing type. |
list of RGB 3 floats | gameFrameColor : RGB color triplet for bars. |
boolean | gammaCorrection : Gamma correction enabled. |
float | gaussFilter : Gauss filter size. |
int | imagePlanes : Image depth in bits. |
int | imageType : File format for saving images. |
int | mapNew : New mapping value (in frames). |
int | mapOld : Number of frames the Map Old will last Values are clamped to the range
[1,900]. |
float | mblurFactor : Motion blur factor. |
bitfield | mode : Mode bitfield. |
boolean | motionBlur : Motion blur enabled. |
boolean | oddFieldFirst : Odd field first rendering enabled. |
int | OSALevel : Oversampling (anti-aliasing) level. |
boolean | oversampling : Oversampling (anti-aliasing) enabled. |
boolean | panorama : Panorama rendering enabled. |
boolean | radiosityRender : Radiosity rendering enabled. |
boolean | rayTracing : Ray tracing enabled. |
int | renderer : Rendering engine choice. |
string | renderPath : The path to output the rendered images. |
int | renderwinSize : Size of the rendering window. |
boolean | saveBuffers : Save render buffers to disk while rendering, saves memory. |
bitfield | sceneMode : Scene mode bitfield. |
boolean | sequencer : Enables sequencer output rendering. |
BPy_Scene or None | set : The scene linked as a set to this scene. |
int | sFrame : Starting frame for rendering. |
boolean | shadow : Shadow calculation enabled. |
boolean | singleLayer : Only render the active layer. |
int | sizeX : Image width (in pixels). |
int | sizeY : Image height (in pixels). |
int | threads : Number of threads to render, clamed [1-8] |
string | timeCode : Get the current frame in HH:MM:SS:FF format. |
boolean | toonShading : Toon edge shading enabled. |
boolean | unified : Unified Renderer enabled. |
int | xParts : Number of horizontal parts for image render. |
int | yParts : Number of vertical parts for image render. |
Method Details |
---|
aspectRatioX(ratio=None)Get/set the horizontal aspect ratio.
|
aspectRatioY(ratio=None)Get/set the vertical aspect ratio.
|
currentFrame(frame=None)Get/set the current frame.
|
edgeAntiShift(intensity=None)With the unified renderer, reduce intensity on boundaries.
|
edgeIntensity(intensity=None)Get/set edge intensity for toon shading.
|
enableBackbuf(toggle)Enable/disable the backbuf image.
|
enableBorderRender(toggle)Enable/disable small cut-out rendering.
|
enableCropping(toggle)Enable/disable exclusion of border rendering from total image.
|
enableEnvironmentMap(toggle)Enable/disable environment map rendering.
|
enableExtensions(toggle)Enable/disable windows extensions for output files.
|
enableFieldRendering(toggle)Enable/disable field rendering
|
enableFieldTimeDisable(toggle)Enable/disable time difference in field calculations.
|
enableGameFrameBars()Enable show the entire viewport in the display window, using bar horizontally or vertically. |
enableGameFrameExpose()Enable show the entire viewport in the display window, viewing more horizontally or vertically. |
enableGameFrameStretch()Enable stretch or squeeze the viewport to fill the display window. |
enableGammaCorrection(toggle)Enable/disable gamma correction.
|
enableGaussFilter(toggle)Enable/disable Gauss sampling filter for anti-aliasing.
|
enableGrayscale()Images are saved with black and white (grayscale) data. |
enableKey()Enable alpha and color values remain unchanged. |
enableMotionBlur(toggle)Enable/disable MBlur.
|
enableOddFieldFirst(toggle)Enable/disable Odd field first rendering (Default: Even field).
|
enableOversampling(toggle)Enable/disable oversampling (anti-aliasing).
|
enablePanorama(toggle)Enable/disable panorama rendering (output width is multiplied by Xparts).
|
enablePremultiply()Enable premultiply alpha. |
enableRadiosityRender(toggle)Enable/disable radiosity rendering.
|
enableRayTracing(toggle)Enable/disable ray tracing.
|
enableRenderDaemon(toggle)Enable/disable Scene daemon.
|
enableRGBAColor()Images are saved with RGB and Alpha data (if supported). |
enableRGBColor()Images are saved with RGB (color) data. |
enableSequencer(toggle)Enable/disable Do Sequence.
|
enableSGICosmo(toggle)Enable/disable attempt to save SGI movies using Cosmo hardware SGI must be defined on your machine.
|
enableShadow(toggle)Enable/disable shadow calculation.
|
enableSky()Enable render background with sky. |
enableToonShading(toggle)Enable/disable Edge rendering.
|
enableUnifiedRenderer(toggle)Use the unified renderer.
|
enableYafrayGICache(toggle)Enable/disable cache irradiance samples (faster). YafrayMethod must be GIFULL.
|
enableYafrayGIGradient(toggle)Enable/disable try to smooth lighting using a gradient. YafrayMethod must be GIFULL and Cache enabled.
|
enableYafrayGIPhotons(toggle)Enable/disable use of global photons to help in GI. YafrayMethod must be GIFULL.
|
enableYafrayGITunePhotons(toggle)Enable/disable show the photon map directly in the render for tuning. YafrayMethod must be GIFULL and Photons enabled.
|
endFrame(frame=None)Get/set the ending frame for sequence rendering.
|
framesPerSec(qual=None)Get/set frames per second.
|
gammaLevel(level=None)Get/set the gamma value for blending oversampled images (1.0 = no correction). Unified renderer must be enabled.
|
gaussFilterSize(size=None)Get/sets the Gauss filter size.
|
getBackbufPath()Get the path to the background image.
|
getEdgeColor()Get the edge color for toon shading.
|
getFtypePath()Get the path to the Ftype file
|
getGameFrameColor()Set the red, green, blue component of the bars.
|
getRenderPath()Get the path to where the renderer will write to.
|
getRenderWinSize()Get the size of the render window.
|
getTimeCode()Get the current frame as a string in HH:MM:SS:FF format
|
imageSizeX(size=None)Get/set the image width in pixels.
|
imageSizeY(size=None)Get/set the image height in pixels.
|
motionBlurLevel(level=None)Get/set the length of shutter time for motion blur.
|
newMapValue(value=None)Get/set specify new map value in frames.
|
oldMapValue(value=None)Get/set specify old map value in frames.
|
partsX(parts=None)Get/set the number of parts to divide the render in the X direction.
|
partsY(parts=None)Get/set the number of parts to divide the render in the Y direction.
|
play()play animation of rendered images/avi (searches Pics: field). |
postProcessAdd(add=None)Get/set post processing add. Unified renderer must be enabled.
|
postProcessGamma(gamma=None)Get/set post processing gamma. Unified renderer must be enabled.
|
postProcessMultiply(mult=None)Get/set post processing multiply. Unified renderer must be enabled.
|
quality(qual=None)Get/set quality get/setting for JPEG images, AVI JPEG and SGI movies.
|
render()Render the scene. |
renderAnim()Render a series of frames to an output directory. |
saveRenderedImage(filename, zbuffer=0)Saves the image rendered using RenderData.render() to the filename and path given in the variable 'filename'. Make sure the filename you provide makes a valid path when added to the "render path" (setRenderPath/getRenderPath) to make up the absolute path. If you want to render to a new absolute path just set the renderpath to an empty string and use the absolute path as the filename.
|
setBackbufPath(path)Set the path to a background image and load it.
|
setBorder(left, bottom, right, top)Set a border for rendering from cameras in the scene. The left,bottom coordinates and right,top coordinates define the size of the border. (0,0,1,1) will set the border to the whole camera. (0,0) lower left and (1,1) upper right.
|
setEdgeColor(red, green, blue)Set the edge color for toon shading.
|
setFtypePath(path)Set the path to Ftype file.
|
setGameFrameColor(red, green, blue)Set the red, green, blue component of the bars.
|
setImageType(type)Set the type of image to output from the render.
|
setOversamplingLevel(level)Set the edge color for toon shading.
|
setRenderer(type)Get/set which renderer to render the output.
|
setRenderPath(path)Set the path to where the renderer will write to.
|
setRenderWinSize(size)Set the size of the render window.
|
setYafrayGIMethod(type)Set yafray global Illumination method.
|
setYafrayGIQuality(type)Set yafray global Illumination quality.
|
SGIMaxsize(size=None)Get/set maximum size per frame to save in an SGI movie. SGI must be defined on your machine.
|
sizePreset(type)Set the renderer to one of a few presets.
|
startFrame(frame=None)Get/set the starting frame for sequence rendering.
|
yafrayExposure(expose=None)Get/set exposure adjustment, 0 is off.
|
yafrayGamma(gamma=None)Get/set gamma correction, 1 is off.
|
yafrayGICDepth(depth=None)Get/set number of bounces inside objects (for caustics). YafrayMethod must be GIFULL.
|
yafrayGIDepth(depth=None)Get/set number of bounces of the indirect light. YafrayMethod must be GIFULL.
|
yafrayGIIndirPower(power=None)Get/set GI indirect lighting intensity scale.
|
yafrayGIPhotonCount(count=None)Get/set number of photons to shoot. YafrayMethod must be GIFULL and Photons enabled.
|
yafrayGIPhotonMixCount(count=None)Get/set number of photons to keep inside radius. YafrayMethod must be GIFULL and Photons enabled.
|
yafrayGIPhotonRadius(radius=None)Get/set radius to search for photons to mix (blur). YafrayMethod must be GIFULL and Photons enabled.
|
yafrayGIPixelsPerSample(pixels=None)Get/set maximum number of pixels without samples, the lower the better and slower. YafrayMethod must be GIFULL and Cache enabled.
|
yafrayGIPower(power=None)Get/set GI lighting intensity scale. YafrayMethod must be either SKYDOME or GIFULL.
|
yafrayGIRefinement(refine=None)Get/set threshold to refine shadows EXPERIMENTAL. 1 = no refinement. YafrayMethod must be GIFULL and Cache enabled.
|
yafrayGIShadowQuality(qual=None)Get/set the shadow quality, keep it under 0.95. YafrayMethod must be GIFULL and Cache enabled.
|
yafrayProcessorCount(count=None)Get/set number of processors to use.
|
yafrayRayBias(bias=None)Get/set shadow ray bias to avoid self shadowing.
|
yafrayRayDepth(depth=None)Get/set maximum render ray depth from the camera.
|
Instance Variable Details |
---|
alphaModeSetting for sky/background. Valid values are 0 (fill background with sky), 1 (multiply alpha in advance), or 2 (alpha and color values remain unchanged).
|
aspectXHorizontal aspect ratio. Values are clamped to the range [1,200].
|
aspectYVertical aspect ratio. Values are clamped to the range [1,200].
|
backbufBackbuffer image enabled.
|
backbufPathPath to a background image (setting loads image).
|
borderThe border for border rendering. The format is [xmin,ymin,xmax,ymax]. Values are clamped to [0.0,1.0].
|
borderRenderSmall cut-out rendering enabled. Also see BORDER_RENDER inModes
constant dict.
|
cFrameThe current frame for rendering. Values are clamped to the range [1,MAXFRAME].
|
compositeFreeFree nodes that are not used while composite.
|
compositor'Do Compositor' enabled.
|
cropCrop image during border renders. Also see CROP inModes
constant dict.
|
displayModeRender output in separate window or 3D view. Valid values are 0 (display in image editor view), 1 (display in render window), or 2 (display full screen).
|
edgeColorRGB color triplet for edges in Toon shading (unified renderer). Values are clamped in the range [0.0,1.0].
|
eFrameEnding frame for rendering. Values are clamped to the range [1,MAXFRAME].
|
environmentMapEnvironment map rendering enabled. Also see ENVMAP inModes
constant dict.
|
extensionsAdd extensions to output (when rendering animations). Also see EXTENSION inSceModes constant dict.
|
fieldRenderingField rendering enabled. Also see FIELDRENDER inModes
constant dict.
|
fieldTimeDisableTime difference in field calculations disabled.
|
fpsFrames per second. Values are clamped to the range [1,120].
|
freeImages'Do Compositor' enabled.
|
ftypePathThe path to Ftype file.
|
gameFrameGame framing type. SeeFramingModes constant dict.
|
gameFrameColorRGB color triplet for bars. Values are clamped in the range [0.0,1.0].
|
gammaCorrectionGamma correction enabled. Also see GAMMA inModes
constant dict.
|
gaussFilterGauss filter size. Values are clamped to the range [0.5,1.5].
|
imagePlanesImage depth in bits. Valid values are 8, 24, or 32.
|
imageTypeFile format for saving images. See the module's constants for values.
|
mapNewNew mapping value (in frames). Values are clamped to the range [1,900].
|
mapOldNumber of frames the Map Old will last Values are clamped to the range [1,900].
|
mblurFactorMotion blur factor. Values are clamped to the range [0.01,5.0].
|
modeMode bitfield. SeeModes constant dict for values.
|
motionBlurMotion blur enabled. Also see MBLUR inModes
constant dict.
|
oddFieldFirstOdd field first rendering enabled. Also see ODDFIELD inModes
constant dict.
|
OSALevelOversampling (anti-aliasing) level. Valid values are 5, 8, 11, or 16.
|
oversamplingOversampling (anti-aliasing) enabled. Also see OSA inModes
constant dict.
|
panoramaPanorama rendering enabled. Also see PANORAMA inModes
constant dict.
|
radiosityRenderRadiosity rendering enabled.
|
rayTracingRay tracing enabled. Also see RAYTRACING inModes
constant dict.
|
rendererRendering engine choice. Valid values are 0 (internal) or 1 (Yafray).
|
renderPathThe path to output the rendered images.
|
renderwinSizeSize of the rendering window. Valid values are 25, 50, 75, or 100.
|
saveBuffersSave render buffers to disk while rendering, saves memory.
|
sceneModeScene mode bitfield. SeeSceModes constant dict for values.
|
sequencerEnables sequencer output rendering. Also see SEQUENCER inSceModes
constant dict.
|
setThe scene linked as a set to this scene. Values are an existing scene or None (setting to None clears the set). The scene argument cannot cause a circular link.
|
sFrameStarting frame for rendering. Values are clamped to the range [1,MAXFRAME].
|
shadowShadow calculation enabled. Also see SHADOW inModes
constant dict.
|
singleLayerOnly render the active layer.
|
sizeXImage width (in pixels). Values are clamped to the range [4,10000].
|
sizeYImage height (in pixels). Values are clamped to the range [4,10000].
|
threadsNumber of threads to render, clamed [1-8]
|
timeCodeGet the current frame in HH:MM:SS:FF format. Read-only.
|
toonShadingToon edge shading enabled. Also see TOONSHADING inModes
constant dict.
|
unifiedUnified Renderer enabled. Also see UNIFIED inModes
constant dict.
|
xPartsNumber of horizontal parts for image render. Values are clamped to the range [2,512].
|
yPartsNumber of vertical parts for image render. Values are clamped to the range [2,512].
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu May 10 20:32:00 2007 | http://epydoc.sf.net |