Search found 4 matches

by hanham
Thu Aug 21, 2025 1:27 pm
Forum: Questions
Topic: Display .pcd files by adding bounding box to header?
Replies: 6
Views: 29774

Re: Display .pcd files by adding bounding box to header?

I believe I found the answer to the error. It seems that CC cannot open .pcd files where the points are saved as 'float64'.

This will not be visible in CC:

import open3d as o3d

pcd = o3d.t.geometry.PointCloud()
points = np.random.rand(100, 3).astype('float64') # (float64 is the default dtype)
pcd ...
by hanham
Thu Aug 21, 2025 11:40 am
Forum: Questions
Topic: Display .pcd files by adding bounding box to header?
Replies: 6
Views: 29774

Re: Display .pcd files by adding bounding box to header?

Absolutely, try pasting the pcd below into a file and name it e.g. "test.pcd" and then open it in CC. At least for me, no points are visible in CC.

# .PCD v0.7 - Point Cloud Data file format
VERSION 0.7
FIELDS x y z
SIZE 8 8 8
TYPE F F F
COUNT 1 1 1
WIDTH 100
HEIGHT 1
VIEWPOINT 0 0 0 1 0 0 0
POINTS ...
by hanham
Mon Jun 23, 2025 5:38 pm
Forum: Questions
Topic: Display .pcd files by adding bounding box to header?
Replies: 6
Views: 29774

Re: Display .pcd files by adding bounding box to header?

The coordinates are not the same if I look in the .pcd files and there are about 400 k points in each file, but perhaps something happens inside of CC that makes it seem to CC as if there is only one point or that they are in the same spot?

Here is a minimal working python example to recreate the ...
by hanham
Wed Jun 18, 2025 8:43 am
Forum: Questions
Topic: Display .pcd files by adding bounding box to header?
Replies: 6
Views: 29774

Display .pcd files by adding bounding box to header?

Hi!

I would like to display .pcd files in CloudCompare, however, they don't show up in the GUI as I get the following error:

"[ccGLWindow] Entity/DB has a null bounding-box! Can't zoom in..."

So, the question here is, is it possible to add a bounding box to my .pcd file, and if so, how? if it is ...