Point Cloud in Unity

I am using Unity integration of Oculus Rift DK2 to build a VR application. I am also using leapmotion sensor to understand the surroundings better and convert VR to AR.

The problem that I am trying to solve right now is to understand the relative position of an object in 3D world. I have a 3D model of an object(as point cloud data) and I am able to get a part of that point cloud data using leap motion sensor(in a different coordinate sytem). My task is to overlap the complete model onto the partially visible model that I can scan using leap motion.

But I am facing a lot of troubles.

  1. How do I import a point cloud in Unity? I have the x,y,z values stored in a .txt file but can’t understand what to do with it.
  2. How can I visualise this point cloud data that I am importing?
  3. (Advanced) How do I overlay this point cloud data on some other texture that I am displaying(currently using a webcam texture)?

The most lightweight solution will be converting all those value into mesh(in points format) with shader.

it’s 2020 now, there is a tool called FM POINTS in asset store.

asset store: http://u3d.as/1uHj