POV-Ray : Newsgroups : povray.binaries.images : Life : Re: Life Server Time
10 Aug 2024 15:22:13 EDT (-0400)
  Re: Life  
From: Nicolas Alvarez
Date: 9 Sep 2004 20:08:28
Message: <4140f07c@news.povray.org>

news:413b0f7e@news.povray.org...

> Everything works fine, the only problem is that I don't want to define
> the initial state of the world in the script. Imagine the quantities of
> lines like :
> #declare world[5][5] = 1;
> #declare world[5][6] = 1;
> ... etc :/

Why don't you do this:

#declare Foo=array[3][3]
{
    {1,2,3},
    {4,5,6},
    {7,8,9}
}

--
- Nicolas Alvarez
nicolas [dot] alvarez [at] gmail [dot] com


Post a reply to this message

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