Skip to content

How to Convert Point Cloud Files

mika edited this page Sep 2, 2020 · 3 revisions

(TODO add rest off the formats)

LAS (into V1 binary .bin format inside Unity Editor)

  • Copy your LAS file into Unity project, for example POINTCLOUDS/ folder
  • Open converter window from Unity menu: Window/PointCloudTools/PointCloud to binary (DX11)
  • Drag your LAS file into the PointCloud source file field
  • Select input file format from the dropdown: LAS
  • Adjust converter settings, usually need [x] Flip Y & Z enabled and [x] Auto-offset near 0,0,0. Scaling might be needed (to convert your point cloud into Unity meters scale)
  • Press Convert to Binary
  • Set output folder and file, usually Assets/StreamingAssets/ (if the folder doesnt exists, create it, it gets copied to your project Build data)
  • Then to view it, open example scene "PointCloud-BinaryLoaderV1.scene", set filename (to the one you just created, for example test.bin), hit play!
  • Or, you can use commandline converter to convert into V2 and V3 formats https://github.com/unitycoder/UnityPointCloudViewer/wiki/Commandline-Tools

LAZ (into v2 or v3 binary formats, outside Unity editor)