POV-Ray : Newsgroups : povray.binaries.images : city buildings as height_fields-- WIP 1 : Re: city buildings as height_fields-- WIP 1 Server Time
7 May 2024 10:03:00 EDT (-0400)
  Re: city buildings as height_fields-- WIP 1  
From: Kenneth
Date: 28 Feb 2018 12:45:00
Message: <web.5a96e98de5be66e2a47873e10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> I was thinking of just the filename
> strings (i.e. without the 'jpeg' specifier).  Then you can do
>
> image_pattern { jpeg FileNameArray[i] }
>
> (or at least I assume this is correct - I haven't actually tried it!)

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.


Post a reply to this message

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