POV-Ray : Newsgroups : povray.general : Height_field help : Re: Height_field help Server Time
20 Apr 2024 11:25:40 EDT (-0400)
  Re: Height_field help  
From: Kenneth
Date: 5 Mar 2023 14:50:00
Message: <web.6404f1843575e8099b4924336e066e29@news.povray.org>
"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

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