Blender Git Loki

Git Commits -> Revision 90e5909

Revision 90e5909 by Campbell Barton (master)
March 19, 2006, 16:25 (GMT)
Added a way to set the renderpath (dir and name) from the command line.
eg
Blender -b c:blendstest.blend -o "c:rendersrender_#.png" -x 0 -F PNG

-x 1/0 for extension enable/disable
-F for format/filetype

This is important because somebody elses Blend files can render anywhere on your PC, possibly a security risk.
And nice for renderfarms to be able to set the path without running a python script inside the blend file.

blender --help (render opts only)
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 AVICODEC QUICKTIME BMP
HDR TIFF EXR MPEG FRAMESERVER CINEON DPX
Use // at the start of the path to
-x <bool> Set option to add the file extension to the end of the file.

Added details to the -v option
Eg
blender -v
Blender 2.41 Build
build date: 2006-03-20
build time: 16:16:34
build platform: linux-glibc2.3.6-i386
build type: dynamic

Also fixed bugs where nagative/realy big frames could be set- causing Blender to crash.

Commit Details:

Full Hash: 90e590936cf2918a6916747bbdc4d316850aa0dc
SVN Revision: 7097
Parent Commit: 54004b8
Lines Changed: +101, -11

1 Modified Path:

/source/creator/creator.c (+101, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021