POV-Ray : Newsgroups : povray.general : torus "bug"? : Re: torus "bug"? Server Time
2 Jul 2024 08:56:38 EDT (-0400)
  Re: torus "bug"?  
From: Gerald K  Dobiasovsky
Date: 17 Oct 1999 03:38:01
Message: <38097cd9@news.povray.org>
Larry Fontaine <lfo### [at] isdnet> wrote:
> If you have a torus with minor>major, you get a big ugly hole chopped
> out of the center. Shouldn't it just be like a torus without a hole,
> like a red blood cell sort of thing?
>

It should.

A torus created by a "quartic"-statement renders ok.

Since "torus" uses the same polynomial root solver, the problem
probably lies in the intersection calculation of the bounding volume.

(I had no time to take a peek at the source, but the docs say a cylindrical
ring is used; maybe the author of the code forgot to make provisions for
the case of minor > major.)

Gerald


Post a reply to this message

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