nmwsharp / polyscope

A C++ & Python viewer for 3D data like meshes and point clouds
https://polyscope.run
MIT License
1.83k stars 203 forks source link

Count Quantities disappeared? #258

Open mheistermann opened 9 months ago

mheistermann commented 9 months ago

Count Quantities are still in the documentation, but it appears the code has been removed in commit 6242ba48ee0a86ad01dea2d9e2c1c902cc649a49.

Is there a replacement for its functionality, e.g., sparse scalar quantities?

nmwsharp commented 8 months ago

Whoops, you are correct. Thank you for pointing out that the docs are wrong!

There were some underlying bugs with the way the count quantities were implemented, and they seemed to be rarely used, so I removed them in a recent updates. They sure are useful for representing singularities though :)

A more general SparseScalarQuantity would be perfect! I'll stick this on the TODO list, but I can't promise when I'll get to it. I would also be happy to take a PR for this!

nmwsharp commented 8 months ago

Removed from the docs as of nmwsharp/polyscope-docs@81e5fdd7bb2b91d1a5267a159882fbb862535bba , will be updated in the website on the next rebuild