POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface & float functions : Re: Isosurface & float functions Server Time
2 Sep 2024 20:18:52 EDT (-0400)
  Re: Isosurface & float functions  
From: TonyB
Date: 16 Jul 1999 07:42:28
Message: <378F0C7B.7813D5B7@panama.phoenix.net>
Ever hear of x^0.5?

Gilles Tran 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.
>
> Many thanks
>
> Gilles

--
Anthony L. Bennett
http://welcome.to/TonyB

Graphics rendered
by the Dreamachine.


Post a reply to this message

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