POV-Ray : Newsgroups : povray.programming : [RFC] Little isosurface patch ? : Re: [RFC] Little isosurface patch ? Server Time
3 Jul 2024 05:57:42 EDT (-0400)
  Re: [RFC] Little isosurface patch ?  
From: Thorsten Froehlich
Date: 27 Feb 2004 09:35:26
Message: <403f55ae$1@news.povray.org>
In article <403f5224@news.povray.org> , Wolfgang Wieser <wwi### [at] gmxde>  
wrote:

> The 1e-14 is just there to prevent a division by zero in
> case the isosurface has zero gradient (along the ray) at the
> intersection. Maybe we can even use smaller values.

You really don't want an unnecessary division is such heavily used code.
Doesn't "len" provide you with all you need?

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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