Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCD color precision issue #117

Open
unitycoder opened this issue Jul 8, 2021 · 0 comments
Open

PCD color precision issue #117

unitycoder opened this issue Jul 8, 2021 · 0 comments
Labels

Comments

@unitycoder
Copy link
Owner

unitycoder commented Jul 8, 2021

some colors appear black, due to lost precision(?) in the PCD RGB parser:

// returns 0 for rgb *works in CloudCompare, fails in Three.js pcd loader
-0.653568 0.350478 0.502945 8.206463e-39
bin: 0100001100111000110011010110101001010010100101110000011000111000

// works fine
0.93773 0.33763 0 4.2108e+06
bin: 0000000000000000000000000000000000011100000100000101000001000001

current workaround

Convert PCD to another supported format (using CloudCompare or other external tools)

@unitycoder unitycoder added the bug label Jul 8, 2021
@unitycoder unitycoder changed the title PCD color precisions issue PCD color precision issue Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant