Simple tool for rendering point clouds with known normals and point sizes. Only works with point clouds that have position
and normal
attributes. Trajectories have to be in TUM Benchmark format.
git clone --recursive [email protected]:hesom/splat_renderer.git
cd splat_renderer
pip install .
from splat_renderer import render
try:
# only render every 25th camera position and point radius of 1cm
render('point_cloud.ply', 'trajectory.freiburg', 'output_dir', delta=25, pointSize=1e-2, method="ewa", surfaceThickness=0.1)
except Exception as e:
print(e)