Split a planSequenceRender manifest into chunkFrames-sized, independently renderable chunks and the plan to concatenate them.
Chunks are frame-atomic: chunk i holds the whole plan's frames [i * chunkFrames, (i + 1) * chunkFrames), the last one clipped to the total. A transition's blend is already baked into each frame's blend, so a transition that straddles a boundary is split between frames with each frame keeping its blend, and concatenating the chunks reproduces the whole render frame for frame. Running chunks in parallel or on a farm is a host concern. The plan holds every frame of the render; only capture and encoding are bounded per chunk.
When passes is given, every chunk also plans its per-pass frame paths through planGuidePassOutputs, with chunk-local indices, and the plan gains one IAutoMovieRenderPassManifest per pass. Omitting passes omits every pass field; an empty list plans empty pass sets; an unknown pass name throws before any chunk is built. Throws when chunkFrames is not a positive integer.
planProductionRenderJob partitions frames with the same arithmetic but a different contract, restarting its index per deliverable and admitting only safe integers, so the two do not share a helper.
Split a
planSequenceRendermanifest intochunkFrames-sized, independently renderable chunks and the plan to concatenate them.Chunks are frame-atomic: chunk
iholds the whole plan's frames[i * chunkFrames, (i + 1) * chunkFrames), the last one clipped to the total. A transition's blend is already baked into each frame'sblend, so a transition that straddles a boundary is split between frames with each frame keeping its blend, and concatenating the chunks reproduces the whole render frame for frame. Running chunks in parallel or on a farm is a host concern. The plan holds every frame of the render; only capture and encoding are bounded per chunk.When
passesis given, every chunk also plans its per-pass frame paths throughplanGuidePassOutputs, with chunk-local indices, and the plan gains one IAutoMovieRenderPassManifest per pass. Omittingpassesomits every pass field; an empty list plans empty pass sets; an unknown pass name throws before any chunk is built. Throws whenchunkFramesis not a positive integer.planProductionRenderJobpartitions frames with the same arithmetic but a different contract, restarting its index per deliverable and admitting only safe integers, so the two do not share a helper.