POV-Ray : Newsgroups : povray.binaries.images : city buildings-- WIP 9_29_2020 : Re: city buildings-- WIP 9_29_2020 Server Time
9 May 2024 17:25:51 EDT (-0400)
  Re: city buildings-- WIP 9_29_2020  
From: Kenneth
Date: 4 Oct 2020 05:30:00
Message: <web.5f79953932341a55d98418910@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> 1) PRE-#declare the 34 hold-out-mask images *as* the rather odd macros...
> #declare H_O_IMAGE_1 =
> #macro FOOBAR_1() // to create each macro
> png "my_holdout_mask_1.png" interpolate 2
> #end
> .... 2,3,4, etc
> Perhaps #declaring these macros will work as I imagine(?)
>
> 2) For the final texture{image_pattern{...}} ...
>
> #declare IMG_PATTERN_1 =
> image_pattern{ //this *should* work as syntax...
>    H_O_IMAGE_1
>    texture_map{TEX_MAP_FOOBAR}
>              }
>

Oops! That H_O_IMAGE_1 insert will certainly NOT work there as-is; it's just
inserting the *creation* of the macro, not a *call* of the macro. But the
general idea might work, with some more changes. Time to experiment! ;-)


Post a reply to this message

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