Feature #35

script generator functions: single image / animation rendering

Added by Andreas Schröder over 10 years ago. Updated almost 10 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:Redmine Admin% Done:

0%

Category:all
Target version:0.64.4

Description

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:

https://ssl.drqueue.org/project/browser/branches/developers/kaazoo/0.64.x/libdrqueue/blendersg.h
https://ssl.drqueue.org/project/browser/branches/developers/kaazoo/0.64.x/libdrqueue/blendersg.c

https://ssl.drqueue.org/project/browser/branches/developers/kaazoo/0.64.x/libdrqueue/mentalraysg.h
https://ssl.drqueue.org/project/browser/branches/developers/kaazoo/0.64.x/libdrqueue/mentalraysg.c

History

#1 Updated by Redmine Admin over 10 years ago

  • Status changed from New to In progress

Awesome. Your patch has been pushed to 0.64.x

#2 Updated by Andreas Schröder almost 10 years ago

  • Status changed from In progress to Fixed
  • Resolution set to fixed

Support for single image rendering (for Blender and MentalRay) is now in trunk.

Also available in: Atom PDF