open-forest-observatory / geograypher

Multiview Semantic Reasoning with Geospatial Data
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Added texture for downsampled mesh using nearest neighbor search #120

Closed asidhu0 closed 6 days ago

asidhu0 commented 1 month ago

This pull request adds texture information to the downsampled meshes. It uses a KDTree to find the closest neighbor of a point in the downsampled mesh to a point in the original mesh. The active_scalars property of each point found is then transferred from the original mesh points to the downsampled mesh points. We use active_scalars because it represents physical qualities such as the color or temperature of the mesh.