Skip to content

Encoder fails for double or float64 ply vertex properties #360

Description

@ataber

Hello,

I am trying to compress the following PLY file with the CLI encoder on latest master:

ply
format ascii 1.0
element vertex 8
property float64 x
property float64 y
property float64 z
element material 0
element face 12
property list uint8 int32 vertex_indices
end_header
0 0 0 
10 0 0 
10 0 30 
0 0 30 
10 20 0 
10 20 30 
0 20 0 
0 20 30 
3 0 1 2 
3 0 2 3 
3 1 4 5 
3 1 5 2 
3 4 6 7 
3 4 7 5 
3 6 0 3 
3 6 3 7 
3 1 0 6 
3 6 4 1 
3 2 7 3 
3 7 2 5 

but I get the following error: Failed loading the input mesh: Unknown error..

When I change the x, y, and z attributes to be float or float32, the encoding succeeds, but it fails when they are either float64 or double. Am I missing something obvious? The encoder does support doubles right? Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions