POV-Ray : Newsgroups : povray.general : writing a texture identifier to file : Re: writing a texture identifier to file Server Time
1 Jun 2024 15:36:20 EDT (-0400)
  Re: writing a texture identifier to file  
From: Thomas de Groot
Date: 20 Jan 2016 02:43:34
Message: <569f3aa6@news.povray.org>
On 19-1-2016 17:40, dick balaska wrote:
> On 1/19/2016 3:13 AM, Thomas de Groot wrote:
>> I am baffled.
>
>> What to do? Thanks.
>
> I had a similar need. I ended up doing this and using the appropriate
> array as needed...
>
> #declare TexArray =
>    array[12]{
>      T_Stone1,  T_Stone2,
>      T_Stone3,  T_Stone4,
>      T_Stone5,  T_Stone6,
>      T_Stone7,  T_Stone8,
>      T_Stone9,  T_Stone10,
>      T_Stone11, T_Stone12
>    };
> #declare TexArrayText =
>    array[12]{
>      "T_Stone1",  "T_Stone2",
>      "T_Stone3",  "T_Stone4",
>      "T_Stone5",  "T_Stone6",
>      "T_Stone7",  "T_Stone8",
>      "T_Stone9",  "T_Stone10",
>      "T_Stone11", "T_Stone12"
>    };
>
Yes, it seems this is the way I shall have to go.

-- 
Thomas


Post a reply to this message

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