I have several sensors attached to a vehicle. Every sensor is checked for blind spots on the ground.
To do this, every sensor generates a procedural mesh (with a variable shape, depending on the kind of sensor) on the ground out of the intersections of ray traces coming from the sensor cone hitting the ground, which is then scanned by ray traces, to find out which parts of the procedural mesh can actually be seen by the sensor, or are perhaps behind a machine part of the vehicle and thus not visible.
Now what I want to do is: check if any procedural meshes are overlapping each other, and if so, color the overlapping regions yellow.
For now I only found a method to approximate the Procedural Meshes by rectangles and generate a rectangle over the overlapping meshes , but this does not satisfy the needs. Do you have any idea on how to find the exact outlines of two irregular (but convex) shapes and generate a new procedural mesh out of the outlining points?
Thanks a lot in advance!