speed up point cloud rendering
this is mostly caching some computations and using proper loop iterations
Merge pull request #738 from vrabaud/hydro-devel

speed up point cloud rendering