POV-Ray : Newsgroups : povray.unofficial.patches : csg error with megapov's solid mesh? : Re: csg error with megapov's solid mesh? Server Time
2 Sep 2024 06:17:15 EDT (-0400)
  Re: csg error with megapov's solid mesh?  
From: Ron Parker
Date: 30 Aug 2000 23:23:20
Message: <slrn8qrkmk.289.ron.parker@fwi.com>
On 30 Aug 2000 18:51:43 -0400, Warp wrote:
>Ron Parker <ron### [at] povrayorg> wrote:
>: For a closed mesh surface, fire a ray from outside the bounding box and check
>: the normal.
>
>  And hope that the ray hits the mesh? If it doesn't, shoot another ray? What
>if after shooting 100 rays you still haven't hit the mesh? :)

No, fire it at a known triangle.  Determine the normal by which triangle it hit 
first, rather than the triangle you fired it at.

>  I was thinking about how to make sure that the mesh really is closed. I think
>that it's enough to check that every triangle has three and only three
>adjacent triangles.

That's what I'd think.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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