POV-Ray : Newsgroups : povray.general : Bug in superellipsoid : Re: Bug in superellipsoid Server Time
9 Aug 2024 09:04:48 EDT (-0400)
  Re: Bug in superellipsoid  
From: J  Grimbert
Date: 11 Aug 2000 09:18:31
Message: <3993FD27.A5023FB5@atos-group.com>
Warp wrote:
> 
> J. Grimbert <jgr### [at] atos-groupcom> wrote:
> : But there is no such discontinuity for the superellipsoid.
> : It is bounded by a 2 unit sized box and should not escape it;
> 
>   Yes, the shape shouldn't have a discontinuity. But it depends on the formula.
> Do you know what function povray uses to calculate the superellipsoid.
> 

It does not matter. The bug is not in the superellipsoid formula, it
is in the 'bounding' box used before the formula (not THE pov bounding box).
It is a simple 6 sided box, and sometimes the computation of the
intersection of the ray with this box is bogus.
And the "sometimes" is limited when the two offending lines are
reach and do something (it happen, also sometime, that *dmin and *dmax
already have the value of tmin and tmax; In such lucky case, nobody
seen the bug, because these two lines do nothing!)


Post a reply to this message

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