Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashes to identify precomputed properties on a mesh #88

Open
hermannsblum opened this issue May 22, 2020 · 0 comments
Open

Hashes to identify precomputed properties on a mesh #88

hermannsblum opened this issue May 22, 2020 · 0 comments

Comments

@hermannsblum
Copy link
Collaborator

hermannsblum commented May 22, 2020

As originally discussed here:

To cache the computation of the map planes, a nice abstraction would be that you just always call this module in the same way and then check whether you have a stored result for the given mesh file or otherwise produce and store it. For a start, you can probably just identify a mesh by the number of vertices or so. An improvement would then be to take a hash of the mesh to have a good statistic whether something changed.

Originally posted by @hermannsblum in #86

By computing hashes over meshes, we can re-identify them and therefore load corresponding precomputations. As an approximation, we are using the number of vertices for now in the global localisation, but this is not really valid and should be changed before release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant