unitycoder / UnityPointCloudViewer

Point Cloud Viewer and Tools for Unity
https://assetstore.unity.com/packages/tools/utilities/point-cloud-viewer-and-tools-16019?aid=1101lGti
128 stars 15 forks source link

pointcloud manager/pointcloudviewerdx11: slicing issue and bounds not updated if set new point data #130

Open unitycoder opened 2 years ago

unitycoder commented 2 years ago

one report about, pointcloud manager sometimes failing on the slicing (and missing bounds if set new data at UpdatePointData())

PointCloudManager.cs from line 126 Adding Mathf.Floor and Ceil to the min and max values. This is required as SX etc at line 254 are ints. BoxIndex was returning larger than array size. PointCloudViewerDS11.cs UpdatePointData() Need to find and set cloudBounds.