POV-Ray : Newsgroups : povray.binaries.images : An artifact when rendering torus(negative major_r) : Re: An artifact when rendering torus(negative major_r) Server Time
17 May 2024 17:07:44 EDT (-0400)
  Re: An artifact when rendering torus(negative major_r)  
From: clipka
Date: 9 Apr 2015 15:01:04
Message: <5526cc70$1@news.povray.org>
Am 09.04.2015 um 18:17 schrieb clipka:

> Yes, this certainly is a bug. I haven't looked at the code yet, but
> judging from the effect I would assume that the surface normal at a
> given intersection point is computed as the (normalized) vector from the
> closest point on the "centroid circle" to the surface point; obviously
> this breaks down for the inner spindle of a spindle torus.

And that's exactly what's happening.

I've just submitted a fix to GitHub 
(https://github.com/POV-Ray/povray/commit/c3551f249c89ffc817a4deb2acea0412a0b9913f).


Post a reply to this message

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