|
![](/i/fill.gif) |
On 30 Aug 2000 18:51:43 -0400, Warp wrote:
>Ron Parker <ron### [at] povray org> 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
|
![](/i/fill.gif) |