atteneder / DracoUnity

Draco 3D Data Compression Unity Package
Apache License 2.0
247 stars 39 forks source link

Calculate correct Bounds #63

Closed atteneder closed 9 months ago

atteneder commented 1 year ago

Resulting meshes have invalid bounds currently.

This is not true for the Editor importer, since they are calculated in a post-step via mesh.RecalculateBounds();.

Users might run RecalculateBounds manually at runtime as well, but I'm wondering if doing bounds calculation during positional data extraction yields better performance.

atteneder commented 9 months ago

This is now fixed in Draco for Unity 5.0.0, the successor of this repository/package.