How to Import COLMAP Data (points3D.txt) into Unity with Accurate and Fixed Coordinates?

Hi everyone,

I’m currently working on a project using COLMAP for 3D reconstruction, and I’ve exported the following files:

  • points3D.txt: Contains 3D points with their spatial coordinates and other attributes.
  • cameras.txt, images.txt: Provide information about camera positions, orientations, and related data.

I need to import the 3D points from points3D.txt into Unity and display them in the scene with the following requirements:

  1. Accurate coordinates: The 3D points should appear at their exact positions as defined in the original file.
  2. Appropriate scaling: The points should be scaled properly to fit the Unity environment.

Has anyone worked on importing COLMAP data into Unity before? Are there any example scripts or workflows that I can refer to?

I would greatly appreciate any detailed guidance, example scripts, or useful references from those who have experience with similar workflows.

Thank you very much for your help!

Try widening your search to “point cloud rendering”. There are several assets in the store and on Github. Most likely they’ll tell you upfront which pointcloud file formats they can load.

Thank you so much!