POV-Ray : Newsgroups : povray.bugreports : inside() is unreliable on lathe : Re: inside() is unreliable on lathe Server Time
9 May 2025 14:56:43 EDT (-0400)
  Re: inside() is unreliable on lathe  
From: William F Pokorny
Date: 3 May 2025 19:09:34
Message: <6816a22e$1@news.povray.org>
On 5/3/25 18:49, William F Pokorny wrote:
> I think you are likely hitting a numerical limitation.

A couple minutes after hitting send I had the thought that maybe it is a 
root count thing. If the inside test is getting done by shooting a ray 
say in +x say, the number or roots might be collapsing to 1 where the 
ray just skims the upper lip of the glass...

A tiny rotation might well fix that sort of numerical issues too for 
coordinates near the axis of rotation - but in reality it would probably 
just move the problem regions around...

Bill P.

Aside: Inside tests with isosurfaces are more stable than many other 
shape types. Values at any location in space are either < threshold or 
not. There are no surface transit counting vagaries.


Post a reply to this message

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