0
$\begingroup$

I would like to select multiple object from a rectangle drawn with the mouse. But once unprojected, the rectangle become a trapeze.

These objects are on an inclined plane facing the camera.

The intersections between these objects and the inclined plane are discs.

I see how to do if it was a rectangle:

  1. Check if the centres of the objects are in the rectangle.

  2. Check for an intersection with the 4 edges of the rectangle and the objects. To select the objects that have their centre outside the rectangle, but intersect it.

But with a trapeze, I don't see how to do the point 1. and the point 2. is maybe more difficult.

So I wonder what is the best way to select theses objects?

$\endgroup$

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.