Coder Social home page Coder Social logo

stephensmitchell-forks / vf-blenderautosaverender Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeinselenvf/vf-blenderautosaverender

0.0 1.0 0.0 201 KB

Automatically saves a numbered or dated image after every render

License: GNU General Public License v3.0

Python 100.00%

vf-blenderautosaverender's Introduction

VF-BlenderAutoSaveRender

Automatically saves a numbered or dated image after every render. This Blender Addon is designed to make test renders easier to review, saving what would otherwise be lost when quitting the app. It's also good for showing render progression after a project is complete, a timelapse of sorts.

Installation and usage

  • Download the .py file
  • Open Blender preferences and navigate to the "Add-ons" tab
  • Install the addon
  • Enable the addon
  • Open up the Render Output settings to find the Auto Save Render sub-panel and enable it

screenshot of the Blender render output user interface with the addon installed

Settings

Autosave Location

  • Select a specific directory such as /project/renders/autosave/ to automatically save all renders to the same location
  • Leave a single forward slash / to generate a folder with the same name as the Blender file (a collection of Blender projects would each have matching folders alongside them)

File Name

  • Project Name + Serial Number
    • This uses the name of the Blender file and a generated serial number (it will detect any existing files in the autosave location and increment by one)
  • Project Name + Date & Time
    • This uses the name of the blender file and the local date and time (formatted YYYY-MM-DD HH-MM-SS using 24 hour time)

screenshot of the Blender render output user interface with the addon installed

  • Custom String
    • This uses pattern replacement to allow for entirely unique file naming patterns
    • These are the supported variables:
      • {project} = the name of the Blender file
      • {item} = active item (if no item is selected or active, this will return "None")
      • {camera} = render camera (independent of selection or active status)
      • {frame} = current frame padded to four digits
      • {renderengine} = internal name of the current rendering engine
      • {rendertime} = time spent rendering (this is calculated within the script and may not exactly match the render metadata since it's not included in the Python API)
      • {date} = current date in YYYY-MM-DD format
      • {time} = current time in HH-MM-SS format (using a 24 hour clock)
      • {serial} = automatically incremented serial number padded to 4 digits (this must go at the end of the string with no character afterward, otherwise the script cannot find the correct serial number in the file listing)
    • Warning: using a custom string may result in data loss by either overwriting or failing to save identical file names. For example, if the date and time variables are not included, or the serial number is not placed at the very end of the pattern.

File Format

  • Project Setting will use the same format as set in the Render Output panel
  • PNG
  • JPEG
  • OpenEXR MultiLayer

Notes

Auto Save Render depends on the Blender file having been saved at least once, otherwise there is no project name or directory to work from.

When rendering animations this addon will only automatically save the final frame to prevent unnecessary duplication (animations should already be saved automatically). It may still be useful to leave the plugin enabled, however, since that final frame will include the entire time spent rendering that animation (if you're using the custom string), meaning you could calculate the total time spent rendering a project simply from the files saved by this addon.

vf-blenderautosaverender's People

Contributors

jeinselenvf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.