RenderPass¶
-
class
guerilla.RenderPass¶ Bases:
guerilla.ShaderThe basic render pass to render an image
A RenderPass is a Document node which allows renders of the scene from a given camera.
-
BackupProjectFileName¶ The backup Guerilla project to be saved when generating RIB files
Type: types.string
-
ExMattes¶ The connection to the excluded (to matte) SceneGraphNodes
Type: None
-
ExVisibles¶ The connection to the excluded (to visible) SceneGraphNodes
Type: None
-
LayerMode¶ The mode of the RenderPass, “Normal”, “BakeST”, “CubeMap”, “Bake3d”, “BakeSSS”, “PointBasedGathering”
Type: types.enum
-
Mattes¶ The connection to the matted SceneGraphNodes
Type: None
-
MovieCodec¶ The codec type for the movie
Type: types.enum
-
MovieCreate¶ Should the RenderPass render a movie after a sequence
Type: types.bool
-
MovieFrameRate¶ The movie frame rate, in frames per seconds
Type: types.int
-
MovieQuality¶ The movie quality, 100 for maximum quality
Type: types.int
-
RenderPassCamera¶ The connection to the rendering camera
Type: None
-
Visibles¶ The connection to the visible SceneGraphNodes
Type: None
-
getlayerlinking()¶ Get a list of the directly connected primitives.
Example :LUA{ local layerlinking = MyLayer:getlayerlinking () – show layer connections for primitive, state in pairs (layerlinking) do
print (MyLayer:getpath () .. ” –> ” .. primitive:getpath () .. ” Visible:” .. (state.Visible and “yes” or “no”) .. ” Matte:” .. (state.Matte and “yes” or “no”))end }
return: the list of connections rtype: table
-
layerlink(layeroroutput, visible, matte, exvisible, exmatte)¶ Manage the layer connection between the layer and the layer/layer output, for both the Visible and the Matte connections. Note that a matted object must be also visible.
Parameters: - layeroroutput (
RenderPassorLayerOut) – the RenderPass or LayerOut to manage connection with - visible (bool) – Connects or disconnects the Visible connection
- matte (bool) – Connects or disconnects the Matte connection
- exvisible (bool) – Connects or disconnects the Exclude Visible connection
- exmatte (bool) – Connects or disconnects the Exclude Matte connection
- layeroroutput (
-