script generator functions: single image / animation rendering
|Assignee:||Redmine Admin||% Done:|
DrQueue's script generator functions should provide a way to decide if one want to render single images in a distributed way or if one want to render animations, which is the only (without changing .sg files) way now.
For the upcoming webinterface i needed to distinguish between both rendering methods and had to change libdrqueue/mentalraysg.* and libdrqueue/blendersg.* .
The struct blendersgi had an unused integer 'blender' which I use to decide which .sg file to select. The struct mentalraysgi had no such member, so I added an integer 'mentalray'.
I've only done that for Blender and Mentalray yet. If all renderers shall have support for both rendering methods then a better variable name should be selected ('render_method' for example and not simply the name of the renderer).
My proof of concept code can be found at: