|
|
hi,
"Kenneth" <kdw### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> >...I thought why aren't the basic image_map pigments in
> > an array? (perhaps in a separate include file) then the macro (and other code)
> > only need to deal with indices. ...
>
> The main trouble is with the texture{image_pattern{ syntax.
>
> In its general form for 'masking' use...
>
> texture{
> image_pattern{
> png "my_holdout_mask_image_1.png" interpolate 2 // the mask
> texture_map{TEX_MAP_FOOBAR} // or just texture{...}, the texture to mask
> }
> }
>
> .... the syntax of
> png "my_holdout_mask_image.png" interpolate 2
> is a difficult 'thing' to pre-#declare (in case you want to substitute different
> images there.) It's not quite a full pigment specification.
ok. and an array of image_patterns? how many of those? (2* 34? more?)
(have never used 'image_pattern' but if it can be declared, it can be stuffed
into arrays)
regards, jr.
Post a reply to this message
|
|