PCDLoader doesn't work on my .pcd file

const points = useLoader(PCDLoader, url) 
<primitive object={points} />

Gives me empty canvas, no errors!

some context on .pcd file >>

original file was .LAZ from PIX4D
.pcd file which created from PDAL v2
renders in viewer just a black screen. Viewer I used : pcl-pcl-1.12.1/pcl_viewer (Working on Ubunty 20.04)

I see this error when viewer is running:
[fromHandlersToScreen] PointCloud </home/ajit/Downloads/point_clouds/low_quality.pcd-0> requested with an invalid geometry handler (PointCloudGeometryHandlerXYZ)!
[updateColorHandlerIndex] PointCloud with id </home/ajit/Downloads/point_clouds/low_quality.pcd-0> doesn’t exist!

Failed to load on this example as well, three.js examples

Points_Object.json (1.3 KB)

if the official example doesn’t load this would best be a github issue on threejs.

@drcmda I appreciate your response here but please do not redirect users prematurely to GitHub. The OP should share its PCD file first so it’s clear if there is actually an issue in PCDLoader.

I appreciate your response here but please do not redirect users prematurely to GitHub. The OP should share its PCD file first so it’s clear if there is actually an issue in PCDLoader .

it’s because they said this:

this example as well, three.js examples

if the official example is broken it’s most likely a bigger issue, but no problem. it would have made more sense imo to open with that alone, also the easiest to profile since the pcd is open source.

Works for me in all browsers on Win 10 (Chrome, FF, Opera, Edge)

Any suggestion how should i create .pcd from .las ? I cannot share my file [ NDA ]