Skip to content
Added functionality for Blender Network Render
Python JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
netrender
readme add Master - Slave timeout functionality Sep 12, 2015
.gitignore initial commit. add gitignore. Sep 12, 2015
readme.md

readme.md

Blender Network Render Additions


About

The intention of this fork is to add functionality to Blender Network Render.

The intention is not to replace renderfarms with jobs systems and such, rather it is designed to interactively render a single image over a network with immediate feedback in Blender. This requires a quite different design than render farms, although in certain simple cases it could serve as a replacement.

Network Renderer (packed together with stable releases) by Martin Poirier https://wiki.blender.org/index.php/Dev:Source/Render/Cycles/Network_Render

Fork of this addon is pulled out from addon state in Blender 2.75a stable


Fork additions

Slave panel

Slave overrides - Compute device and Tiles size

It is Slave who should define the preferred rendering device as each Slave has different hardware capabilities (GPU/CPU). This makes rendering effective in terms of speed, but does not affect rendering result in terms of image (scene can be rendered mixing GPU and CPU capable Slaves).

Slave can (should) override

  • Enable/disable compute device override on Slave (Cycles Render)

    • Specify compute device (Cycles Render)
  • Enable/disable tile size override on Slave (Cycles Render, Blender Internal Render)

    • Specify tile order (Cycles Render)
    • Specify tile size X (Cycles Render, Blender Internal Render)
    • Specify tile size Y (Cycles Render, Blender Internal Render)

The tile size override is present, as tile sizes should correspond to compute device type. Basically, always when Slave overrides compute device (thus renderer is Cycles) also size for tiles should be overridden. Rule of thumb - GPU 256x256, CPU 16x16. Read more here and any other article that discusses speeding up cycles.

Before this addition Slave rendered the file with settings as they are set on Client. Client that doesn't have GPU capabilities can't specify that Slaves should render on GPU as there is no device dropdown (i.e., jobs sent from Mac with ATI card rendered on GPU-ready Slaves using CPU). And then there is issue with Client that had GPU capabilities (and file is set accordingly) working together with Slave that has only CPU support. Corresponding ticket https://developer.blender.org/T46071

Master - Slave timeout

Master can specify timeout (in minutes) after which master considers Slave dead if a frame from Slave hasn't been received. N.B., this is timeout for frame, not for the whole animation time.

Previously this was hardcoded and Master considered any Slave executing job (frame on Slave) more than 5 minutes as dead, cancelled the job, resulting in socket timeout on Slave and finally crashing exception. Thus it was not possible to create über high quality final renderings not to mention "render me one image for the the whole weekend" tasks.

Client - Retrieve with post-processing

The client can choose to retrieve composited results with post-processing included.

Previously, post processing was completed and saved to the .exr, but by default frames retrieved by the client did not include the post-processing and there was no option to do this.


Install

Replace directory netrender in your Blender addons directory with netrender directory found in this repo. Restart Blender.

GNU/Linux

<Blender Installation Directory>/<Blender version number>/scripts/addons

OSX

<Blender Installation Directory>/Blender.app/Contents/Resources/<Blender version number>/scripts/addons

MSW

<Blender Installation Directory>\<Blender version number>\scripts\addons


Status

Done
  • Rendering (stills and animation) implemented and tested (Render on slave) on all OSes.
Todo
  • Overrides for baking shouldn't work as no line of code is written for it yet.
  • Overrides for thumbnail generation shouldn't work as no line of code is written for it yet.

License

Original author Martin Poirier

Contrubutions by kroko / Reinis Adovics (WARP)

# ##### BEGIN GPL LICENSE BLOCK #####
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either version 2
#  of the License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software Foundation,
#  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####


You can’t perform that action at this time.