Giter Site home page Giter Site logo

pampanelson / blender_farm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scottishcyclops/blender_farm

0.0 1.0 0.0 456 KB

A fully fledged remote blender farm written in NodeJS

License: MIT License

Python 5.41% JavaScript 89.32% CSS 2.76% HTML 2.51%

blender_farm's Introduction

Blender Farm

A fully fledged remote blender farm written in NodeJS

This personnal project of mine is a server designed to be deployed on my home serveur. It runs multiple GPUs for 3D Rendering with Blender, and I need a way to automate rendering jobs from my workstation.

I will try my best to make it configurable so that anyone could technically deploy it on their own server. Please email me if you have questions. For suggestions, use the Github issues.

Installing the project

Quick procedure to install the project on any Unix system.

Recommanded OS: Any Ubuntu-based distrubution, 18.04 and above. You will need a graphical interface in order for Blender to accept rendering, even if the server then runs headless.

Install the latest Node and Yarn releases

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
bash  # reload terminal
nvm install --lts
curl -o- -L https://yarnpkg.com/install.sh | bash
bash  # reload terminal
node -v  # verify installation
yarn -v  # verify installation

Clone the project

Go in the parent folder where you want the project to live.

git clone https://github.com/ScottishCyclops/blender_farm
cd blender_farm
yarn  # install the dependencies

Configure it

Create the file config.json at the root of the project. In your favorite editor, write something similar to the following. Under blenderExec, write the actual path to your blender executable. The rest can be left as is.

{
  "certPath": "/ssl/blender.local.crt",
  "keyPath": "/ssl/blender.local.key",
  "port": 4434,
  "blenderExec": "/usr/sbin/blender"
}

Generate a self-signed certificate. Press Enter until the end, no need to input anything.

You will need the openssl command line utility (installed by default on most Linux platforms).

yarn genkeys

Start it

yarn start

Hope you have fun with it !

Scott

blender_farm's People

Contributors

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