jamesyonan / brenda

Blender render farm software for Amazon Web Services
Other
246 stars 67 forks source link

Subframe task not generated #9

Closed mig21bb closed 10 years ago

mig21bb commented 10 years ago

Hello,

I'm testing brenda in order to avoid render with my old PC. It worked fine rendering 1 frame for instance, as you explained at the tutorial, but at subframe rendering, the tasks are not generated. The subframe-template is fine, and the work queue script works, apparently, but there are 0 Queued task everytime.

Has you, or anybody, this issue? what am i doing wrong? I miss any script file?

My instructions:

$ brenda-work -T subframe-template -e 1 -X 4 -Y 4 -d push cat >subframe.py <<EOF import bpy bpy.context.scene.render.border_min_x = 0.0 bpy.context.scene.render.border_max_x = 0.25 bpy.context.scene.render.border_min_y = 0.0 bpy.context.scene.render.border_max_y = 0.25 bpy.context.scene.render.useborder = True EOF blender -b *.blend -P subframe.py -F PNG -o $OUTDIR/frame######_X-0.0-0.25-Y-0.0-0.25 -s 1 -e 1 -j 1 -t 0 -a cat >subframe.py <<EOF import bpy bpy.context.scene.render.border_min_x = 0.0 bpy.context.scene.render.border_max_x = 0.25 . . . and so on

$ brenda-work status Queued tasks: 0

Obviously, no .png is generated when i run the instances.

subframe-template file:

" cat >subframe.py <<EOF import bpy bpy.context.scene.render.border_min_x = $SF_MIN_X bpy.context.scene.render.border_max_x = $SF_MAX_X bpy.context.scene.render.border_min_y = $SF_MIN_Y bpy.context.scene.render.border_max_y = $SF_MAX_Y bpy.context.scene.render.useborder = True EOF blender -b *.blend -P subframe.py -F PNG -o $OUTDIR/frame######_X-$SF_MIN_X-$SF_MAX_X-Y-$SF_MIN_Y-$SF_MAX_Y -s $START -e $END -j $STEP -t 0 -a

"

Thank you in advance

mig21bb commented 10 years ago

Eh... Solved.

I just remove -d from - $ brenda-work -T subframe-template -e 1 -X 4 -Y 4 -d push - command and the tasks were generated and rendered.

What does the -d option? This may be edit in the tutorial.

mig21bb commented 10 years ago

From brenda-run file:

parser.add_option("-d", "--dry-run", action="store_true", dest="dry_run", help="show what would be done without actually doing it")

Next time i better read the parameters list and what they do.

Now it works great. Thanks to James for this.