ExportRenderArchiveFrameSet

Introduced

v6.0

Categories

render

Description

Exports a set of frames from the specified passes, or the current pass if none specified. The render archive can subsequently then be used by a standalone version of the rendering engine that exported it.

Scripting Syntax

ExportRenderArchiveFrameSet( [Passes], FrameSet, [Verbose] );

Parameters

Parameter Type Description
Passes String Passes to export

Default Value: Current pass

FrameSet Number Set of frames to export. For example "1-50,75-100".
Verbose siRenderVerbosity Force progress report output on or off, or use values from the renderer's options

Default Value: siRenderVerbosityDefault

Examples

VBScript Example

'
'       This example creates a cone with some animation on it and then
'       uses the default pass to render out every other frame.
'
' Create a new scene with only 6 frames 
NewScene , false
SetValue "PlayControl.Out", 6
' 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", 6
SetValue "PlayControl.Current", 6
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", _
        6
' Render frames 2, 4 and 7 to 9 from the default pass 
RenderPassesFrameSet "Passes.Default_Pass", "2,4,7-9"

See Also

ExportRenderArchiveFrameSet ExportRenderArchiveAllPasses CreatePass GetCurrentPass SetCurrentPass DeleteCurrentPass