_setParam(self,
scn,
context,
partindex,
nparts)
| source code
|
Initializes scene and context for rendering a given part.
Also saves the altered parameters of scene and context for later
restoration by _resetParam(). See NetworkRender.StillRenderThread for typical use.
- Parameters:
scn (Blender.Scene) - the current scene
context (Scene.Renderdata) - the current render context
partindex (int) - the number of parts in either direction
nparts (int.) - the number of parts in either direction
Requires:
-
nparts = 2,3,4,5, ....
-
partindex = [0, nparts^2 >
|