|
![](/i/fill.gif) |
Am 19.08.2013 00:35, schrieb clipka:
> Am 19.08.2013 00:01, schrieb Ger Remmers:
>> On 08/18/2013 04:48 PM, clipka wrote:
>>> Am 18.08.2013 23:08, schrieb Ger Remmers:
>>>
>>>> (*) Povray seems to have a problem with very large arrays. I can go as
>>>> high as 800K nodes, after that the last position in the array seems to
>>>> get corrupted.
>>>
>>> Obviously that shouldn't happen. Can you provide a sample scene to
>>> reproduce, dissect and debug the problem?
>>>
>>
>> It messes up in the WriteDataFile() macro
>
> Thanks, I'll have a closer look at it.
I was able to track down the issue to a bug in the #for loop, which
causes the loop to terminate one iteration too early if the end value is
large (1048576 or higher on my Windows 7 x64 Intel i7 machine; I'm a bit
surprised you get a lower limit; I'd be interested to know what OS and
harware you are using).
As a workaround, use a #while loop with manual counter increment
instead. It requires a few more tokens per loop, but works with
significantly higher numbers.
I've already come up with a fix, but I'm not sure whether it will make
its way into the 3.7.0 release proper.
Post a reply to this message
|
![](/i/fill.gif) |