POV-Ray : Newsgroups : povray.advanced-users : Solve edge case: is point inside/on object : Re: Solve edge case: is point inside/on object Server Time
20 Apr 2024 08:28:11 EDT (-0400)
  Re: Solve edge case: is point inside/on object  
From: jr
Date: 26 Dec 2018 09:00:01
Message: <web.5c23888fb6169bfa48892b50@news.povray.org>
hi,

ingo <ing### [at] tagpovrayorg> wrote:
> I'm looking for a solution that is 100% safe in detecting whether a point
> is outside an object. I want to count exactly on the surface as inside.

I probably completely misunderstood, or you will have have considered and
discarded the following already:

to see whether the red sphere is outside, when/where you get the NP on the
surface, slide the sphere along the perpendicular (to surface) by a small amount
and retest.  what have I overlooked?


regards, jr.


Post a reply to this message

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