You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm trying to use the point-cloud-octree-picker, but I am having several problems in doing it. With the latest commit, when i hit the point cloud it returns a NaN. I checked the code and it seems that the hit.pIndex does not find the respective position attribute index in the PointCloudOctree.
I already tried switching back to this method of acessing
const x = values.array[3 * hit.pIndex];
const y = values.array[3 * hit.pIndex + 1];
const z = values.array[3 * hit.pIndex + 2];
point.position = new Vector3(x, y, z).applyMatrix4(points.matrixWorld);
I have tried to reverse the code, however the pickpoint does not work properly. Any idea how I can use this feature?
The text was updated successfully, but these errors were encountered:
@ketourneau I had to stop using the library, I tried to fix the code and had no success. Decided to use the pnext/three-loader in our project, even tho we had to downgrade the potree converter version.
Hi! I'm trying to use the point-cloud-octree-picker, but I am having several problems in doing it. With the latest commit, when i hit the point cloud it returns a NaN. I checked the code and it seems that the hit.pIndex does not find the respective position attribute index in the PointCloudOctree.
I already tried switching back to this method of acessing
const x = values.array[3 * hit.pIndex];
const y = values.array[3 * hit.pIndex + 1];
const z = values.array[3 * hit.pIndex + 2];
I have tried to reverse the code, however the pickpoint does not work properly. Any idea how I can use this feature?
The text was updated successfully, but these errors were encountered: