"Leroy" <whe### [at] gmailcom> wrote:
>
> #macro Image(File)
> #local L=strlen(File);
> (etc) ...
> How to use:
>
> #declare FileStr="Image.tga"
>
> height_field{Image(Filestr} ... // ending parenthesis missing?
>
[Windows 10, running v3.8.0 beta 1]
I like the idea. But substituting my own .png image_map...
#declare FileStr="test image for hf png.png"
height_field{Image(Filestr)} // parenthesis added
...I get a fatal error at the last line: "Cannot pass uninitialized identifier as
non-optional macro parameter."
Post a reply to this message
|