google / draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
https://google.github.io/draco/
Apache License 2.0
6.45k stars 961 forks source link

Distinct section for face attributes #801

Open neonglb opened 2 years ago

neonglb commented 2 years ago

Hi,

with the current specification it's a little inconvenient to encode face attribute values by adding 3 corners with equal attribute values for each particular face. Therefore, do you consider to define an own section for face attributes, accessible via FaceIndex (similar to how the attribute value mapping works with PointIndex)? Or does this somehow clash with the idea of draco?

ondys commented 2 years ago

It wouldn't really clash with the idea of draco and I agree it would be convenient. The main question would be if we could do this without changing the existing bitstream. We will think about it and see what can be done.