submit rendering to renderFarm

「submit rendering to renderFarm」の編集履歴(バックアップ)一覧はこちら

submit rendering to renderFarm」(2009/01/23 (金) 12:18:27) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

#code(){{ // Define commands extern "C" { int system(const char *);} extern "C" { char *strtok(char *, const char *);} extern "C" { char *strchr(const char *, int);} extern "C" { int *isspace(int);} extern "C" { char *strrchr(const char *, int);} nuiPushMenu("renderManager"); nuiMenuItem( "Render with Farm", {{ /* Get End Frame */ const char *timeRange=script.timeRange; char *sub_str; sub_str=strchr(timeRange, '-'); char endFrame[10]; if(sub_str!=0){ while(isspace((const char)*++sub_str)) ; strcpy(endFrame, sub_str); }else{ endFrame[0]='0'; endFrame[1]='\\0'; } /* TaskName */ const char *scriptFullPath=NRiMainWin1.scriptName; char *sub_str2; sub_str2=strrchr(scriptFullPath, '/'); char taskName[100]; if(sub_str2!=0){ while(isspace((const char)*++sub_str2)) ; strcpy(taskName, sub_str2); }else{ taskName[0]='\\0'; } const char* command2 = stringf("/Applications/renderSubmitter.app/Contents/MacOS/renderSubmitter -f shake -s 'file::%s,startFrame::%s,endFrame::%s,name::%s'", NRiMainWin1.scriptName, "1", endFrame,taskName); system(command2); }} ); nuiPopMenu(); }} [[mplec>http://www.mplec.com/index.php/page/2/]] [[C language. How to split text>http://www3.realint.com/cgi-bin/tarticles.cgi?pointc2+8418]]
#code(){{ // Define commands extern "C" { int system(const char *);} extern "C" { int *isspace(int);} extern "C" { char *strchr(const char *, int);} extern "C" { char *strrchr(const char *, int);} nuiPushMenu("renderManager"); nuiMenuItem( "Render with Farm", {{ /* Get End Frame */ const char *timeRange=script.timeRange; char *sub_str; sub_str=strchr(timeRange, '-'); char endFrame[10]; if(sub_str!=0){ while(isspace((const char)*++sub_str)) ; strcpy(endFrame, sub_str); }else{ endFrame[0]='0'; endFrame[1]='\\0'; } /* TaskName */ const char *scriptFullPath=NRiMainWin1.scriptName; char *sub_str2; sub_str2=strrchr(scriptFullPath, '/'); char taskName[100]; if(sub_str2!=0){ while(isspace((const char)*++sub_str2)) ; strcpy(taskName, sub_str2); }else{ taskName[0]='\\0'; } const char* command2 = stringf("/Applications/renderSubmitter.app/Contents/MacOS/renderSubmitter -f shake -s 'file::%s,startFrame::%s,endFrame::%s,name::%s'", NRiMainWin1.scriptName, "1", endFrame,taskName); system(command2); }} ); nuiPopMenu(); }} [[mplec>http://www.mplec.com/index.php/page/2/]] [[C language. How to split text>http://www3.realint.com/cgi-bin/tarticles.cgi?pointc2+8418]]

表示オプション

横に並べて表示:
変化行の前後のみ表示:
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。