|
|
Hello.
Is it possible to use a concat generated string to call a pre-defined
texture?
In other words, why doesn't this code ...
// counter is a declared float in a loop with current value of 1
#declare vasetex = concat ( "T_Gold_", str(counter,1,0), "A")
texture { vasetex }
...let me call the texture T_Gold_1A, which is a pre-defined texture in the
file "golds.inc"?
I've trawled through the Help file but can't find any clarification.
Apologies if the answer is staring me in the face.
Thanks,
Alan.
Post a reply to this message
|
|