POV-Ray : Newsgroups : povray.general : How many elements can an array hold? Server Time
5 Aug 2024 18:23:40 EDT (-0400)
  How many elements can an array hold? (Message 1 to 5 of 5)  
From: Shay
Subject: How many elements can an array hold?
Date: 21 Aug 2002 14:52:06
Message: <3d63e156@news.povray.org>
How many elements can an array hold?

 -Shay


Post a reply to this message

From: Timothy R  Cook
Subject: Re: How many elements can an array hold?
Date: 21 Aug 2002 15:11:33
Message: <3D63E5E3.1020805@scifi-fantasy.com>
Shay wrote:
> How many elements can an array hold?

How many angels can dance on the head of a pin?

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Tim Nikias
Subject: Re: How many elements can an array hold?
Date: 21 Aug 2002 15:20:37
Message: <3d63e805@news.povray.org>
I think this is a really useful question. Its about the
possibilites POV has, not some theoretical question.

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?

Someone's gotta know. But thats not me.
Sadly.

Tim

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde

> Shay wrote:
> > How many elements can an array hold?
>
> How many angels can dance on the head of a pin?
>
> --
> Tim Cook


Post a reply to this message

From: Warp
Subject: Re: How many elements can an array hold?
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

From: Sir Charles W  Shults III
Subject: Re: How many elements can an array hold?
Date: 21 Aug 2002 16:30:30
Message: <3d63f866$1@news.povray.org>
A few Sagans' worth.

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip

page down for the definition of a "Sagan"





















1 Sagan = "billions and billions"


Post a reply to this message

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