Home | Trees | Index | Help |
|
---|
Module Render |
|
This module provides access to Scene Rendering Contexts in Blender.
Example:import Blender from Blender import * from Blender.Scene import Render scn = Scene.GetCurrent() context = scn.getRenderingContext() Render.EnableDispWin() context.extensions = True context.renderPath = "//myRenderdir/" context.sizePreset(Render.PC) context.imageType = Render.AVIRAW context.sFrame = 2 context.eFrame = 10 context.renderAnim() context.imageType = Render.TARGA context.fps = 15 context.sFrame = 15 context.eFrame = 22 context.renderAnim() Render.CloseRenderWindow() print context.fps print context.cFrame
Classes | |
---|---|
RenderData |
This object gives access to Scene rendering contexts in Blender. |
Function Summary | |
---|---|
Closes the rendering window. | |
Render in the 3d View area. | |
Render in Render window. | |
Globally consider transparent faces for edge-rendering with the unified renderer. | |
Globally with the unified renderer enabled the outlines of the render are shifted a bit. | |
Set the position of the Render window on the screen. |
Variable Summary | |
---|---|
AVICODEC : Output format. | |
AVIJPEG : Output format. | |
AVIRAW : Output format. | |
B_PR_FULL : Output format. | |
BEST : Yafray GI Quality. | |
BMP : Output format. | |
CINEON : Output format. | |
DEFAULT : Output format. | |
DPX : Output format. | |
FFMPEG : Output format. | |
readonly dictionary | FramingModes : Constant dict used for with RenderData.gameFrame attribute. |
FTYPE : Output format. | |
GIFULL : Yafray GI Quality. | |
HAMX : Output format. | |
HDR : Output format. | |
HIGH : Yafray GI Quality. | |
HIGHER : Yafray GI Quality. | |
INTERNAL : The internal rendering engine. | |
IRIS : Output format. | |
IRISZ : Output format. | |
JPEG : Output format. | |
LOW : Yafray GI Quality. | |
MEDIUM : Yafray GI Quality. | |
readonly dictionary | Modes : Constant dict used for with RenderData.mode bitfield attribute. |
NONE : Yafray GI Quality. | |
NTSC : Output format. | |
OPENEXR : Output format. | |
PAL : Output format. | |
PAL169 : Output format. | |
PC : Output format. | |
PNG : Output format. | |
PREVIEW : Output format. | |
QUICKTIME : Output format. | |
RAWTGA : Output format. | |
readonly dictionary | SceModes : Constant dict used for with RenderData.sceneMode bitfield
attribute. |
SKYDOME : Yafray GI Quality. | |
TARGA : Output format. | |
TIFF : Output format. | |
YAFRAY : Yafray rendering engine. |
Function Details |
---|
CloseRenderWindow()Closes the rendering window. |
EnableDispView()Render in the 3d View area. Note this method is deprecated; use the l{displayMode} attribute instead. |
EnableDispWin()Render in Render window. Note this method is deprecated; use the l{displayMode} attribute instead. |
EnableEdgeAll()Globally consider transparent faces for edge-rendering with the unified renderer. |
EnableEdgeShift()Globally with the unified renderer enabled the outlines of the render are shifted a bit. |
SetRenderWinPos(locationList)Set the position of the Render window on the screen. Possible values are:
|
Variable Details |
---|
AVICODECOutput format. Use with renderdata.imageType / setImageType() |
AVIJPEGOutput format. Use with renderdata.imageType / setImageType() |
AVIRAWOutput format. Use with renderdata.imageType / setImageType() |
B_PR_FULLOutput format. Use with renderdata.sizePreset() |
BESTYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
BMPOutput format. Use with renderdata.imageType / setImageType() |
CINEONOutput format. Use with renderdata.imageType / setImageType() |
DEFAULTOutput format. Use with renderdata.sizePreset() |
DPXOutput format. Use with renderdata.imageType / setImageType() |
FFMPEGOutput format. Use with renderdata.imageType / setImageType() |
FramingModesConstant dict used for withRenderData.gameFrame attribute. One of the
following modes can be active:
|
FTYPEOutput format. Use with renderdata.imageType / setImageType() |
GIFULLYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
HAMXOutput format. Use with renderdata.imageType / setImageType() |
HDROutput format. Use with renderdata.imageType / setImageType() |
HIGHYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
HIGHERYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
INTERNALThe internal rendering engine. Use with setRenderer() |
IRISOutput format. Use with renderdata.imageType / setImageType() |
IRISZOutput format. Use with renderdata.imageType / setImageType() |
JPEGOutput format. Use with renderdata.imageType / setImageType() |
LOWYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
MEDIUMYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
ModesConstant dict used for withRenderData.mode bitfield attribute. Values
can be ORed together. Individual bits can also be set/cleared with
boolean attributes.
|
NONEYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
NTSCOutput format. Use with renderdata.sizePreset() |
OPENEXROutput format. Use with renderdata.imageType / setImageType() |
PALOutput format. Use with renderdata.sizePreset() |
PAL169Output format. Use with renderdata.sizePreset() |
PCOutput format. Use with renderdata.sizePreset() |
PNGOutput format. Use with renderdata.imageType / setImageType() |
PREVIEWOutput format. Use with renderdata.sizePreset() |
QUICKTIMEOutput format. Use with renderdata.imageType / setImageType() |
RAWTGAOutput format. Use with renderdata.imageType / setImageType() |
SceModesConstant dict used for withRenderData.sceneMode bitfield attribute.
Values can be ORed together. Individual bits can also be set/cleared with
boolean attributes.
|
SKYDOMEYafray GI Quality. Use with renderdata.setYafrayGIQuality() |
TARGAOutput format. Use with renderdata.imageType / setImageType() |
TIFFOutput format. Use with renderdata.imageType / setImageType() |
YAFRAYYafray rendering engine. Use with setRenderer() |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:19 2007 | http://epydoc.sf.net |