That simple eh! no wonder I couldn't get it to work!
Mick
"Chris Huff" <chr### [at] mac com> wrote in message
news:chrishuff-D298C0.18303110012001@news.povray.org...
> In article <3a5cec15@news.povray.org>, "Mick Hazelgrove"
> <mic### [at] mhazelgrove fsnet co uk> wrote:
>
> > Is it possible to pass the name of an image_map as a macro parameter?
> > if so how? I've spent hours on this and just can't see how to do it.
> > Strings were never my strongest point.
>
> #macro Macro(FileName)
> image_map {xxx FileName ...}
> ...
> #end
>
> Macro("MyFile.xxx")
>
> --
> Christopher James Huff
> Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tag povray org, http://tag.povray.org/
>
> <><
Post a reply to this message
|