POV-Ray : Newsgroups : povray.general : How many elements can an array hold? : Re: How many elements can an array hold? Server Time
5 Aug 2024 16:14:55 EDT (-0400)
  Re: How many elements can an array hold?  
From: Warp
Date: 21 Aug 2002 15:32:00
Message: <3d63eab0@news.povray.org>
Tim Nikias <tim### [at] gmxde> wrote:
> Sadly, I don't know the answer, but is it probable that
> the amount could be somewhere in the region of the
> maximum value a float in POV can have, or may it be
> limited to some value?

  You will run out of memory long before you reach the indexing limit.
No matter how much memory you have.
  (As you can see from my signature, you can use quite large integers with
the double floating point type.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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