Skip to content

AltaArts/BlenderRender--Prism-Render-State

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 

Repository files navigation

BlenderRender state plugin for Prism Pipeline 2

A plugin to be used with version 2 of Prism Pipeline

Prism automates and simplifies the workflow of animation and VFX projects.

You can find more information on the website:

https://prism-pipeline.com/

Overview

BlenderRender adds a new state to the StateManager. This state adds additional functionality to Prism's Blender rendering compared to the more generic default ImageRender. BlenderRender will only be available in the StateManager of Blender and will not affect other DCC's. The options selected in the state will not affect the scenefile itself and this plugin will not over-write any existing Prism files, but will patch Prism Blender functions at runtime.

Tooltips are included for all functions.

Plugin Usage

RenderOptions

Many options are automatically toggled and filled based on the selected options. For example to enable the passes options, the output type EXRmulti should be selected.

AOV auto naming also uses the user-selected options. For example the logic is:

EXR, PNG:               RGB
EXR, PNG with alpha:    RGBA
EXRmulti:               RGB-Data
EXRmulti with alpha:    RGBA-Data

JPG:                    beauty

Or any custom AOV names may be utilized by using the Custom checkbox.

Notes:

  • When BlenderRender is enabled, the default ImageRender state will not be available in Blender's StateManager. All other DCC's will have the normal ImageRender behaviour. See below to temporarily disable BlenderRender or remove if needed.

  • When submitting to a render farm, the Prism option "Submit scenefiles together with jobs" must be checked in order for the farm to use the temporary scenefile.

Deadline_option

Features

Blender view layers supported. An override checkbox allows for single layers to be rendered, or if unchecked all layers will be used as normal.

Layers

FG_element-smallBG_element-smallEnv_layer-smallShadow_layer-small



Passes per layer: When adding passes, if the Render Layer override is not checked selected passes will be added/removed to all view layers in the .blend. But if the override is enabled, passes will be added to the selected layer. This allows specific passes to be selected for each layer.

Red_passes Green_passes



Resolution scaling: allows quick changing the render's output resolution. For example when a tracked scene has a non-standard "overscan" resolution, this allows to quickly render a 50% test. The standard resolution override can be used to select a preset.

Scaling



Expanded options for output file types and codecs.

Codecs



Color Space override: adds the ability to choose the render output colorspace for saved images. This option is available for .exr output. When a new BlenderRender state is made, it will default to the .blend's settings under "Output Properties" (either "Follow Scene" or "Override"). This will use the OCIO config that is being used in the current Blender enviroment. By default, Blender has its own OCIO config, but an "external" OCIO may be utilized via normal methods. If rendering with separate machines (render farm), ensure the same OCIO config is loaded on each machine, just as in any other DCC.

Colorspace - inactive Colorspace - dropdown



  • Compositor: option to use or bypass Blenders compositor.
  • Persistent Data: option to enable Blenders Persistent Data to speed up render scene load times.
  • Alpha channel: option to render an Alpha channel or not. This helps reduce un-needed file sizes.


Installation

This plugin is for Windows only, as Prism2 only supports Windows at this time.

You can either download the latest stable release version from: Latest Release

or download the current code zip file from the green "Code" button above or on Github

Copy the directory named "BlenderRender" to a directory of your choice, or a Prism2 plugin directory.

Prism's default plugin directories are: {installation path}\Plugins\Apps and {installation Path}\Plugins\Custom.

It is suggested to have all custom plugins in a seperate folder suchs as: {drive}\ProgramData\Prism2\plugins\CustomPlugins

You can add the additional plugin search paths in Prism2 settings. Go to Settings->Plugins and click the gear icon. This opens a dialogue and you may add additional search paths at the bottom.

Once added, you can either restart Prism2 (prefered) or select the "Add existing plugin" (plus icon) and navigate to where you saved the BlenderRender folder and then click the "Reload all plugins" button.

Settings_Plugin_Menubar

Disabling

If a user wants to disable BlenderRender, goto Settings->plugins and uncheck BlenderRender. Then either restart Prism2 or click the "Reload all plugins" to reload the Blender plugin.

Issues / Suggestions

For any bug reports or suggestions, please add to the GitHub repo. Known issues are listed in GitHub's project and issues tabs.