https://wiki.reallusion.com/index.php?title=IC_Python_API:Batch_Render_Folder&feed=atom&action=historyIC Python API:Batch Render Folder - Revision history2024-03-29T15:50:13ZRevision history for this page on the wikiMediaWiki 1.26.2https://wiki.reallusion.com/index.php?title=IC_Python_API:Batch_Render_Folder&diff=2687&oldid=prevChuck (RL): /* Batch Render Folder */2019-01-18T08:49:52Z<p><span dir="auto"><span class="autocomment">Batch Render Folder</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 08:49, 18 January 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8" >Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|id=https://www.youtube.com/watch?v=FWgVNyc8ryM&list=PLNV5zSFadPdnhNttpXa1YtstjTnFjA6qF&t=0s&index=7</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|id=https://www.youtube.com/watch?v=FWgVNyc8ryM&list=PLNV5zSFadPdnhNttpXa1YtstjTnFjA6qF&t=0s&index=7</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|alignment=right</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|alignment=right</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">|description=Batch Render Folder</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">|container=frame</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Chuck (RL)https://wiki.reallusion.com/index.php?title=IC_Python_API:Batch_Render_Folder&diff=2686&oldid=prevChuck (RL): /* You Will Learn To */2019-01-18T08:49:39Z<p><span dir="auto"><span class="autocomment">You Will Learn To</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 08:49, 18 January 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14" >Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This script can take multiple iClone projects within a directory and render each one to a separate video. It will automatically open each *.iProject file and perform the standard Render to Video with the expressed render settings taken from the scene (Render > Render Video). iClone will successively open each project file and scrub the timeline to capture each frame to an individual video file. This process can be interrupted at any moment by pressing the Cancel button in the modal window for each render procedure. The handy console log provided with the script dialog window will list out all of the detected iClone scenes and give a play-by-play of the current render task once executed. When the console log prints "Render completed!", the user can open the batch folder and find all of the videos conveniently residing in one location.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This script can take multiple iClone projects within a directory and render each one to a separate video. It will automatically open each *.iProject file and perform the standard Render to Video with the expressed render settings taken from the scene (Render > Render Video). iClone will successively open each project file and scrub the timeline to capture each frame to an individual video file. This process can be interrupted at any moment by pressing the Cancel button in the modal window for each render procedure. The handy console log provided with the script dialog window will list out all of the detected iClone scenes and give a play-by-play of the current render task once executed. When the console log prints "Render completed!", the user can open the batch folder and find all of the videos conveniently residing in one location.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>===<del class="diffchange diffchange-inline">You Will </del>Learn To===</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>===Learn To===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Create a plugin for iClone.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Create a plugin for iClone.</div></td></tr>
</table>Chuck (RL)https://wiki.reallusion.com/index.php?title=IC_Python_API:Batch_Render_Folder&diff=2673&oldid=prevChuck (RL) at 08:33, 18 January 20192019-01-18T08:33:32Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 08:33, 18 January 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{TOC}}</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">__NOTOC__</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Chuck (RL)https://wiki.reallusion.com/index.php?title=IC_Python_API:Batch_Render_Folder&diff=2670&oldid=prevChuck (RL): Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} == Batch Render Folder == {{#evt: service=youtube |id=https://www.youtube.com/watch?v=FWgVNyc8ryM&list=P..."2019-01-18T08:28:49Z<p>Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} == Batch Render Folder == {{#evt: service=youtube |id=https://www.youtube.com/watch?v=FWgVNyc8ryM&list=P..."</p>
<p><b>New page</b></p><div>{{TOC}}<br />
{{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}}<br />
<br />
== Batch Render Folder ==<br />
<br />
{{#evt:<br />
service=youtube<br />
|id=https://www.youtube.com/watch?v=FWgVNyc8ryM&list=PLNV5zSFadPdnhNttpXa1YtstjTnFjA6qF&t=0s&index=7<br />
|alignment=right<br />
|description=Batch Render Folder<br />
|container=frame<br />
}}<br />
<br />
This script can take multiple iClone projects within a directory and render each one to a separate video. It will automatically open each *.iProject file and perform the standard Render to Video with the expressed render settings taken from the scene (Render > Render Video). iClone will successively open each project file and scrub the timeline to capture each frame to an individual video file. This process can be interrupted at any moment by pressing the Cancel button in the modal window for each render procedure. The handy console log provided with the script dialog window will list out all of the detected iClone scenes and give a play-by-play of the current render task once executed. When the console log prints "Render completed!", the user can open the batch folder and find all of the videos conveniently residing in one location.<br />
<br />
===You Will Learn To===<br />
<br />
*Create a plugin for iClone.<br />
*Create simple User Interface using a Qt UI file.<br />
*Load projects and use render related APIs.<br />
<br />
===Required Files===<br />
<br />
[https://github.com/reallusion/iClone/tree/master/BatchRenderFolder GitHub Page]<br />
#Batch Render Folder Python script - included in Python samples (main.py)<br />
#QT UI form file (BatchRender.ui)<br />
<br />
===Steps to Take===<br />
<br />
#Setup a folder on your main drive for several *.iPojects to reside.<br />
#Drag and drop several *.iProject files into this folder.<br />
#Open up iClone and load the Batch Render Folder script (Plugins > Python Sample > Batch Render Folder).<br />
#Within the dialog window, click on the Folder icon and pick the directory established beforehand.<br />
#The console log below will print out the number of project files found.<br />
#Click on the Render button and watch as iClone processes each file individually.<br />
#Wait for the console log to print "Render completed!" and open the batch folder to find all of the processed videos.</div>Chuck (RL)