POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface & float functions : Re: Isosurface & float functions Server Time
2 Nov 2024 15:23:25 EDT (-0400)
  Re: Isosurface & float functions  
From: Thorsten Froehlich
Date: 15 Jul 1999 13:18:09
Message: <378e17d1@news.povray.org>
In article <378E0F19.C4643CA3@inapg.inra.fr> , Gilles Tran 
<tra### [at] inapginrafr>  wrote:

> This is something I've noticed a while ago but didn't care about until
> recently : some math functions are not recognized in the isosurface
> function declaration : pow, log, atan2, int, ceil, floor.
> function  y + sqrt(x) works
> but
> function  y + pow(x,0.5) returns an error ("float factor expected but
> pow found instead")
>
> Any clue about this behavior ? Or am I missing something obvious ? It
> looks like the part of the patch that parses the function declaration
> doesn't know about these particular float functions.

The functions in the patch do _not_ match the POV-Ray functions, they are a
separate implementation and certain functions simply do not exist.


     Thorsten


Post a reply to this message

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