Module Render
The Blender.Scene.Render submodule.
Scene.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.enableExtensions(1)
context.setRenderPath("C:/myRenderdir/")
context.sizePreset(Scene.PC)
context.setImageType(Render.AVIRAW)
context.startFrame(2)
context.endFrame(10)
context.renderAnim()
context.setImageType(Render.TARGA)
context.framesPerSec(15)
context.startFrame(15)
context.endFrame(22)
context.renderAnim()
Render.CloseRenderWindow()
print context.framesPerSec()
print context.currentFrame()
Classes |
RenderData |
This object gives access to Scene rendering contexts in Blender. |
Function Summary |
|
CloseRenderWindow ()
Closes the rendering window. |
|
EnableDispView ()
Render in the 3d View area. |
|
EnableDispWin ()
Render in Render window. |
|
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. |
CloseRenderWindow()
Closes the rendering window.
-
|
EnableDispView()
Render in the 3d View area.
-
|
EnableDispWin()
Render in Render window.
-
|
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:
-
S = south
-
N = north
-
W = west
-
E = east
-
C = center
-
ne = northeast
-
nw = northwest
-
se = southeast
-
sw = southwest
-
- Parameters:
locationList -
a list of strings that together define the location of the
Render window on the screen.
(type=PyList of strings)
|