Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 11-06-2003 , 02:31 PM
Registered User
Join Date: May 2003
Posts: 25

script for rendering 8regions /each 6K?

Rendering 6/8 regoins ,each 6K? (Original Message)




Write in trhe script editor
get_RenderRegions( 6000, 6000, 8, 8, "pane", "C:\\tmp\\myfile.mb" );

The images will be numbered sequentially.?????????????? I,ve tried but it doesn,t name each region separatly!!

what i have to do is embed the render statement in a loop so that as the loop is executed, each region gets named based on where in the loop it gets rendered


How to do that

Ps: the correct command line for one square is with space and quotes ,is:

"Render" "-x 6000" "-y 6000" "-xl 0" "-xr 2999" "-yl 0" "-yh 2999" -im lower_left" C:\temp\myfile.mb


Last edited by filou; 12-06-2003 at 05:35 PM.
# 2 13-06-2003 , 07:17 AM
Registered User
Join Date: May 2003
Posts: 25
When i type:

in script editor:

get_RenderRegions(6000,6000,8,8," C:\\temp\\balls.mb");
I effectively get This 64 commands, which are indeed NOT named "pane_O", etc;;etc;;
I get 64 lines like ,this following one:


Render -x 6000 -y 6000 -xl 0 -xr 749 -yl 0 -yr 749 C:\temp\balls.mb


which sounds good, for rendering these differnts parts,but :
which is not usefull ,to type in command prompt!!cause nothing is done!

I understand that the squares have no names,for th e moment;


SO, in the script editor,in Maya, i type the following:

get_RenderRegions( 6000, 6000, 8, 8, "pane", "C:\\temp\\balls.mb" );

i didn,t get 64 command lines,named "pane_0".......

Ihave the following message:

Error: Line 1.42: Invalid use of Maya object "pane".

I tried many times, with some changes with spaces and quotes or,even changing pane by tile!
but still a problem!



What kind of image prefix argument, should i have to enter????


Last edited by filou; 13-06-2003 at 08:37 AM.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads