POV-Ray : Newsgroups : povray.general : Possible bounding bug found. : Re: Possible bounding bug found. Server Time
10 Aug 2024 09:17:02 EDT (-0400)
  Re: Possible bounding bug found.  
From: Ken
Date: 25 Jan 2000 07:23:17
Message: <388D94F9.23CFB1B7@pacbell.net>
"Y.Tanabe" wrote:
> 
> Mac Mega Pov-Ray 3.0(MPW MrC version) can see two yellow spheres.
> See this old bugreport.
> Y.Tanabe
> Kobe,Japan

> Obviously, making the radius negative is a bad thing.
> Here's the fix, in the function Scale_Sphere in spheres.c:
>    if(Sphere->Trans == NULL)
>    {
>       VScaleEq(Sphere->Center, Vector[X]);
> -     Sphere->Radius *= Vector[X];
> +     Sphere->Radius *= fabs(Vector[X]);
>       Compute_Sphere_BBox(Sphere);
>    }

Yep that is the one and thanks for pointing that out to me. Since it
is already on record there is no reason to report it again.

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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