If you want to show photogrammetric pointclouds of buildings potree db&algorithm is pretty good and if you don’t like the library for some reason it’s pretty easy to reimplement (potree.org).
You just dump the pointcloud to a hierarchical octree and at viewer end just download the nodes in your frusttum and voila.
There are other approaches but this wins hands down on usability/simplicity.
Im quite familiar with potree and a big fan .. having hacked some of the internals and added features to my own custom version - so people can share annotations, measurements, save to cloud or export linework .. without writing code/custom html.
Also added code to import e57 cube panoramas ..
Still, I think if one can use ML to simplify a pointcloud or fine mesh .. then the data is much smaller and cleaner, easier to import to existing CAD tools etc.
You just dump the pointcloud to a hierarchical octree and at viewer end just download the nodes in your frusttum and voila.
There are other approaches but this wins hands down on usability/simplicity.