Skip to content

tex_coord data compression doesn't work #50

@Rouen007

Description

@Rouen007

I used the following two pieces of code to judge the encoding performance of tex_coord data:
binary1 = DracoPy.encode(pos_data, face_data, preserve_order=True)
binary2 = DracoPy.encode(pos_data, face_data, tex_coord=np.array(tex_data), preserve_order=True)

and tex_coord is list (29753 size) which is 29753 x 2 x 4 = 238024 Bytes

and I found that binary1's size is 245450 bytes and binary2's size is 483480 bytes. so I could have the conclusion that the tex_coord data of the whole data is 483480-245450=238030 Bytes

After encoding is capacity of tex_coord part is greater to the original part 6 Bytes, which is rather confusing. I' ve no idea why, could
you help me.

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