RenderAllPasses

Description

Render all passes in the scene

A render pass creates a picture layer of a scene that can be composited with any other passes to create a complete image.

Scripting Syntax

    RenderAllPasses( [Passes] )

Parameters

Parameter | Type | Description
Passes | String | Passes to render Default Value: all passes

Examples

VBScript Example

    '
    '  This example creates a cone with some animation on it and then renders
    '  all passes frame by frame.
    '

    ' Create a new scene
    NewScene , false

    ' Add a cone with some animation
    Set oCone = CreatePrim( "Cone", "MeshSurface" )
    SaveKey oCone & ".kine.local.posx," _
       & oCone & ".kine.local.posy," _
       & oCone & ".kine.local.posz", _
       1
    SetValue "PlayControl.Key", 100
    SetValue "PlayControl.Current", 100
    Translate oCone, _
       6.94824213992454, _
       2.46082959410157, _
       -0.246082959410157, _
       siRelative, _
       siView, _
       siObj, _
       siXYZ
    SaveKey oCone & ".kine.local.posx," _
       & oCone & ".kine.local.posy," _
       & oCone & ".kine.local.posz", _
       5

    ' Render all passes frame by frame
    RenderAllPasses

See Also

RenderPasses | RenderPassesFrameSet | RenderSelectedPasses | GetCurrentPass
SetCurrentPass | DeleteCurrentPass |  |

Autodesk Softimage v7.5