Implementing Distributed Rendering for Blender
Have Python 2.7 installedinstall Blender from command---> sudo apt install blender
pip install subprocess
sudo apt install sysstat
--change host ='' variable to the ip address of the server. (Ex host = '172.32.0.111')
--In client.py getCPUper() function might need to be changed for some systems because the system call returns the host name too which is different for each system. Set the variables a,b,c,e so that they correspond to last characters of d (excluding the spaces ). This part is a percentage of the format ab.ce% where a will be d[-i],b = d[-i-1],c = d[-i-3] , e = d[-i-4]. For my system i was 8, this may varry in other systems.
--run the server by command ---> python multiserver.py--run the clients by command ---> python client.py