Skip to content

PCD color precision issue #117

Open
Open
@unitycoder

Description

@unitycoder

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions