Skip to content

Conversation

@F-loat
Copy link
Contributor

@F-loat F-loat commented May 8, 2025

Related issue: Unable to properly parse the 8-bit size of the pcd coordinate information.

Description

Obtain the data type of the FIELDS field by combining SIZE and TYPE.

@Mugen87
Copy link
Collaborator

Mugen87 commented May 8, 2025

Do you mind sharing a PCD file that can't be loaded with the current implementation? In this way, we have a test asset so it's possible to verify your changes.

@F-loat
Copy link
Contributor Author

F-loat commented May 8, 2025

@Mugen87 I don't have a suitable pcd file for public use, but I can convert the previous Zaghetto to 8bit to verify it. What do you think?

before after
image image

@Mugen87
Copy link
Collaborator

Mugen87 commented May 8, 2025

That sounds good. However, I would not replace the existing asset. Just add an additional 8-bit version Zaghetto_8bit.pcd so we have both.

@Mugen87 Mugen87 added this to the r177 milestone May 8, 2025
@F-loat
Copy link
Contributor Author

F-loat commented May 8, 2025

@Mugen87 Yes, as you expected, I kept the original files.

@F-loat
Copy link
Contributor Author

F-loat commented May 8, 2025

And a file switching option is added to the example.

image

@Mugen87 Mugen87 merged commit 3a21dee into mrdoob:dev May 8, 2025
11 checks passed
@Mugen87 Mugen87 changed the title PCDLoader: implement binary PCD data type parsing PCDLoader: Implement data type dependent binary parsing. May 8, 2025
@F-loat F-loat deleted the feat/pcd-view-reader branch May 8, 2025 15:12
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* feat: implement binary PCD data type parsing

* chore: code format

* chore: add verification file

* chore: add file select widget

* fix: destroy gui
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* feat: implement binary PCD data type parsing

* chore: code format

* chore: add verification file

* chore: add file select widget

* fix: destroy gui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants