-
Notifications
You must be signed in to change notification settings - Fork 15
PointCloud2Binary
mika edited this page Nov 3, 2019
·
4 revisions
- Point Cloud input file that you want to convert into binary point cloud
- Filename & size is displayed under this field
- New: Click "Show Header" button to print few lines from the file (this is useful for checking what data it contains, and what scale the point data looks like)
- You have to manually select correct import format
- Read RGB values : Reads color data (if included in the file and if supported in selected import format)
- Note: V2 and V3 formats require RGB data (otherwise cloud is black or might not load)
- Read INT/REF : Only visible for .PTS. Allows reading intensity or reflectivity value. This can be useful with gradient shader to map that intensity into color range.
- Additional 0-255 toggle appears, if enabled, intensity range is expected to be in 0-255 range. Otherwise -2048 to 2047 is expected.
- Scale values : multiplies XYZ values with given value (used for scaling points into meters)
- Flip Y & Z values : In Unity Y is UP, so need to swap the values
- Auto-offset near 0,0,0 : If the first row of your data is for example “10.1192 5.2643 0.5481”, then we’ll use that as an offset value, first point location becomes: X-10.1192=0, Y-5.2643=0, Z-0.5481=0 and later points will have this same offset subtracted from XYZ data, so the cloud will be nearer to 0,0,0 position in scene
- Add Manual Offset : You can also add manual offset, that value is subtracted from XYZ data
- Randomize points : Randomizes point order, to use dynamic resolution (this is always enabled for V3, optional for V2)
- Load Limited Amount : Reads only this many points. Good for testing your import settings and scaling, before loading large cloud
- Use V2 .ucpc format : Saves into V2 format, it loads faster than V1 .bin
- Use V3 .pcroot format : Saves into V3 format, this is special tiled+lod format for large clouds
- Cell minimum point count : Skip tiles that has less than this amount of points, good for cleaning up stray points, improves performance (V3 only)
- Grid Cell Size : V3 Format splits cloud into tiles of this size. If you have large outdoor scan, this might need to go up to 30 (meters), for smaller areas few meters can be good value. If you set this value too small for large cloud, you get too many tiles. (V3 only)
- Convert to Binary button : Opens output dialog (to specify filename and path)