Giter Club home page Giter Club logo

blender-network-render-additions's Introduction

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 #####


blender-network-render-additions's People

Contributors

haakonnessjoen avatar kroko avatar tylerecouture avatar

Watchers

 avatar  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.