gleue / TGLAugmentedRealityView

Augmented Reality made easy -- place overlays on a camera preview and adjust their position depending on device attitude.
MIT License
127 stars 28 forks source link

Clusters #2

Open brightsider opened 8 years ago

brightsider commented 8 years ago

Can you help with creating a cluster for points that intersect? How check points are intersect?

gleue commented 8 years ago

Do you mean POIs that are so close together, that they should be represented by one overlay?

brightsider commented 8 years ago

@gleue yes.

gleue commented 8 years ago

Hm, first guess:

Project POIs' anchor points using modelview and projection matrix and compute distances. Then determine which POIs should go together. But that might be too expensive when there are a lot of POIs.