|
|
> Is there some function or quick method of determining whether or not an
> object blocks the line-of-sight between two points? The trace()
> function, on its own, is subject to false positives. For example:
>
> #declare Obstacle = torus { 3, 1 }
> #declare Pt1 = <-1, 0, 0>;
> #declare Pt2 = <1, 0, 0>;
> #declare Test = <0, 0, 0>;
> trace (Obstacle, Pt1, Pt2 - Pt1, Test)
>
> The torus does not block the line of sight between Pt1 and Pt2,
I think you'll find it does :-)
Post a reply to this message
|
|