POV-Ray : Newsgroups : povray.off-topic : Bounding circle intersection : Re: Bounding circle intersection Server Time
5 Sep 2024 01:23:40 EDT (-0400)
  Re: Bounding circle intersection  
From: Invisible
Date: 11 Dec 2009 04:09:45
Message: <4b220c59$1@news.povray.org>
scott wrote:

> So let me understand this, you are constructing two circles, one around 
> the line and one around the triangle, then seeing the circles intersect, 
> and if they do proceeding to check if the line actually intersects the 
> triangle?
> 
> Wouldn't it be faster to just directly check the line against the triangle?

It would.

Now, if the circle encloses a few *thousand* triangles, it's probably 
way, way faster to check the circle first...


Post a reply to this message

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