Hi,
I want to find the vectors that are not intersected with the objects from an observation point.But,
RayBounce.ByOriginDirection node only shows the intersection points and intersected elements. When points output list’s sublist has one element that means there is uninstersected ray and the observation point is shown in sublist, and if the a ray intersected with an element sublist includes 2 points which one is observation point and the other is intersection point.
That is why, I have used RayBounce.ByOriginDirection node and found out the intersected rays using the code block “a=List.FilterByBoolMask(lst,Count(lst<1>)==2)[“in”];” and also found out the number of unintersected rays using the code block “a=List.FilterByBoolMask(lst,Count(lst<1>)==1)[“in”];”
but couldn’t find the unintersected rays’ direction since it only gave the observation point. Could you give me an idea to find unintersected rays’ direction?
Finding the directions of intersected lines and then finding the difference from all directions list using List.SetDifference node is inefficient since vectors are not created with the same x,y, and z values.
Thanks in advance.
Ece
[image]