POV-Ray : Newsgroups : povray.binaries.images : city buildings-- WIP 9_29_2020 : Re: city buildings-- WIP 9_29_2020 Server Time
20 May 2024 11:43:40 EDT (-0400)
  Re: city buildings-- WIP 9_29_2020  
From: jr
Date: 4 Oct 2020 06:20:01
Message: <web.5f79a1c032341a55f5e85bab0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.