This is a Blender renderer script for PLB, which serves as the server-side of the team's own render protocol.
Change the directory to the repository root, i.e., the PLBRenderer folder. At one terminal, run:
blender -b -P server.pyThis will start the Blender as a server and waits connections from client.
In another terminal, at the same directory, run:
python test_client.pyOnce both the python and the blender processes exits, there will be a newly created file, named as "test_XX.blend". This is a Blender file. Open it using Blender and you can view the animation or edit the scene. There will be rotation prism with a randomly generated sheet.
Start the server first using:
blender -b -P server.pyThen start the PlasticineLab engine, which will work as the client. When the engine is finished, the server will save the file as "<exp_name>.blend" and quit.
