|
|
hi,
"Kenneth" <kdw### [at] gmailcom> wrote:
> For my recent and continuing 'city buildings' scene, I needed a way to load a
> bunch of consecutively-numbered image_maps into an array. ...
> Of course, you could further simplify the #for loop by inserting the entire
> concat(...) string into the pigment itself, eliminating the
> #declare MY_STRING = ...
or use a macro and dispense with the array altogether?! eg.
#macro mkPigment(i_)
pigment {image_map {jpeg concat("my image ",str(i_,0,0)," example.jpg")
interpolate 2}}
#end
(hopefully no typos)
regards, jr.
Post a reply to this message
|
|