POV-Ray : Newsgroups : povray.general : writing a texture identifier to file : Re: writing a texture identifier to file Server Time
21 May 2024 14:17:28 EDT (-0400)
  Re: writing a texture identifier to file  
From: dick balaska
Date: 19 Jan 2016 11:40:01
Message: <569e66e1$1@news.povray.org>
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"
   };


Post a reply to this message

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