Hi there,
I was wondering if someone could point me in the right direction. This is probably not strictly a GL style of issue so my apologies in advance, but I will be programming the solution in GL.
I have a number of rectangles and wish to avoid having them occlude each other. A friend suggested a magnet style of effect where a rectangle is effectively attracted to a point but repelled by other rectangles in the vicinity. Happy to consider other techniques though. The end goal is just to space out rectangles so that they don't overlap each other (or do so at a minimum), but have some relationship with the point they've been associated with.
My application shows flight paths and I'm labelling these paths with a flight number. With many flight paths, I have flight numbers overlapping each other.
Thanks for any help.
Cheers,
-C