POV-Ray : Newsgroups : povray.documentation.inbuilt : Errors in light attenuation and height field documentation : Re: Errors in light attenuation and height field documentation Server Time
26 Jan 2022 12:21:11 EST (-0500)
  Re: Errors in light attenuation and height field documentation  
From: Kenneth
Date: 26 Mar 2013 13:55:01
Message: <web.5151e051e64ae1b6c2d977c20@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> When using a *pre-declared* function...
>
> height_field{
> function{
> my_function 100,100 (x,-y,z).gray // -Y corrects it
> .....
> }

Oops, that's not the proper syntax for that HF function. It should be...

height_field{
function 100,100 {my_function(x,-y,z).gray}
.......
}

Sorry!


Post a reply to this message

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