added code for rending point clouds.