aardvark-platform / aardvark.algodat

Aardvark.Algodat contains advanced geometric and photometric data structures and algorithms. It is part of the open-source Aardvark Platform for visual computing, real-time graphics, and visualization.
https://aardvarkians.com/
GNU Affero General Public License v3.0
34 stars 6 forks source link

exact bounding box in octree nodes #1

Closed stefanmaierhofer closed 5 years ago

stefanmaierhofer commented 6 years ago

Storing the exact bounding box per node would

krauthaufen commented 6 years ago

when computing this I suggest that we also calculate some measure for the average point distance for the LOD data since it may help guiding the LOD decisions and quadratic runtime should not be too bad when only considering the LOD points... However we need to come up with a meaningful measure for that since the distance may be quite different depending on the camera's point of view.

krauthaufen commented 6 years ago

I figured that we actually want an average of the minimal distances to neighbours and just found some papers solving the All nearest neighbour problem in O(N * log N).

stefanmaierhofer commented 6 years ago

could you please reference the papers?

krauthaufen commented 6 years ago

Since we create KdTrees for points anyway it should be straight forward to query the closest point for all contained points. (obviously skipping the point itself) The papers are basically concerned with efficient creation of such a spatial structure. These closest points could also be useful for creating a triangulated representation of pointclouds at runtime. However I currently have no idea what would actually be needed for that. Something like: https://www.cg.tuwien.ac.at/research/publications/2012/TR-186-2-12-01/

stefanmaierhofer commented 5 years ago

done