POV-Ray : Newsgroups : povray.unofficial.patches : Question about isosurface functions : Re: Question about isosurface functions Server Time
2 Sep 2024 12:18:32 EDT (-0400)
  Re: Question about isosurface functions  
From: Ron Parker
Date: 4 Jan 2000 15:07:02
Message: <387252e6@news.povray.org>
On Tue, 04 Jan 2000 11:30:40 -0700, Kevin Wampler wrote:
>I'm afraid that I can't help you with you question, but I have another
>similar question:
>
>Why does y-exp(-(x^2)-(z^2)) render the same as y-exp(-(x^2)-z^2) but
>differently from y-exp(-x^2-(z^2)) and y-exp(-x^2-z^2)?

Without looking at the code, it looks like it's using too high a priority 
for unary minus, so it's treating "-x^2" as "(-x)^2".  BTW, I suspect you'd
get better performance with the sqr() function.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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