|
|
|
|
|
|
| |
| |
|
|
From: Warp
Subject: Re: automated splicing of images after faking SMP
Date: 13 Sep 2000 04:08:17
Message: <39bf35f1@news.povray.org>
|
|
|
| |
| |
|
|
Btw, the script is not optimal. Every machine renders the same amount
of slices. If some machine ends rendering its slices, it just does nothing
although there would be more free slices to render.
I did it in this way because making a 100% secure mutual exclusion by
using just a file system would have been a pain.
Despite of this "unoptimal" algorithm, the total rendering time is
considerably shorter than with just one computer.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"D. Stark" wrote:
> So that's a 19-byte offset on a targa? hrm, learned something new today. can
> I have a peek at your whole script? I haven't finished mine, and I'm not
> opposed to better ideas.
Not always. The header is usually a minimum of 18 bytes, but it can have up to
255 bytes of arbitrary ID string in the middle. Then also if it's a paletted
image, the palette will be in there too...
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: automated splicing of images after faking SMP
Date: 18 Sep 2000 05:01:42
Message: <39c5d9f5@news.povray.org>
|
|
|
| |
| |
|
|
Jon A. Cruz <jon### [at] geocitiescom> wrote:
: Not always. The header is usually a minimum of 18 bytes, but it can have up to
: 255 bytes of arbitrary ID string in the middle. Then also if it's a paletted
: image, the palette will be in there too...
The uncompressed targa images created by povray have always a 18-bytes
header.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|