輸出本參數說明的命令:blender --helppython
Blender 2.73 (sub 5)
Usage: blender [args ...] [file] [args ...]
windows
Render Options:
-b or --background ,在後臺運行,一般用於無界面渲染。
Run in background (often used for UI-less rendering)
-a or --render-anim ,渲染動畫的所有幀。
Render frames from start to end (inclusive)
-S or --scene <name>,設置渲染的當前活動場景。
Set the active scene <name> for rendering
-f or --render-frame <frame>,渲染一幀並保存。
Render frame <frame> and save it.
+<frame> start frame relative, -<frame> end frame relative.
-s or --frame-start <frame>,指定將渲染動畫的開始幀。
Set start to frame <frame> (use before the -a argument)
-e or --frame-end <frame>,指定將渲染動畫的結束幀。
Set end to frame <frame> (use before the -a argument)
-j or --frame-jump <frames>,指定每一幀渲染後的步進的幀數。
Set number of frames to step forward after each rendered frame
-o or --render-output <path>,渲染路徑和文件名。
Set the render path and file name.
Use // at the start of the path to
render relative to the blend file.
The # characters are replaced by the frame number, and used to define zero padding.
ani_##_test.png becomes ani_01_test.png
test-######.png becomes test-000001.png
When the filename does not contain #, The suffix #### is added to the filename
The frame number will be added at the end of the filename.
eg: blender -b foobar.blend -o //render_ -F PNG -x 1 -a
//render_ becomes //render_####, writing frames as //render_0001.png//
-E or --engine <engine>,指定渲染引擎,-E列出可用的渲染引擎。
Specify the render engine
use -E help to list available engines
-t or --threads <threads>,指定渲染的線程數。
Use amount of <threads> for rendering and other operations
[1-64], 0 for systems processor count.
app
Format Options:
-F or --render-format <format>,渲染輸出文件的格式。
Set the render format, Valid options are...,可用的選項包括:
TGA IRIS JPEG MOVIE IRIZ RAWTGA
AVIRAW AVIJPEG PNG BMP FRAMESERVER
(formats that can be compiled into blender, not available on all systems),可選的編譯支持:
HDR TIFF EXR MULTILAYER MPEG AVICODEC QUICKTIME CINEON DPX DDS
-x or --use-extension <bool>,渲染輸出文件的擴展名。
Set option to add the file extension to the end of the file
less
Animation Playback Options:
-a or --render-anim
Render frames from start to end (inclusive)
ide
Window Options:
-w or --window-border,窗口邊框。
Force opening with borders (default)
-W or --window-borderless,窗口無邊框。
Force opening without borders
-p or --window-geometry <sx> <sy> <w> <h>,窗口大小。
Open with lower left corner at <sx>, <sy> and width and height as <w>, <h>
-con or --start-console ,打開控制檯。
Start with the console window open (ignored if -b is set), (Windows only)
--no-native-pixels ,不使用原生分辨率(適合高分屏,如MacBook Retina)
Do not use native pixel size, for high resolution displays (MacBook 'Retina')
動畫
Game Engine Specific Options:
-g Game Engine specific options
-g fixedtime Run on 50 hertz without dropping frames
-g vertexarrays Use Vertex Arrays for rendering (usually faster)
-g nomipmap No Texture Mipmapping
-g linearmipmap Linear Texture Mipmapping instead of Nearest (default)
this
Python Options:
-y or --enable-autoexec ,啓用自動執行。
Enable automatic python script execution
-Y or --disable-autoexec ,關閉自動執行。
Disable automatic python script execution (pydrivers & startup scripts), (compiled as non-standard default)
-P or --python <filename>,運行指定的腳本文件。
Run the given Python script file
--python-text <name>,運行指定的文本塊。
Run the given Python script text block
--python-console ,啓動交互控制檯。
Run blender with an interactive console
--addons ,加載「,」分隔的插件項。
Comma separated list of addons (no spaces)
spa
Debug Options:
-d or --debug ,啓用調試。
Turn debugging on
* Prints every operator call and their arguments
* Disables mouse grab (to interact with a debugger in some cases)
* Keeps python sys.stdin rather than setting it to None
--debug-value <value>,調試的debug的值。
Set debug value of <value> on startup
--debug-events ,啓用事件系統的調試消息。
Enable debug messages for the event system
--debug-handlers ,啓用事件處理的調試消息。
Enable debug messages for event handling
--debug-libmv ,啓用libmv的調試消息。
Enable debug messages from libmv library
--debug-cycles ,啓用Cycles的調試消息。
Enable debug messages from Cycles
--debug-memory ,啓用內存的分配和調試。
Enable fully guarded memory allocation and debugging
--debug-jobs ,啓用後臺任務的時間分析。
Enable time profiling for background jobs.
--debug-python ,啓用Python的調試消息。
Enable debug messages for python
--debug-depsgraph ,啓用依賴樹的調試消息。
Enable debug messages from dependency graph
--debug-wm ,啓用窗口管理器的調試消息。
Enable debug messages for the window manager
--debug-all ,啓用全部調試消息(除libmv外)。
Enable all debug messages (excludes libmv)
--debug-fpe ,啓用浮點例外。
Enable floating point exceptions
--disable-crash-handler ,禁用崩潰處理器。
Disable the crash handler
插件
Misc Options:
--factory-startup ,跳過startup.blend的讀取。
Skip reading the "startup.blend" in the users home directory
--env-system-datafiles ,設置BLENDER_SYSTEM_DATAFILES環境變量。
Set the BLENDER_SYSTEM_DATAFILES environment variable
--env-system-scripts,設置BLENDER_SYSTEM_SCRIPTS環境變量。
Set the BLENDER_SYSTEM_SCRIPTS environment variable
--env-system-python,設置BLENDER_SYSTEM_PYTHON環境變量。
Set the BLENDER_SYSTEM_PYTHON environment variable
-nojoystick,禁用遊戲杆的支持。
Disable joystick support
-noglsl,禁用GLSL渲染支持。
Disable GLSL shading
-noaudio,禁用聲音系統。
Force sound system to None
-setaudio,設置聲音系統到指定設備。
Force sound system to a specific device
NULL SDL OPENAL JACK
-h or --help,打印幫助信息,而後退出。
Print this help text and exit
-v or --version,打印版本信息,而後退出。
Print Blender version and exit
-- ,結束選項的處理。
Ends option processing, following arguments passed unchanged. Access via python's sys.argv
線程
Other Options:
/? ,打印幫助信息,而後退出(只在Windows有效)。
Print this help text and exit (windows only)
-a <options> <file(s)>
Playback <file(s)>, only operates this way when not running in background.
-p <sx> <sy> Open with lower left corner at <sx>, <sy>
-m Read from disk (Don't buffer)
-f <fps> <fps-base> Specify FPS to start with
-j <frame> Set frame step to <frame>
-s <frame> Play from <frame>
-e <frame> Play until <frame>
--debug-freestyle,啓用Freestyle渲染的調試分析。
Enable debug/profiling messages from Freestyle rendering
--verbose <verbose>,設定日誌信息的級別。
Set logging verbosity level.
-R,註冊.blend擴展名(Windows系統有效)
Register .blend extension, then exit (Windows only)
-r,註冊.blend擴展名(Windows系統有效)
Silently register .blend extension, then exit (Windows only)
Argument Parsing: 參數的解析。
arguments must be separated by white space. eg
"blender -ba test.blend"
...will ignore the 'a'
"blender -b test.blend -f8"
...will ignore 8 because there is no space between the -f and the frame value
Argument Order: 參數的順序。
arguments are executed in the order they are given. eg
"blender --background test.blend --render-frame 1 --render-output /tmp"
...will not render to /tmp because '--render-frame 1' renders before the output path is set
"blender --background --render-output /tmp test.blend --render-frame 1"
...will not render to /tmp because loading the blend file overwrites the render output that was set
"blender --background test.blend --render-output /tmp --render-frame 1" works as expected.
Environment Variables: $BLENDER_USER_CONFIG 用戶配置文件目錄,Directory for user configuration files. $BLENDER_USER_SCRIPTS 用戶腳本目錄,Directory for user scripts. $BLENDER_SYSTEM_SCRIPTS 系統級腳本目錄,Directory for system wide scripts. $BLENDER_USER_DATAFILES 用戶數據文件目錄,Directory for user data files (icons, translations, ..). $BLENDER_SYSTEM_DATAFILES 系統級數據文件目錄,Directory for system wide data files. $BLENDER_SYSTEM_PYTHON 系統python庫目錄,Directory for system python libraries. $TMP or $TMPDIR 臨時文件存儲目錄,Store temporary files here. $PYTHONHOME Python的主目錄,Path to the python directory, eg. /usr/lib/python.