"Kenneth" <kdw### [at] gmailcom> wrote:
> That looks like it would work OK code-wise... very similar/identical to
>
> #macro HO_1()
> "building windows 1C.jpg"
> #end
>
> then
> image_pattern{jpeg HO_1}
>
> or...
> #macro HO_1()
> jpeg "building windows 1C.jpg"
> #end
>
> then
> image_pattern{HO_1}
>
> Both of those work, too.
Yep, except that predeclaring the texture block into an array element avoids
reading the image file every time it's used, which was what you wanted to avoid.
Post a reply to this message
|