POV-Ray : Newsgroups : povray.programming : Replacing texture identifier by a concatenated string literal? : Replacing texture identifier by a concatenated string literal? Server Time
6 Oct 2024 13:18:00 EDT (-0400)
  Replacing texture identifier by a concatenated string literal?  
From: Jörg 'Yadgar' Bleimann
Date: 12 Nov 2002 16:55:42
Message: <3DD18746.F8A53CE3@tiscalinet.de>
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?

See you in Khyberspace!

Yadgar


Post a reply to this message

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