POV-Ray : Newsgroups : povray.programming : Replacing texture identifier by a concatenated string literal? : Re: Replacing texture identifier by a concatenated string literal? Server Time
6 Oct 2024 13:38:18 EDT (-0400)
  Re: Replacing texture identifier by a concatenated string literal?  
From: Thorsten Froehlich
Date: 13 Nov 2002 06:54:06
Message: <3dd23d5e$1@news.povray.org>

<yad### [at] tiscalinetde>  wrote:

> Hi Tracers!
>
> I want to program a simple scene with displays the various metal
> textures of metals.inc
> in square arrays of 5 x 5 spheres for each metal type.
>
> To do this easily from a nested loop, I tried something like
> texture { "concat("T_Brass_", str(a+1), chr(65+b))"},
> but got an error message, whether I put the whole thing in
> double quote marks or not. Is there any way at all to convert
> a string literal into a texture (or object) identifier?

Please note that this is the wrong group for your question.  this group is
about the POV-Ray source code, not about using POV-Ray.  Please read the
messages in the group  povray.announce.frequently-asked-question - they
explain which groups serve what purpose.

    Thorsten


Post a reply to this message

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