-
Notifications
You must be signed in to change notification settings - Fork 15
How to Convert Point Cloud Files
mika edited this page Sep 2, 2020
·
3 revisions
(TODO add rest off the formats)
- 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
- Use commandline converter https://github.com/unitycoder/UnityPointCloudViewer/wiki/Commandline-Tools
- Or convert LAZ to LAS first with laz2txt https://rapidlasso.com/LAStools/ and then convert to V1 inside unity editor