Announcement

Collapse
No announcement yet.

Is there a way to auto save every single frame of a render sequence in the frame buffer history?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way to auto save every single frame of a render sequence in the frame buffer history?

    Pretty much the title. I need every frame of an animation sequence saved to the frame buffer history. Usually it only keep the last render of the sequence. Any tips?

  • #2
    The only way I can think of is a script like this:
    Code:
    fn saveHistoryPerFrame =
    (
    startFrame = 0
    endFrame = 5
    
    renderSceneDialog.close()
    rendTimeType=1
    
    for i = startFrame to endFrame do
    (
    slidertime = i
    max quick render
    vfbControl #historysave
    )
    )
    try(saveHistoryPerFrame())catch()


    EDIT: Why do you need this?
    Last edited by hermit.crab; 23-01-2025, 12:59 AM.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Thanks hermit.crab, I'll give that script a try.

      This would be helpful for a product builder/configurator I'm working on. I'm trying to streamline the post production process by cutting out Photoshop altogether and using the V-Ray Frame Buffer instead with the help of things like Cryptomatte and a script that selects specific parts per frame as a render mask. Saving out each frame in the VFB would help me dial in each color in the VFB without having IPR on, since each frame is a different part with a different color option. That would be especially helpful when doing live color edits with clients.

      Comment


      • #4
        To elaborate, the rendering of any form of sequence does not save the whole frame range to the history.
        Any single render, however, can be saved (automatically, in case).

        From the script above, take just the fact that you will need to manually initate a
        Code:
        render()
        for each individual frame.

        The quick render (i.e. f9 / max quick render) may or may not be what you want depending on the rest of your scene configuration.
        The render() method allows for a number of parameters (f.e. frame to render, output file, and so on.) to be specified directly without touching the scene config, which would otherwise need to be done if you used quick render (f.e. first set the path in the render dialog, then quick render. two steps.).

        From the history side, just set it up so that it auto-saves (completed only if that's your preference) and you'll be fine.
        Last edited by ^Lele^; 12-02-2025, 05:40 AM.
        Lele
        Trouble Stirrer in RnD @ Chaos
        ----------------------
        emanuele.lecchi@chaos.com

        Disclaimer:
        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

        Comment


        • #5
          Originally posted by ThomasMiller View Post
          Thanks hermit.crab, I'll give that script a try.

          This would be helpful for a product builder/configurator I'm working on. I'm trying to streamline the post production process by cutting out Photoshop altogether and using the V-Ray Frame Buffer instead with the help of things like Cryptomatte and a script that selects specific parts per frame as a render mask. Saving out each frame in the VFB would help me dial in each color in the VFB without having IPR on, since each frame is a different part with a different color option. That would be especially helpful when doing live color edits with clients.
          When I've done these configurators in the past, I've use something like After Effects to import the sequence, mask / cutout the right parts and export.

          The advantage here is you can automate a lot of the process, so when your renders update, you can just re-export from AE. Plus in AE you can easily make colour tweaks, grading, etc that are totally non-destructive. Very handy when you have 100+ variations and don't want to manually tweak everything time after time.
          Dean Punchard > Head of CGI at HUB

          Comment

          Working...
          X