-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
The Draco-compressed version of the VirtualCity may be invalid:
- The mesh with index
15refers to accessor202as itsindices - The accessor with index
202contains amax: [ 228 ] - The mesh refers to the accessor with index
203as itsNORMAL - The accessor with index
203(just below the indices) claims acountof140- meaning that some indices will be out of bounds for that
For comparison: In the glTF version (default, uncompressed):
- The mesh with index 15 refers to accessor
88as itsindices - The accessor with index
88contains the samemax: [ 228 ] - The mesh refers to the accessor with index
89as itsNORMAL - But the accessor with index
89(just below the indices) has acountof229- just right for the maximum index of228
Maybe I'm overlooking something in the Draco spec - something that claims that the count may be that of the compressed/reordered data or something. The Conformance section claims that a loader must ignore the data of the accessor, and use the Draco-decoded data instead - but I think that this does not imply that the count of these accessors may be wrong.
There probably aren't many people who can quickly give a π or π on whether this is really invalid. But I hope that it's OK to tag @lexaknyazev here...
EDIT: Mistyped "accessor" as "buffer view" in some places...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels