|
![](/i/fill.gif) |
In article <40b24060@news.povray.org>, Warp <war### [at] tag povray org>
wrote:
> If you need all the intersections, wouldn't that slow down rendering
> of meshes?
No. You only need all the intersections if the mesh is transparent and
non-refracting, otherwise, just grab the first intersection, and if it
comes before the last intersection in the list, use it to terminate the
list. And in the case where all intersections are needed, finding all
intersections at once will still be faster than finding the first
intersection multiple times.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tag povray org>
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |