Hitachi-Automotive-And-Industry-Lab/semantic-segmentation-editor

big point clouds/performance issue

nullkatar opened this issue · 1 comments

Hello @dmandrioli!

Thanks a lot for you great job, the tool is really easy to use and very useful! I was trying to annotate really big point clouds which include ~10 million points and the tool was lagging dramatically while CPU and GPU utilization was really small. I want to ask if I can somehow get rid of this lags probably by configuring something in source code or anything? Smaller clouds is the last option which I would like to consider :(

I haven't tried 10 millions but I have made the following optimizations for point clouds with ~1 million points, so far working well (still a bit laggy on some lower spec computers but toleratable):

-rewritten point projecting with webassembly (https://gist.github.com/weimzh/95f3ef2f5f57dd94665e8bc81b3e32d2)
-replaced ES6 Map/Sets with bitmaps (https://gist.github.com/weimzh/d972c188a42f66816559c427881639e0) or arrays
-maybe others misc optimizations as well.

The results are also not saved int ascii pcd file but our internal binary format (again with webassembly).