POV-Ray : Newsgroups : povray.beta-test : Can't undefine defined entry of array : Re: Can't undefine defined entry of array Server Time
2 Nov 2024 03:15:57 EDT (-0400)
  Re: Can't undefine defined entry of array  
From:
Date: 22 Jan 2002 09:56:22
Message: <01vq4uk00l0oepmk80579ibj6ip7gdc0l9@4ax.com>
On Tue, 22 Jan 2002 14:43:58 -0000, "Tom Melly" <tom### [at] tomandlucouk> wrote:
> Don't want to comment on whether this is a bug or not, but a possible workaround
> for memory usage would be to redefine any unwanted array elements to a simple
> case - e.g. if your array contains large objects, redefine unwanted elements to
> spheres.

My case (case where this feature appeared) was large (~100 MB) array of 3D
points. There is no simpler substitute for it.

> Also, might it not be more efficient to copy the array elements you want to a
> new array of the correct size, and then undef the whole of the old array?

I can't declare new array becouse of 128 MB of phisical memory. And I can't do
it in external program becouse it use trace() in calculations.

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.