POV-Ray : Newsgroups : povray.documentation.inbuilt : Typo in 2.3.3.3.6 causes error message Server Time
29 Mar 2024 10:25:27 EDT (-0400)
  Typo in 2.3.3.3.6 causes error message (Message 1 to 2 of 2)  
From: Lonewolf10
Subject: Typo in 2.3.3.3.6 causes error message
Date: 19 May 2012 17:45:01
Message: <web.4fb813e98667aa5de1a4ae100@news.povray.org>
Hi,

I have POV-Ray (3.6.2) and found a typo in the help files at the end of
"Combining isosurface functions" (2.3.3.3.6), with this:

function{fn_A(x,y,z) + pow(Blob_threshold,(Fn_B(x,y,z) + Strength))}


function B (near the end) has a capital F, however the declared function has a
lower case f:

#declare fn_A = function { sqrt(pow(y,2) + pow(z,2)) - 0.8 }
#declare fn_B = function { abs(x)+abs(y)-1 }


POV-Ray displayed an "undeclared identifier" error message when trying to run
it, and it took me ages to spot the typo.


Regards,
Lonewolf10


Post a reply to this message

From: James Holsenback
Subject: Re: Typo in 2.3.3.3.6 causes error message
Date: 19 May 2012 20:21:23
Message: <4fb83903$1@news.povray.org>
On 05/19/2012 05:44 PM, Lonewolf10 wrote:
>
> Hi,
>
> I have POV-Ray (3.6.2) and found a typo in the help files at the end of
> "Combining isosurface functions" (2.3.3.3.6), with this:
>
> function{fn_A(x,y,z) + pow(Blob_threshold,(Fn_B(x,y,z) + Strength))}
>
>
> function B (near the end) has a capital F, however the declared function has a
> lower case f:
>
> #declare fn_A = function { sqrt(pow(y,2) + pow(z,2)) - 0.8 }
> #declare fn_B = function { abs(x)+abs(y)-1 }
>
>
> POV-Ray displayed an "undeclared identifier" error message when trying to run
> it, and it took me ages to spot the typo.
>
>
> Regards,
> Lonewolf10
>
>
>
yes ... I spotted that when I migrated the docs to the wiki, and it was 
fixed some time ago:
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.2#Combining_isosurface_functions


Post a reply to this message

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