Hello,
we are using the V-Ray AppSDK (Python, v7) to drive a render queue. One feature we need is priority rendering: the user specifies frames in a custom order, e.g. 5, 4, 1, so that a specific frame renders first.
We noticed that renderSequence([5, 4, 1]) always renders in ascending order (1, 4, 5), regardless of the list order passed. This behavior is not mentioned in the documentation.
We ended up with the following approach, which works correctly:
for fn in [5, 4, 1]:
so = renderer.classes.SettingsOutput.getInstanceOrCreat e()
so.frame_start = fn
so.anim_start = fn
so.anim_end = fn
so.frames = [[fn, fn]]
renderer.frame = fn
renderer.start()
renderer.waitForRenderEnd()
save_image(fn)
Two questions:
- Is it by design that renderSequence() sorts frames ascending internally? It would be helpful if this were documented.
- Is renderer.start() in a manual loop a supported and stable approach for rendering frames in a custom order — particularly with DR2 active? Are there known caveats regarding GI caching, geometry caching, or VFB state between frames?
Thank you!
Kind regards
algato