Tweeking Zaps Splitrender script

Tweeking Zaps Splitrender script

Anonymous
Not applicable
844 Views
9 Replies
Message 1 of 10

Tweeking Zaps Splitrender script

Anonymous
Not applicable
Zaps split render script has a render limitation of 32,000 px wide and tall. It also has the limitation of 16x16 splits. Is it possible for tweek that so it's limits are 37,000 and 32x32 splits? Also...if this is possible, do I have to go to 32x32? can I go to 20x20 instead, or do the splits need to double from the previous? (2,4,16...)

As usual, I'm under some heavy duty time crunches....so....thanks for any help!!

TIA

Dean

19449_g1XNFCBR5bZdPXXDPf8F.zip

0 Likes
845 Views
9 Replies
Replies (9)
Message 2 of 10

PiXeL_MoNKeY
Collaborator
Collaborator
Change the maximum values is simple. Open the script and edit:
spinner width "Total width:" type:#integer range:
spinner height "Total height:" type:#integer range:
To:
spinner width "Total width:" type:#integer range:
spinner height "Total height:" type:#integer range:
The other request is a little more difficult, because the rendering type being used is blowup so the division value needs to be square. So 1, 4, 9, 16, 25, 36, 49, etc values are all you could use.

-Eric
0 Likes
Message 3 of 10

Anonymous
Not applicable
Eric,

Thanks. I'll try that.

Is there a way to prompt you where to save the output renders?

...man I wish I knew how to script!

Dean
0 Likes
Message 4 of 10

PiXeL_MoNKeY
Collaborator
Collaborator
Add it on to the beginning of the filename. So instead of "my_filename" put in "C:\some_path\nested_path\my_filename". Should do what you need, otherwise you would have to rewrite the script to add it.

Scripting isn't that hard to pick up. Just take some time and read through the Maxscript Help. Use something like this script and use the help file to see exactly what is going on.

-Eric
0 Likes
Message 5 of 10

Anonymous
Not applicable
I'm pretty sure Zap chose that number (32000) for a reason. The actual max code that holds the width and height numbers, can only hold numbers up to 32,767. I don't think any amount of scripting will get around that. What about software like Genuine Fractals
0 Likes
Message 6 of 10

Anonymous
Not applicable
Thanks for the reply's. Yeah, We have Blow-Up here, so I was going to give that a try.

One more problem with this script. I want to run out an AO pass. I would normally use the replace material option in the render setup dialog, and create an AO pass under the Render Elements tab. However, Zaps script seems to ignore these settings and proceeds with a full color rendering. I need this rendered by Monday. Anyone have any ideas? My computer crashes at about 8% if I don't use Zaps script.

Thanks for any help!

Dean
0 Likes
Message 7 of 10

PiXeL_MoNKeY
Collaborator
Collaborator
You can render larger images with maxscript, like Zap's tool it is just a limit set on the spinner control. Yes you will run into serious memory problems, since an image that large consumes huge amounts of memory, but I did just render a 40,000 x 40,000 image using maxscript. Of course it was only a sphere and it maxed out my page file with max using 8gb of physical ram and 20gb of PF. I wouldn't recommend doing it, but it is possible.

-Eric
0 Likes
Message 8 of 10

Anonymous
Not applicable
Thanks for running that test Eric. OK...hopefully this will be my last question concerning this script. Would it be possible to write in something that gives you the option to pick and choose which blow-up boxes to render? Say you choose to divide the render into 16 boxes, but I only need box 12 rendered. Any idea how you would do this?

Dean
0 Likes
Message 9 of 10

Anonymous
Not applicable
Hi, I'm new to these boards but I decided to join the discussion.

Lately I've been struggling with large mental ray renders at work and began to use Zap's split render script. However sometimes the poor computers at office manage to jam with memory errors and some of the split frames never get rendered.

I tried to find a script that has the option to choose which frame to render. Google brought me here, but no use, just another person with same request. So I decided to take a look at the script file myself and MAX's scripting language,and BEHOLD, I managed to came up with my own edition of it.

It's VERY VERY basic but it works! So basically you just enter the number of the desired frame of the split render, from 0 to N. It is easy to come up with the desired frame by looking at the other filenames, starting from ...00.

Hopefully it works, and please tell me if something isn't working as expected. 🙂

And here's a link to the script: http://koti.mbnet.fi/~hekezu/maxscript/splitrender_nth.ms
0 Likes
Message 10 of 10

PiXeL_MoNKeY
Collaborator
Collaborator
You can also do this with the 3dsmaxcmd on local machines, there is a strip option that allows you to render specific strips locally. However you can't send these as jobs in Backburner.

-Eric
0 Likes