POV-Ray : Newsgroups : povray.advanced-users : Square roots of negative numbers in isosurfaces? : Re: Square roots of negative numbers in isosurfaces? Server Time
30 Jul 2024 12:19:51 EDT (-0400)
  Re: Square roots of negative numbers in isosurfaces?  
From: Chris Huff
Date: 14 Jan 2000 17:21:35
Message: <chrishuff_99-19A28A.17215614012000@news.povray.org>
In article <387F9E1B.F3DF1811@my-dejanews.com>, 
gre### [at] my-dejanewscom wrote:

> But the point is that pov is doing SOMETHING.  If it finds a definite
> isosurface for a mathematically undefined region of space, then povray is 
> in reality not computing the given function, but converting it to some 
> defined
> function. Or there is an error in how it has defined some functions.

But if it stops when it attempts to sample at an undefined spot, there 
could be defined areas that would be missed or rendered incorrectly.

Maybe there should be a "strict_math" option. If strict_math is on, then 
it will perform the solving operation as it usually does, and then test 
the function at that point using standard math to see if it is defined 
at that point. If it is defined, then count it as an intersection, 
otherwise skip it. That way, the undefined areas would be removed(by a 
kind of customized clipping). And older isosurfaces would still work 
properly, either with the addition of "strict_math off" or by having 
strict_math default to off.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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