Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Sell your Land, House on idamata.lk for FREE
sajith.xp.pk
Updated:
Yesterday at 9:03 AM
Handmade Character Soft Toys
anil1961
Updated:
Tuesday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Tips & Tricks
Quick Tip – Render Faster using the Windows Command Line with Maya
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="sihina_lahiru" data-source="post: 7430934" data-attributes="member: 149577"><p><strong>Step 10</strong></p><p></p><p> The only settings that are going to change are the ones that are overridden with flags. Let’s say you need to change the size of your image, and you want to render with mental ray. In the command line type ‘Render –r mr –s 1 –e 125 Concept_Scene_1.mb’, where the ‘-r’ flag specifies which render to use (in this case ‘mr’ for mental ray), the ‘-s’ is the start frame of the animation, and the ‘-e’ is the end frame.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/10.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 11</strong></p><p></p><p> Now for a more efficient way of rendering with Windows executable .bat files. These files are made and edited in Notepad. Let’s say that you want to render a file with mental ray. In Notepad write ‘Render –r mr Concept_Scene_1.mb’ and save the file, but make sure in the end of the name to put ‘.bat’, so that the file can save in a .bat format.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/11.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 12</strong></p><p></p><p> Put the .bat file in the same folder as the file you want to render, and double click it to run the batch renderer.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/12.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 13</strong></p><p></p><p> Using .bat files is great when you need to render several scenes that are in different directories. And what’s more, you can put different flags for each scene. It doesn’t matter where you put the .bat file, because the directories are listed within it. Also, the scenes will render consequently.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/13.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 14</strong></p><p></p><p> With the ‘-rd’ flag, you can specify in which directory your files are going to be rendered.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/14.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 15</strong></p><p></p><p> The ‘-rd’ flag can also be used for multiple files at the same time.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/15.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 16</strong></p><p></p><p> Another highly useful flag is the ‘-cam’ flag, which lets you specify which camera to render from the scene.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/16.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 17</strong></p><p></p><p> You can render as many cameras as you like from the same or different scenes, and also put different flags to make it even more efficient.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/17.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 18</strong></p><p></p><p> Rendering different cameras is even better when combined with the ‘-rd’ tag, so each camera will be output into a different folder</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/18.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 19</strong></p><p></p><p> Remember that you can combine as many flags as you want to speed up your renders, and then you can view the commands when you type ‘Render –h’ in the command line.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/19.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> <strong>Step 20</strong></p><p></p><p> Some final useful tips for rendering from the command line: Don’t use spaces in the name of the files always put an ‘_’ instead; Make sure that the .bat files are saved with their extension after the name; If you want to stop the render process, just close the command line.</p><p> <img src="http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/20.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> Don’t miss</p></blockquote><p></p>
[QUOTE="sihina_lahiru, post: 7430934, member: 149577"] [B]Step 10[/B] The only settings that are going to change are the ones that are overridden with flags. Let’s say you need to change the size of your image, and you want to render with mental ray. In the command line type ‘Render –r mr –s 1 –e 125 Concept_Scene_1.mb’, where the ‘-r’ flag specifies which render to use (in this case ‘mr’ for mental ray), the ‘-s’ is the start frame of the animation, and the ‘-e’ is the end frame. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/10.jpg[/IMG] [B]Step 11[/B] Now for a more efficient way of rendering with Windows executable .bat files. These files are made and edited in Notepad. Let’s say that you want to render a file with mental ray. In Notepad write ‘Render –r mr Concept_Scene_1.mb’ and save the file, but make sure in the end of the name to put ‘.bat’, so that the file can save in a .bat format. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/11.jpg[/IMG] [B]Step 12[/B] Put the .bat file in the same folder as the file you want to render, and double click it to run the batch renderer. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/12.jpg[/IMG] [B]Step 13[/B] Using .bat files is great when you need to render several scenes that are in different directories. And what’s more, you can put different flags for each scene. It doesn’t matter where you put the .bat file, because the directories are listed within it. Also, the scenes will render consequently. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/13.jpg[/IMG] [B]Step 14[/B] With the ‘-rd’ flag, you can specify in which directory your files are going to be rendered. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/14.jpg[/IMG] [B]Step 15[/B] The ‘-rd’ flag can also be used for multiple files at the same time. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/15.jpg[/IMG] [B]Step 16[/B] Another highly useful flag is the ‘-cam’ flag, which lets you specify which camera to render from the scene. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/16.jpg[/IMG] [B]Step 17[/B] You can render as many cameras as you like from the same or different scenes, and also put different flags to make it even more efficient. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/17.jpg[/IMG] [B]Step 18[/B] Rendering different cameras is even better when combined with the ‘-rd’ tag, so each camera will be output into a different folder [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/18.jpg[/IMG] [B]Step 19[/B] Remember that you can combine as many flags as you want to speed up your renders, and then you can view the commands when you type ‘Render –h’ in the command line. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/19.jpg[/IMG] [B]Step 20[/B] Some final useful tips for rendering from the command line: Don’t use spaces in the name of the files always put an ‘_’ instead; Make sure that the .bat files are saved with their extension after the name; If you want to stop the render process, just close the command line. [IMG]http://cgtuts.s3.amazonaws.com/000_QuickTips/013_Maya_BatchRender/20.jpg[/IMG] Don’t miss [/QUOTE]
Insert quotes…
Verification
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom