Hey,
I’ve been trying to figure out how to get faster renders by using blender via command line but I’m having a lot of problems.
It’s most likely something really basic; can anyone tell me what I’m doing wrong? Here’s the command line:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Owner>cd C:\Program Files\Blender Foundation\Blender
C:\Program Files\Blender Foundation\Blender>blender h-
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Blender quit
C:\Program Files\Blender Foundation\Blender> h-
‘h-’ is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Blender Foundation\Blender>blender -h
Blender 2.44 (sub 0) Build
Usage: blender [options …] [file]
Render options:
-b <file> Render <file> in background
-S <name> Set scene <name>
-f <frame> Render frame <frame> and save it
-s <frame> Set start to frame <frame> (use with -a)
-e <frame> Set end to frame (use with -a)<frame>
-o <path> Set the render path and file name.
Use // at the start of the path to
render relative to the blend file.
Use # in the filename to be replaced with the frame number
eg: blender -b foobar.blend -o //render_# -F PNG -x 1
-F <format> Set the render format, Valid options are…
TGA IRIS HAMX FTYPE JPEG MOVIE IRIZ RAWTGA
AVIRAW AVIJPEG PNG BMP FRAMESERVER
(formats that can be compiled into blender, not available on all systems)
HDR TIFF EXR MPEG AVICODEC QUICKTIME CINEON DPX
-x <bool> Set option to add the file extension to the end of the file.
-t <threads> Use amount of <threads> for rendering
Animation options:
-a <file(s)> Playback <file(s)>
-p <sx> <sy> Open with lower left corner at <sx>, <sy>
-m Read from disk (Don’t buffer)
Window options:
-w Force opening with borders (default)
-W Force opening without borders
-p <sx> <sy> <w> <h> Open with lower left corner at <sx>, <sy>
and width and height <w>, <h>
Game Engine specific options:
-g fixedtime Run on 50 hertz without dropping frames
-g vertexarrays Use Vertex Arrays for rendering (usually faster)
-g noaudio No audio in Game Engine
-g nomipmap No Texture Mipmapping
-g linearmipmap Linear Texture Mipmapping instead of Nearest (default)
Misc options:
-d Turn debugging on
-noaudio Disable audio on systems that support audio
-h Print this help text
-y Disable script links, use -Y to find out why its -y
-P <filename> Run the given Python script (filename or Blender Text)
-R Register .blend extension
-v Print Blender version and exit
C:\Program Files\Blender Foundation\Blender>blender -b BNN.blend -f 1
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Loading BNN.blend failed: Unable to open
ERROR: No camera
Blender quit
C:\Program Files\Blender Foundation\Blender>blender -b BNN.blend -f 1
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Loading BNN.blend failed: Unable to open
ERROR: No camera
Blender quit
C:\Program Files\Blender Foundation\Blender>blender -b test blend with command p
rompt.blend -f 1
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Loading test failed: Unable to open
Loading blend failed: Unable to open
Loading with failed: Unable to open
Loading command failed: Unable to open
Loading prompt.blend failed: Unable to open
ERROR: No camera
Blender quit
C:\Program Files\Blender Foundation\Blender>blender -b gingerbread man.blend -f
1
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Loading gingerbread failed: Unable to open
Loading man.blend failed: Unable to open
ERROR: No camera
Blender quit
C:\Program Files\Blender Foundation\Blender>blender -b wheel.blend -f 1
Compiled with Python version 2.5.
‘import site’ failed; use -v for traceback
Warning: could not determine argv[0] path
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Loading wheel.blend failed: Unable to open
ERROR: No camera
Blender quit
C:\Program Files\Blender Foundation\Blender>