|
 |
"Ib Rasmussen" <ib### [at] ibras dk> wrote in message
news:3AF3C30A.34B3F657@ibras.dk...
> Eitan Tal wrote:
>
> > is there a way to add Strings?
>
> You may want to try the concat function. See the docs under string
> functions.
Such as:
#declare imgPath="C:\\images\\"
#declare cardNum=99;
#declare cardType="abc"
#declare tempStr = concat ( imgPath, str(cardNum,0,0), "_", cardType,
".gif" )
plane {z,0 pigment {image_map {gif tempStr}}}
text {ttf "times.ttf", tempStr, .1,0 pigment {rgb 1} scale .5 translate
<-2.5,-.5,-.5>}
If you're like me and don't always use this kind of thing it can be
difficult to remember the correct way to go about it.
Bob H.
Post a reply to this message
|
 |