blender/source
Campbell Barton 90e590936c Added a way to set the renderpath (dir and name) from the command line.
eg
Blender  -b c:\blends\test.blend  -o "c:\renders\render_#.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.
2006-03-19 16:25:32 +00:00
..
blender Bugfix in environment mapping: Ztransp and Halo didn't show up. Bug is 2006-03-19 15:16:02 +00:00
creator Added a way to set the renderpath (dir and name) from the command line. 2006-03-19 16:25:32 +00:00
darwin Updated Mac OS X icons courtesy of Erik Mendoza, re. this thread on blender.org: 2006-02-13 21:08:43 +00:00
gameengine Some issues compiling on Irix: 2006-02-22 23:34:12 +00:00
icons ==SCons== 2006-03-10 22:50:27 +00:00
kernel ==SCons== 2006-02-07 21:24:36 +00:00
Makefile Forgot Cineon lib in Makefile :) 2006-03-12 19:48:51 +00:00
nan_compile.mk Some issues compiling on Irix: 2006-02-22 23:34:12 +00:00
nan_definitions.mk pthreads for Makefiles/cygwin (don't forget to update lib/windows). 2006-02-27 00:03:18 +00:00
nan_link.mk Using NAN_FFMPEG_CFLAGS to find the right headers, and making linking 2006-02-06 06:22:39 +00:00
nan_subdirs.mk Clean up for Makefiles: some of the directories were being printed 2005-04-09 22:40:34 +00:00
nan_warn.mk big warning hunt commit 2005-03-09 19:45:59 +00:00
SConscript ==SCons== 2006-03-10 20:47:34 +00:00