[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] rendered image output problem



Hey

You just have to make sure that the rendered images are created in the same
directory as your blend file.  If they are created in a sub directory your out
of luck unless you want to write a batch file to zip up the contents when its
done.

*Blender instructions for 2.4 or greater*

I'm going to assume you have a .blend file that is an animation.

Open up the blend file in blender.  Go to the render settings tab.  The far left
side at the bottom has 3 spots for paths.  You just need to change the top one
to //    After you do that save the blend file and double check the path by
rendering it out.  Go to Render > Render Animation > let it finish.  You should
have 0000, 0001, 0002 files in the same folder as your blend file.  You are now
ready to run it through condor.

The directory that you use to submit the .sub file will be the location for the
files to be dumped.



Here is an example submit file for the attached map.blend.

The Systems i use are setup with a default install of blender no special pathing
done.  Condor machines are all forced into single cpu mode (they are all
hyperthreaded) because i'm using the internal blender "threaded" setting.



#
# Part 1
#
universe = vanilla
# update the path as required -
environment = path=C:\Program Files\Blender
Foundation\Blender;c:\windows;c:\windows\system32
should_transfer_files = Yes
transfer_files = always
when_to_transfer_output = on_exit
transfer_executable = False 
transfer_input_files = map.blend
Executable      = C:\Program Files\Blender Foundation\Blender\blender.exe
Log            = log.txt
Output        = out.txt
Error           = err.txt
Arguments       = -b map.blend -s 0 -e 9 -a
Queue

#
# Part 2
#
universe = vanilla
# update the path as required -
#environment = path=C:\Program Files\Blender
Foundation\Blender;c:\windows;c:\windows\system32
should_transfer_files = Yes
transfer_files = always
when_to_transfer_output = on_exit
transfer_executable = False 
transfer_input_files = map.blend
Executable      = C:\Program Files\Blender Foundation\Blender\blender.exe
Log            = log.txt
Output        = out.txt
Error           = err.txt
Arguments       = -b map.blend -s 10 -e 19 -a
Queue



This submit file really has 25 parts to it, i only pasted 2 so you can get an
idea.

Each of the other parts just changes the "Arguments       = -b map.blend -s 10
-e 19 -a" line till it hits 250 frames.

If anyone has a premade batch file that will out multipart .sub files i would
love to see it before i start making one :P

Attachment: map.zip
Description: Binary data