|
|
On Tue, 23 May 2000 09:02:36 -0400, david sharp wrote:
>
>Matthew Bennett <ben### [at] btinternetcom>
>> "david sharp" <dsh### [at] interportnet> wrote
>>
>> > In function{}'s it is 'ln' instead of 'log'
>>
>> Isn't that to base e rather than base 10 though?
>>
>
>In the isosurface patch ln is actually log base 10.
>or, actually, ln(x) = log_10(abs(x)) .
I don't see that in the superpatch 3.1g code (I don't have MegaPOV code
handy on this machine.) Specifically, it says
LOG( ABS( *calc_stack_top ))
where LOG is defined in isofunc.h as 'log'. A quick 'man log' shows
that 'log' is the C function for natural logarithm, and 'log10' is the
base-10 logarithm.
If that's different in MegaPOV, it should probably be put back.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
These are my opinions. I do NOT speak for the POV-Team.
Post a reply to this message
|
|