![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi all.
When I try to use 12800x9600 as output resolution, I get this error message:
$ /opt/povray/bin/povray_3.7
/opt/povray/share/povray-3.7/scenes/objects/blob.pov +FN +W12800 +H9600 +O/tmp
Unknown error code
with 800x600, 1600x1200, 3200x2400 and 6400x4800 it works without any problems.
Is this a bug or have I done something wrong?
Best Regards and thanks for any help.
Christian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Le Forgeron
Subject: Re: "Unknown error code" when using 12800x9600 as output with Rev 3.7
Date: 6 Apr 2015 14:05:24
Message: <5522cae4$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Le 06/04/2015 19:51, Christian Baun a écrit :
> Hi all.
>
> When I try to use 12800x9600 as output resolution, I get this error message:
>
> $ /opt/povray/bin/povray_3.7
> /opt/povray/share/povray-3.7/scenes/objects/blob.pov +FN +W12800 +H9600 +O/tmp
> Unknown error code
>
> with 800x600, 1600x1200, 3200x2400 and 6400x4800 it works without any problems.
>
> Is this a bug or have I done something wrong?
Let me guess. 32 bits operating system ?
The temporary buffer for 12800 x 9600 output is
sizeof(double)*5*dimensions (*) : that's 124F80000 bytes in hex, more
than can be represented on 32 bits.
>
> Best Regards and thanks for any help.
>
> Christian
>
*: actually, it's a few more bytes, but that mainly irrelevant.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks a lot for the response.
The system is a 32 bit system.
Best Regards
Christian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Le_Forgeron <jgr### [at] free fr> wrote:
> The temporary buffer for 12800 x 9600 output is
> sizeof(double)*5*dimensions (*) : that's 124F80000 bytes in hex, more
> than can be represented on 32 bits.
Hello,
I have one more question.
How can the value 5 in the formular be explained?
3 is quite easy to explain because of RGB. But why 5 ?
Is it because of an alpha channel?
Best Regards
Christian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Le Forgeron
Subject: Re: "Unknown error code" when using 12800x9600 as output with Rev 3.7
Date: 22 Apr 2015 01:59:05
Message: <553738a9$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Le 21/04/2015 23:29, Christian Baun a écrit :
> Le_Forgeron <jgr### [at] free fr> wrote:
>
>> The temporary buffer for 12800 x 9600 output is
>> sizeof(double)*5*dimensions (*) : that's 124F80000 bytes in hex, more
>> than can be represented on 32 bits.
>
> Hello,
>
> I have one more question.
> How can the value 5 in the formular be explained?
>
Colour inside povray is made of 5 channels: red, green, blue, transmit
and filter (for the relative order of the last two, I'm not sure which
one is first).
> 3 is quite easy to explain because of RGB. But why 5 ?
> Is it because of an alpha channel?
>
Sort of.
> Best Regards
> Christian
>
>
>
--
Just because nobody complains does not mean all parachutes are perfect.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: clipka
Subject: Re: "Unknown error code" when using 12800x9600 as output with Rev 3.7
Date: 22 Apr 2015 04:46:26
Message: <55375fe2$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Am 21.04.2015 um 23:29 schrieb Christian Baun:
> Le_Forgeron <jgr### [at] free fr> wrote:
>
>> The temporary buffer for 12800 x 9600 output is
>> sizeof(double)*5*dimensions (*) : that's 124F80000 bytes in hex, more
>> than can be represented on 32 bits.
>
> Hello,
>
> I have one more question.
> How can the value 5 in the formular be explained?
>
> 3 is quite easy to explain because of RGB. But why 5 ?
> Is it because of an alpha channel?
Theoretically, only 4 channels would be required (and if alpha output
isn't desired, 3 channels would actually do); however, all colour
storage inside POV-Ray has traditionally been using the "Red, Green,
Blue, Transmit, Filter" 5-channel colour model all throughout the
program, in each and every nook and cranny. Since the release of 3.7.0,
some effort has been made to clean up the internal colour handling to
only use a 3-channel RGB or 4-channel RGBA (or RGBT) colour model where
possible, but this process is still ongoing, and result image storage is
one area that hasn't been tackled yet.
I'm a bit puzzled though why a large image should result in problems, as
a mechanism has been in place for quite a while now to place large
output image buffers on hard disk rather than main memory, and this
mechanism is designed to cope with image sizes way beyond 4GB even on
32-bit systems. (Unless you happen to still use a Fat32 hard disk
partition, which indeed doesn't support files of 4GB size or more.)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hello,
the error occurs also, when I try to render just a part of the lines (+SR and
+ER) of the 12800x9600 image.
Best Regards
Christian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: clipka
Subject: Re: "Unknown error code" when using 12800x9600 as output with Rev 3.7
Date: 28 Apr 2015 16:25:14
Message: <553fecaa$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Am 28.04.2015 um 13:02 schrieb Christian Baun:
> Hello,
>
> the error occurs also, when I try to render just a part of the lines (+SR and
> +ER) of the 12800x9600 image.
That's not too much of a surprise, as the buffer reserved for the image
will have the full size. Another thing where improvement would be possible.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks a lot for the answer.
This explains my observations.
Best Regards
Christian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |