POV-Ray : Newsgroups : povray.general : dynamic memory possible? : Re: dynamic memory possible? Server Time
4 Jul 2025 06:16:20 EDT (-0400)
  Re: dynamic memory possible?  
From: Jim Charter
Date: 4 Jun 2007 11:49:49
Message: <4664349d$1@news.povray.org>
Gunnar wrote:

> Is there any possibility to do this without opening and reading the file
> twice? I know Java can do dynamic memory (if that's what it is called), but
> POV?
>
In arrays.inc there is a macro to resize an array.  So you can define 
you array initially to take the first item then resize it with each 
sucessful read from your file.


Post a reply to this message

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