2010-12-08 71 views
2

是否有詳盡的命令行列表切換爲3dsmax.exe。我對-server和-pipe開關特別感興趣,因爲我想重新路由一些3dsmax參數調用。3dsmax.exe命令行開關

基本上我有一個替身3dsmax.exe,它將所有信息重新傳遞到3dsmax.orig.exe包括參數,一切順利,但backburner/netrender不接受新的exe,我在想我沒有足夠好地傳遞這些參數。但是別的東西也可能是問題。

任何建議或解決方案是最受歡迎的!

+1

這裏:http://download.autodesk.com/us/3dsmax/2012help/index.html?url=files/GUID-8DD74086-FE75-4585-9BD3-ED22BEE4A39-2953.htm,topicNumber= d28e546553 – eodabash 2011-04-29 17:40:33

回答

0

難道你不必爲此使用3dsmaxcmd.exe嗎?

要查看示例命令行用的描述他們做什麼列表:

的3dsmaxcmd.exe文件還具有廣泛的描述很多,你會用命令的最常見的場景示例文本字符串列表在線渲染來完成。

1.

Open a command prompt window. 

2.

輸入以下內容:「C:\程序文件\的Autodesk \ 3dsmaxXXX \的3dsmaxcmd」 -x然後按回車鍵。

All control characters map to the Windows Regional settings standards. 
Date format control chars: 
    d  Day of month as digits with no leading zero for single-digit days. 
    dd  Day of month as digits with leading zero for single-digit days. 
    ddd  Day of week as a three-letter abbreviation. The function uses the 
      LOCALE_SABBREVDAYNAME value associated with the specified locale. 
    dddd Day of week as its full name. The function uses the LOCALE_SDAYNAME 

      value associated with the specified locale. 
    M  Month as digits with no leading zero for single-digit months. 
    MM  Month as digits with leading zero for single-digit months. 
    MMM  Month as a three-letter abbreviation. The function uses the 
      LOCALE_SABBREVMONTHNAME value associated with the specified locale. 
    MMMM Month as its full name. The function uses the LOCALE_SMONTHNAME 
      value associated with the specified locale. 
    y  Year as last two digits, but with no leading zero for years less 
      than 10. 
    yy  Year as last two digits, but with leading zero for years less 
      than 10. 
    yyyy Year represented by full four digits. 

Time format control chars: 
    h  Hours with no leading zero for single-digit hours; 12-hour clock. 
    hh  Hours with leading zero for single-digit hours; 12-hour clock. 
    H  Hours with no leading zero for single-digit hours; 24-hour clock. 
    HH  Hours with leading zero for single-digit hours; 24-hour clock. 
    m  Minutes with no leading zero for single-digit minutes. 
    mm  Minutes with leading zero for single-digit minutes. 
    s  Seconds with no leading zero for single-digit seconds. 
    ss  Seconds with leading zero for single-digit seconds. 
    t  One character time-marker string, such as A or P. 
    tt  Multicharacter time-marker string, such as AM or PM. 


          -BACKBURNER JOB SUBMISSION- 

you want to submit a job to backburner, you can optionally give a manager 
me, otherwise it will perform a default search for the manager. You can 
tionally specify the manager's port number and, for searches, a netmask. 
suming the manager's network name is mgr_machine: 

3dsmaxcmd scene.max -submit 
3dsmaxcmd scene.max -submit -netmask:255.255.0.0 
3dsmaxcmd scene.max -submit:mgr_machine 
3dsmaxcmd scene.max -submit:mgr_machine -port:1234 

you want to change the job name and submit it to the network queue 
initially suspended: 

3dsmaxcmd scene.max -submit -jobName:"My Job" -suspended 

default, a 32-bit 3dsmaxcmd.exe will submit jobs to 32-bit servers, and 
64-bit 3dsmaxcmd.exe will submit jobs to 64-bit servers. You can optionally 
bmit a job to a platform other than the default. To submit a job to 64-bit 
rvers from a 32-bit 3dsmaxcmd.exe: 

3dsmaxcmd scene.max -submit -platform:64 

bmit a strip render job to the network. Job uses 4 strips, and an overlap 
10 pixels between each strip: 

3dsmaxcmd scene.max -submit -split:4,10 

nder a single strip locally. Render strip number 2 of 4, using an overlap 
10 pixels between each strip: 

3dsmaxcmd scene.max -strip:4,10,2 

itch together a set of strips rendered locally. Stitch a frame rendered 
ing 4 strips and an overlap of 10 pixels between each strip: 

3dsmaxcmd scene.max -stitch:4,10 

default, timeout values for waiting for max to load, render, and unload 
e the same as those found in the Advanced settings of the Network Job 
signment dialog in max. To specify timeout values (minutes) when submitting 
job: 

3dsmaxcmd scene.max -submit -waitLoad:20 -waitRender:300 -waitUnload:10 

you want to generate a job description xml file so you can edit it: 
ny command line options specified will be included in the job file) 

3dsmaxcmd scene.max -writeJobFile 

ad a pre-existing job description file and render it: 

3dsmaxcmd scene.max -readJobFile:scene.xml 


A 
smaxcmd [options] scene_file 

           -BASIC OPTIONS- 

-?         - This help 
-x         - Show examples 
-v:<0-5>       - Verbose level, 0-5 
@<filename>       - Command line options in a file 
    OR -cmdFile:<filename> 

-preset:<filename>     - Render preset file 
    OR -rps:<filename> 
-sceneState:<scene-state-name>  - Load a scene state before rendering 
-batchRender      - Render all enabled batch renders 
-batchRender:<batch-render-name> - Render batch render named 
             batch-render-name 
-preRenderScript:<filename>   - Pre-render script file 
    OR -script:<filename> 
-postRenderScript:<filename>  - Post-render script file 
-workPath:<pathname>    - Work path 
             Root location for job data folders 
-pathFile:<filename>    - A path configuration file (.mxp) 
-workingFolder:<filename>   - A path to a directory to be used as th 

             Working Folder for the application 
             session 
-split:<strips,overlap>    - Split render; 
             strip count and overlap 
-strip:<strips,overlap,strip>  - Single strip, rendered locally; 
             strip count, overlap, and strip number 
-stitch:<strips,overlap>   - Stitch strips rendered locally; 
             strip count and overlap 
-dateFormat:<dateformat>   - Specify a date format to be used 
             in message timestamp 
             defaults to locale-dependent format 
-timeFormat:<timeFormat>   - Specify a time format to be used 
             in message timestamp 
             defaults to locale-dependent format 
             and 24-hour clock 


          -RENDER PARAMETERS- 

-outputName:<filename>    - Render output filename 
    OR -o:<filename> 
-camera:<string>     - Render camera 
    OR -cam:<string> 
-width:<integer>     - Output width 
    OR -w:<integer> 
-height:<integer>     - Output height 
    OR -h:<integer> 
-pixelAspect:<number>    - Pixel aspect ratio 
-start:<integer>     - Sequence start frame 
-end:<integer>      - Sequence end frame 
-nthFrame:<integer>     - Every nth frame value 
-frames:<string>     - Frames list (1,3,5-12), or "all" 
-stillFrame       - Indicates that this is a still frame 
    OR -sf       render; no frame suffix will be added 
             to output filename 
-imageSequenceFile:<0/1/2>   - Image sequence file creation, 
             0=none, 1=.imsq, 2=.ifl 
-gammaCorrection:<1/0>    - Toggle gamma correction 
-gammaValueIn:<number>    - Input gamma value 
-gammaValueOut:<number>    - Output gamma value 
-continueOnError     - If an error is encountered, an attempt 
             to continue is made 
-videopostJob:<1/0>     - Apply Videopost to the scene 

           -RENDER FLAGS- 

-showRFW:<0/1>      - Show/hide Render Frame Window 
    OR -rfw:<0/1>      during render 
-skipRenderedFrames:<1/0>   - Toggle skip existing images 
-videoColorCheck:<1/0>    - Toggle video Color Check 
-force2Sided:<1/0>     - Toggle force 2 sided 
-renderHidden:<1/0>     - Toggle render hidden 
-atmospherics:<1/0>     - Toggle atmospherics 
-superBlack:<1/0>     - Toggle super black 
-renderFields:<1/0>     - Toggle render to fields 
-fieldOrder:<even/odd>    - Field order 
-displacements:<1/0>    - Toggle displacement mapping 
-effects:<1/0>      - Toggle render effects 
-useAreaLights:<1/0>    - Toggle area lights/shadows 
-useAdvLight:<1/0>     - Toggle use advanced lighting 
-computeAdvLight:<1/0>    - Toggle compute advanced lighting 
-ditherPaletted:<1/0>    - Toggle output dithering (paletted) 
-ditherTrueColor:<1/0>    - Toggle output dithering (true color) 
-renderElements:<1/0>    - Toggle render elements 


          -BACKBURNER JOB SUBMISSION- 

-submit[:manager_name]    - Submit to Backburner 
    OR -s[:manager_name] 
-port:<integer>      - Manager port number 
-netmask:<string>     - Network mask other than 255.255.255.0 
-jobName:<string>     - Job name 
-priority:<integer>     - Job priority 
-suspended       - Toggle initially suspended 
-writeJobFile      - Write all job settings to xml file 
-readJobFile:<filename>    - Read all job settings from xml file 
-waitLoad:<integer>     - Timeout (minutes) for max to load 
-waitUnload:<integer>    - Timeout (minutes) for max to unload 
-waitRender:<integer>    - Timeout (minutes) for max to render 
-platform:<32/64>     - Override the job to 32-bit or 64-bit 


          -BITMAP PARAMETERS- 

-BMP_TYPE:<2/8>      - .BMP type, 2=paletted, 8=true 24 

-JPEG_QUALITY:<1-100>    - .JPG quality value 
-JPEG_SMOOTHING:<1-100>    - .JPG smoothing value 

-TARGA_COLORDEPTH:<16/24/32>  - .TGA color bitdepth 
-TARGA_COMPRESSED:<1/0>    - .TGA compression on/off 
-TARGA_ALPHASPLIT:<1/0>    - .TGA alpha split on/off 
-TARGA_PREMULTALPHA:<1/0>   - .TGA premultiplied alpha on/off 

-TIF_TYPE:<0/1/2/3/4>    - .TIF type, 
             mono/8-bit color/logl/logluv/ 
             16-bit color 
-TIF_ALPHA:<1/0>     - .TIF alpha on/off 
-TIF_COMPRESSION:<1/0>    - .TIF compression on/off 
-TIF_DPI:<number>     - .TIF dots-per-inch value 

For each of the following there is a corresponding -RPF_xxx option 
-RLA_COLORDEPTH:<8/16/32>   - .RLA color bitdepth 
-RLA_ALPHA:<1/0>     - .RLA alpha on/off 
-RLA_PREMULTALPHA:<1/0>    - .RLA premultiplied alpha on/off 
-RLA_DESCRIPTION:<string>   - .RLA description (in quotes) 
-RLA_AUTHOR:<string>    - .RLA author name (in quotes) 
-RLA_ZDEPTHCHANNEL:<1/0>   - .RLA z-depth channel on/off 
-RLA_MTLIDCHANNEL:<1/0>    - .RLA material ID channel on/off 
-RLA_OBJECTIDCHANNEL:<1/0>   - .RLA object ID channel on/off 
-RLA_UVCHANNEL:<1/0>    - .RLA UV coordinates channel on/off 
-RLA_NORMALCHANNEL:<1/0>   - .RLA surface normals channel on/off 
-RLA_NONCLAMPEDCOLORCHANNEL:<1/0> - .RLA non-clamped color channel on/off 
-RLA_COVERAGECHANNEL:<1/0>   - .RLA coverage channel on/off 

For each of the RLA options above, there is a corresponding -RPF_xxx option, 
plus the following which are specific to RPF and unavailable for RLA 
-RPF_NODERENDERIDCHANNEL   - .RPF node render ID channel on/off 
-RPF_COLORCHANNEL     - .RPF color channel on/off 
-RPF_TRANSPCHANNEL     - .RPF transparency channel on/off 
-RPF_VELOCCHANNEL     - .RPF velocity channel on/off 
-RPF_WEIGHTCHANNEL     - .RPF sub-pixel weight channel on/off 
-RPF_MASKCHANNEL     - .RPF sub-pixel mask channel on/off 

-EXR_BITDEPTH      - .EXR main output layer bit depth 
              0 = float 
              1 = half float 
              2 = 8bits/channel integer 
-EXR_COMPRESSIONTYPE    - .EXR compression type 
              0 = no compression 
              1 = run length encoding 
              2 = zlib compression, one scan li 
at a time 
              3 = zlib compression, in blocks o 
6 scan lines 
              4 = piz-based wavelet compression 
              5 = lossy 24-bit float compressio 

              6 = lossy 4-by-4 pixel block comp 
sion, fixed compression rate 
              7 = lossy 4-by-4 pixel block comp 
sion, flat fields are compressed more 
-EXR_STORAGETYPE     - .EXR storage type 
              0 = Store Image as Scanlines 
              1 = Store Image as Tiles 

-EXR_IMAGETYPE      - .EXR main output layer image type 
              0 = rgba 
              1 = rgb 
              2 = mono 

           -OBSOLETE PARAMETERS- 

The following flags are deprecated, but supported for backward compatibility 

These flags are replaced by -pathFile:<filename> - see BASIC OPTIONS 
-bitmapPath:<pathname>    - Extra bitmap path for rendering 
             multiple path commands are allowed 
-xrefPath:<pathname>    - Extra xref path for rendering 
             multiple path commands are allowed 

These flags are replaced by: 
-RLA/RPF_ZCHANNEL:<1/0>    - RLA/RPF_ZDEPTHCHANNEL:<1/0>+ 
-RLA/RPF_NODEIDCHANNEL:<1/0>  - RLA/RPF_OBJECTIDCHANNEL:<1/0>+ 
-RLA/RPF_REALPIXCHANNEL:<1/0>  - RLA/RPF_NONCLAMPEDCOLORCHANNEL:<1/0>+ 

The following flags are deprecated and no longer supported 
-EXR_USEEXPONENT     - .EXR Use exponent on/off 
-EXR_EXPONENT      - .EXR Exponent value (decimal) 
-EXR_PREMULTALPHA     - .EXR Pre-multiply alpha on/off 
-EXR_ALPHA       - .EXR Save alpha component on/off 
-EXR_RED       - .EXR Save red component on/off 
-EXR_GREEN       - .EXR Save green component on/off 
-EXR_BLUE       - .EXR Save blue component on/off 
-EXR_USEFRAMENUMDIGITS    - .EXR Use number of frame digits on/off 
-EXR_FRAMENUMDIGITS     - .EXR Number of frame digits (integer) 
-EXR_USEREALPIX      - .EXR Use RealPix RGB data on/off 

Options are not case-sensitive 
MAXScript names for rendering parameters and flags are accepted as alias, 
where applicable. 
+1

嗨, 我知道關於3dsmaxcmd.exe,但它不完全是我要找的。我想讓我自己的exe文件充當3dsmax.exe的直通功能。 backburner渲染時發生的情況是,它實際上不使用3dsmaxcmd.exe,而是使用3dsmax.exe -server。它啓用服務器狀態並通過管道連接到加力燃燒器。我想通過我的passthrough 3dsmax.exe來模仿這種行爲,但我似乎無法做到。我已經走了另一條路線,但想知道這樣的事情是否可行,因爲我可以在啓動時將max與所有最新的插件同步。 – JHN 2011-01-27 15:30:57