google / google/draco

How to preserve sub objects unity ?

Open
#924 1 comment 0 reactions 1 assignee Claimed by @ondys View on GitHub
question
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

Hey,

I'm using metadata in my .obj file with "o object name" to separate different objets in the mesh. The thing is that when I use draco for compression and decompression, I can still have my sub objects but they are totally splitted as this :

o object1
. . .
. . .
o object2
. . .
o object1
. . .

I understand that not using the sequential encoding, I'm not preserving the faces order but as my sub objects are separated, I don't understand why draco won't compress every faces of my first sub object which should be linked together before moving on the second object.

Is there a way to keep every faces of a sub object together ?

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.