Skip to content

V3 Tiles Format

mika edited this page Nov 16, 2019 · 20 revisions

Instructions

Using BinaryConverter to create V3 tiles

  • Open converter at Window/PointCloudTools/PointCloudToBinary(DX11)
  • Assign your pointcloud file (NOTE: LAS and BREKEL are not supported)
  • Enable [x] Use V3 .pcroot format
  • Set cell minimum pointcount (if cell tile has less points, it will be completely removed. Good for removing stray points)
  • Set cell grid size (your cloud will be split into tiles of this size)
  • Click convert and give the output folder in the safe dialog
  • From console output you can see the root file location
  • image

Viewer

  • To view cloud, use that in your PointCloudViewerDX11:
  • image
  • (if your output folder is inside StreamingAssets/ you dont need to use full path)
  • Adjust these settings to get more optized view
  • StartDist = Tiles that are below this distance, will be drawn with all the points
  • EndDist = Tiles that are outside this distance, will be culled (hidden)
  • Any tiles between those distance will be linearly optimized (so at halfway distance, it would display 50% of the points)

TIPS

  • Output your v3 tiles into separate folder under StreamingAssets/ with a DOT in the folder name, for example .tiles/ .anything/ (this will avoid Unity from importing those files, which can be slow with hundreds of files!)

KNOWN ISSUES

  • Limitation: Editor converter doesnt support LAS format for v3 conversion (use commandline LAS/LAZ tool instead)
  • FrameRate: Loading the v3 cloud index happens in the main thread, causing some framerate issue while its parsed. (this is moved into separate thread in the next update)
  • Issue: While v3 cloud is loading, not all tiles appear after they have loaded, until whole cloud has finished loading, where culling information gets force refreshed. (This is due to culling information not updating unless the tile goes outside-and-back to view)

API

PointCloudViewerTilesDX11:

  • public Bounds GetBounds() : returns whole cloud bounds
  • public Vector3 GetOffset() : returns offset used in converter (value before scaling)
  • public int GetTotalPointCount() : returns total pointcount for the whole cloud

Converter Window

image

FAQ

  • Some tiles are missing?
    • They are probably filtered out. In the converter, increase your grid size or reduce minimum point count.