mel script to render laaarge files

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  12 December 2002
mel script to render laaarge files

has anyone written a mel script to render out really big files for print? thanks.
  12 December 2002
If the output-format is too big for Maya, you´ll have to rendered tiles. This means that you subdived your picture into 4,8,16,... pieces and put them together in Photoshop.

You´ll need a very little batch render script:
press F1, rendering utility, render, batch render flags OR Render tiles

-x <int>
set X resolution of the final image

-y <int>
set Y resolution of the final image

-xl <int>
set X sub-region left pixel boundary of the final image

-xr <int>
set X sub-region right pixel boundary of the final image

-yl <int>
set Y sub-region low pixel boundary of the final image

-yh <int>
set Y sub-region high pixel boundary of the final image
  12 December 2002
thanks bro
  12 December 2002
just a followup on websters tip:
be sure to render some extra overlapping pixels or you might end up with seams, since anti aliasing is different..
so to render 1000 lines, render 1-505 and 500-1000.
that will asure continuity in anti aliasing


  07 July 2003
can somebody pleaqse describe me this script step by step because i always have problems executing scripts.

thanks in advance
  07 July 2003

I made a very simple script that lets you render your image
in 4 tiles and then you can assemble them together in photoshop or whatever.

It's under "rendering & shading" ..

the script is called "SubRegionRender"

here's the link

Please don't hesitate to contact me if you have suggestions on

regards Joel

Last edited by Subscream : 07 July 2003 at 03:13 PM.
  07 July 2003
thank's dude i ll try it
  07 July 2005
for maya 6.5

the script didnt work for me but try this: (should also guide you if you want to change the cool script)
create a text-file and rename it to what you like eg render.bat the important thing is the bat extension.

in the file write somthing like :

render -y 5000 -x 5000 -reg 0 2500 0 2500 -im venstre_bund tost.mb
render -y 5000 -x 5000 -reg 2500 5000 0 2500 -im hojre_bund tost.mb
render -y 5000 -x 5000 -reg 0 2500 2500 5000 -im venstre_top tost.mb
render -y 5000 -x 5000 -reg 2500 5000 2500 5000 -im hojre_top tost.mb

this renders the file toast in 4 tiles the formular is resolution in x and y and then the regino (-reg) you want to render in the format left right bottom top, give them different names (-im =name you give them)

You can make as manny tiles as you please. i thnik 8000 is maya-soft limit pr tile, but im not sure if i remember right.

save the file in the scene-folder and double-click it.....

Semper buffo!
  07 July 2005
alias changed the command line parameters over the time...
  07 July 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 12:12 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.