POV-Ray : Newsgroups : povray.general : Question About Macros : New Question About Macros Server Time
11 Aug 2024 05:15:44 EDT (-0400)
  New Question About Macros  
From: Bill the Galactic Hero
Date: 15 Oct 1999 10:36:55
Message: <38073c07@news.povray.org>
I seem to recall from a couple of years ago that one could not concat
together a texture name. Has this changed? or is there a way to pass part of
a texture name to a macro?

/// This doesn't work but I wish it would ///

#macro Tex(Name, Index)
sphere{0,1 texture{concat(Name, Index)}
#end

Tex(Brown, 1)


Post a reply to this message

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